naive-ui/README.md

85 lines
2.3 KiB
Markdown
Raw Normal View History

2019-10-20 10:44:12 +08:00
<p align="center">
2019-10-28 12:38:59 +08:00
<img width="144px" src="https://naiveui.oss-cn-hongkong.aliyuncs.com/naivelogo.svg" />
2019-10-20 10:44:12 +08:00
</p>
2019-10-20 11:02:37 +08:00
<h1 align="center">Naive UI</h1>
2021-05-25 13:21:43 +08:00
<p align="center">A Vue 3 Component Library</p>
2022-04-11 01:20:13 +08:00
<p align="center"><b>Fairly Complete, Theme Customizable, Uses TypeScript, Fast</b></p>
2021-06-03 12:26:41 +08:00
<p align="center">Kinda Interesting</p>
2019-10-20 11:03:43 +08:00
2021-04-19 21:54:16 +08:00
<p align="center">English | <a href="README.zh-CN.md">中文</a></p>
2019-07-10 11:42:46 +08:00
## Documentation
2021-04-19 21:47:29 +08:00
2021-06-05 00:28:31 +08:00
[www.naiveui.com](http://www.naiveui.com)
2020-03-02 22:41:52 +08:00
## Community
- [Discord](https://discord.gg/Pqv7Mev5Dd)
2021-09-28 00:14:38 +08:00
- DingTalk Group 1 (Member limit reached) 33482509
2022-03-30 21:37:39 +08:00
- DingTalk Group 2 (Member limit reached) 35886835
2022-09-24 22:51:23 +08:00
- DingTalk Group 3 (Member limit reached) 32377370
2023-05-10 00:08:26 +08:00
- DingTalk Group 4 (Member limit reached) 8165002788
- DingTalk Group 5 31205022250
2021-07-20 16:32:09 +08:00
- [Awesome Naive UI](https://github.com/naive-ui/awesome-naive)
2020-03-02 23:24:44 +08:00
## Features
2021-04-19 21:47:29 +08:00
2021-06-03 12:26:41 +08:00
### Fairly Complete
2021-04-19 21:47:29 +08:00
2022-01-09 02:51:42 +08:00
There are more than 80 components. Hope they can help you write less code.
2021-04-19 21:47:29 +08:00
What's more, they are all treeshakable.
2022-04-11 01:20:13 +08:00
### Theme Customizable
2021-04-19 21:47:29 +08:00
2021-06-10 23:09:18 +08:00
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.
2021-04-19 21:47:29 +08:00
What's more, no less/sass/css variables, no webpack loaders are required.
### Uses TypeScript
2021-04-19 21:47:29 +08:00
2021-06-10 23:09:18 +08:00
All the stuff in Naive UI is written in TypeScript. It can work with your typescript project seamlessly.
2021-04-19 21:47:29 +08:00
What's more, you don't need to import any CSS to use the components.
2022-04-11 01:20:13 +08:00
### Fast
2021-04-19 21:47:29 +08:00
2021-05-17 15:52:00 +08:00
I try to make it not rather slow. At least select, tree, transfer, table and cascader work with virtual list.
2021-04-19 21:47:29 +08:00
What's more, ..., no more. Just enjoy it.
2020-03-02 23:24:44 +08:00
2021-04-19 21:56:19 +08:00
## Installation
### npm
Use npm to install.
```bash
npm i -D naive-ui
```
### Fonts
```bash
npm i -D vfonts
```
### Icons
2021-06-05 09:18:38 +08:00
Naive UI recommends using [xicons](https://www.xicons.org) as icon library.
2021-04-19 21:56:19 +08:00
### Design Resources
[Naive UI (Sketch)](https://naive-ui.oss-accelerate.aliyuncs.com/NaiveUI-Design-Library-en-US.sketch).
2021-04-19 21:56:19 +08:00
2021-06-05 23:24:07 +08:00
## Contributing
2022-10-06 12:23:28 +08:00
Please see [CONTRIBUTING.md](https://github.com/tusen-ai/naive-ui/blob/main/CONTRIBUTING.md).
2021-06-05 23:24:07 +08:00
2020-03-02 22:41:52 +08:00
## License
2021-04-19 21:47:29 +08:00
2020-03-02 22:41:52 +08:00
Naive UI is licensed under the [MIT license](https://opensource.org/licenses/MIT).
2021-04-19 21:47:29 +08:00
Graphics resouces of `result` component is licensed under the [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/). The graphics resources come from [Twemoji](https://github.com/twitter/twemoji).