6ee3896319
* site: tree-select route * refactor(internal-selection): remove useless remote prop & on-delete-last-option * refactor(dropdown, popselect): set slots stable mark from true to 1 * fix(scrollbar): attributes applied multiple times * wip(tree-select): add exports * fix(tree): misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop * feat(tree): support keyboard operations * feat(tree): scroll with keyboard target node * fix(tree): `selected-keys` prop influences original array * feat(tree): pending on selected node at first * feat(tree): follow tree-select's pending status * feat(tree): `internalCheckboxFocusable` prop * refactor(tree): split treeMate to displayTreeMate & dataTreeMate to work with tree-select * fix(tree): scrollbar won't sync in virtual scroll mode * feat(tree-select) * docs: changelog * docs(tree-select) * feat(tree-select): stricter type * fix: typo * fix(select): input blinks in filterable mode when click at menu and input has value * fix(tree): multiple line style * docs(tree-select) * refactor(tree-select): disable tree expand animation on tree select * feat(tree-select): change expanded keys on filter * chore(tree): add comment about animation * chore * feat(tree-select): close on single select * fix(base-selection): input has useless empty row in multiple filterable mode * docs(tree-select): add clearable in filterable demo |
||
---|---|---|
.github | ||
.husky | ||
build | ||
demo | ||
design-notes | ||
playground | ||
scripts | ||
src | ||
themes/tusimple | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
babel.config.js | ||
CHANGELOG.en-US.md | ||
CHANGELOG.zh-CN.md | ||
CONTRIBUTING.md | ||
index.html | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
postcss.config.js | ||
README.md | ||
README.zh-CN.md | ||
tsconfig.cjs.json | ||
tsconfig.esm.json | ||
tsconfig.json | ||
vite.config.js | ||
vue3.md |
Naive UI
A Vue 3 Component Library
Fairly Complete, Customizable Themes, Uses TypeScript, Not too Slow
Kinda Interesting
English | 中文
Documentation
Community
- Discord
- DingTalk Group 33482509
Features
Fairly Complete
There are more than 70 components. Hope they can help you write less code.
What's more, they are all treeshakable.
Customizable Themes
We provide an advanced type safe theme system built using TypeScript. All you need is to provide a theme overrides object in JS. Then all the stuff will be done by us.
What's more, no less/sass/css variables, no webpack loaders are required.
Uses TypeScript
All the stuff in Naive UI is written in TypeScript. It can work with your typescript project seamlessly.
What's more, you don't need to import any CSS to use the components.
Not too Slow
I try to make it not rather slow. At least select, tree, transfer, table and cascader work with virtual list.
What's more, ..., no more. Just enjoy it.
Installation
npm
Use npm to install.
npm i -D naive-ui
Fonts
npm i -D vfonts
Icons
Naive UI recommends using xicons as icon library.
Design Resources
Working in progress.
Contributing
Please see CONTRIBUTING.md.
License
Naive UI is licensed under the MIT license.
Graphics resouces of result
component is licensed under the CC-BY 4.0. The graphics resources come from Twemoji.