youzan/vant
Lightweight Mobile UI Components built on Vue
repo name | youzan/vant |
repo link | https://github.com/youzan/vant |
homepage | https://youzan.github.io/vant |
language | JavaScript |
size (curr.) | 63977 kB |
stars (curr.) | 14113 |
created | 2017-04-19 |
license | MIT License |
Features
- 60+ Reusable components
- 90% Unit test coverage
- Extensive documentation and demos
- Support babel-plugin-import
- Support Custom Theme
- Support i18n
- Support TS
- Support SSR
Install
# Using npm
npm i vant -S
# Using yarn
yarn add vant
Quickstart
import Vue from 'vue';
import { Button } from 'vant';
import 'vant/lib/index.css';
Vue.use(Button);
See more in Quickstart.
Contribution
Please make sure to read the Contributing Guide before making a pull request.
Browser Support
Modern browsers and Android 4.0+, iOS 8.0+.
Ecosystem
Project | Description |
---|---|
vant-demo | Official vant demo collection |
vant-weapp | WeChat MiniProgram UI |
vant-cli | Scaffold for UI library |
vant-icons | Vant icons |
vant-touch-emulator | Using vant in desktop browsers |
Links
Preview
You can scan the following QR code to access the demo:
Wechat Group
Scan the qrcode to join our wechat discussion group, please note that you want to join Vant discussion group.