Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
想单独使用vue3 相关弹框类组件(tooltip,dropdown, menu, context,modal,confirm),不想引入一整个组件库,可以使用本组件库,本组件库准备做小而美的关于弹出层 vue3 组件库。
Today-UI 样式按 Fluent Design 实现的,Fluent Design 是微软出的设计规范,更适合桌面应用开发。
主要依赖 @floating-ui/vue。@floating-ui/vue 主要是对 @floating-ui/dom 的一个封装,@floating-ui/dom 是一个很好用的浮动元素的库,官方实现了 @floating-ui/react-dom。
[-] 第一个组件tooltip ,测试发包。
[-] 组件dropdown ,测试发包。
[-] 组件 file-tree ,测试发包。
[x] 完善组件和样式
[x] 添加测试用例
[x] 发布正式版
# npm
npm install today-ui
# yarn
yarn add today-ui
# pnpm
pnpm add today-ui
import TodayUI from 'today-ui';
const app = createApp(App)
app.use(TodayUI);
<template>
<div>
<h2>component tooltip</h2>
<t-tooltip :offset="20" label="这是tooltip 的内容">
<button>test button</button>
</t-tooltip>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
setup() {
return {}
}
})
</script>
感兴趣的小伙伴,可以一块共同开发,或有什么想法,欢迎提issue
FAQs
dropdown menu toolptip powered by vue3, floating-ui
We found that today-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.