Skip to content
Lightweight Mobile UI Components built on Vue
JavaScript CSS Vue TypeScript Other
Branch: dev
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github build: update lint-commit-msg rules (#4167) Aug 21, 2019
build chore: add vant-doc package (#4197) Aug 22, 2019
docs chore: add vant-doc package (#4197) Aug 22, 2019
packages chore: add vant-doc package (#4197) Aug 22, 2019
src fix(Area): can't select some oversea country (#4195) Aug 22, 2019
test [bugfix] Tabs: incorrect line position in some cases (#3961) Jul 25, 2019
types feat(Toast): add closeOnClick option (#4192) Aug 22, 2019
.editorconfig vant components Apr 19, 2017
.eslintignore [new feature] Dialog: add getContainer option (#3040) Mar 22, 2019
.eslintrc [improvement] update lint rules (#3970) Jul 26, 2019
.gitignore [breaking change] repaint all icons, add lots of icons (#2221) Dec 16, 2018
.prettierrc [improvement] Search: tsx (#3028) Mar 21, 2019
.stylelintrc [build] add stylelint-config-rational-order plugin May 9, 2019
.travis.yml [build] format travis.yml Jul 18, 2019
LICENSE update LICENSE Mar 16, 2018
README.md [new feature] add sticky component (#3888) Jul 18, 2019
README.zh-CN.md [Doc] update job link Aug 5, 2019
babel.config.js [Build] enable site pwa (#3736) Jul 3, 2019
jest.config.js [improvement] rename packages dir to src (#3659) Jun 27, 2019
package.json chore: add vant-doc package (#4197) Aug 22, 2019
postcss.config.js revert: "[Build] merge postcss config to package.json" Jul 2, 2019
tsconfig.json [improvement] rename packages dir to src (#3659) Jun 27, 2019
yarn.lock chore: add vant-doc package (#4197) Aug 22, 2019

README.md

logo

Mobile UI Components built on Vue

npm version Coverage Status Build Status downloads downloads JS Gzip Size CSS Gzip Size

🔥 文档网站   🇨🇳 中文版介绍   🚀 小程序版


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 6+.

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.

LICENSE

MIT

You can’t perform that action at this time.