Gathering detailed insights and metrics for vant
Gathering detailed insights and metrics for vant
Gathering detailed insights and metrics for vant
Gathering detailed insights and metrics for vant
A lightweight, customizable Vue UI library for mobile web apps.
npm install vant
Typescript
Module System
Node Version
NPM Version
87.1
Supply Chain
99.4
Quality
92.3
Maintenance
100
Vulnerability
100
License
TypeScript (66.23%)
Vue (16.27%)
Less (10.6%)
JavaScript (6.68%)
Smarty (0.11%)
HTML (0.11%)
Total Downloads
12,402,238
Last Day
6,575
Last Week
33,933
Last Month
163,571
Last Year
2,351,823
MIT License
23,978 Stars
10,302 Commits
9,508 Forks
368 Watchers
15 Branches
354 Contributors
Updated on Jul 30, 2025
Latest Version
4.9.21
Package Id
vant@4.9.21
Unpacked Size
5.72 MB
Size
1.03 MB
File Count
2,173
NPM Version
10.9.2
Node Version
22.14.0
Published on
Jul 12, 2025
Cumulative downloads
Total Downloads
Last Day
-9.3%
6,575
Compared to previous day
Last Week
-9.8%
33,933
Compared to previous week
Last Month
-8.9%
163,571
Compared to previous month
Last Year
-24.6%
2,351,823
Compared to previous year
3
1
A lightweight, customizable Vue UI library for mobile web apps.
Documentation · Documentation (backup) · 中文介绍
Using npm
to install:
1# install latest Vant for Vue 3 project 2npm i vant 3 4# install Vant 2 for Vue 2 project 5npm i vant@latest-v2
Using yarn
, pnpm
, or bun
:
1# with yarn 2yarn add vant 3 4# with pnpm 5pnpm add vant 6 7# with Bun 8bun add vant
It is recommended to use Rsbuild to create a scaffold project.
Rsbuild is a build tool based on Rspack, developed by the author of Vant, with first-class build speed and development experience, providing first-priority support for Vant.
You can create a Rsbuild project with the following command:
1npm create rsbuild@latest
Please visit the Rsbuild repository for more information.
1import { createApp } from 'vue'; 2// 1. Import the components you need 3import { Button } from 'vant'; 4// 2. Import the components style 5import 'vant/lib/index.css'; 6 7const app = createApp(); 8 9// 3. Register the components you need 10app.use(Button);
See more in Quickstart.
Vant 2 supports modern browsers and Android >= 4.0、iOS >= 8.0.
Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3).
Project | Description |
---|---|
vant-weapp | WeChat MiniProgram UI |
vant-demo | Collection of Vant demos |
vant-cli | Scaffold for UI library |
vant-icons | Vant icons |
vant-touch-emulator | Using vant in desktop browsers |
vant-nuxt | Vant module for Nuxt |
Project | Description |
---|---|
3lang3/react-vant | React mobile UI Components based on Vant |
vant-aliapp | Alipay MiniProgram UI |
vant-theme | Online theme preview built on Vant UI |
@antmjs/vantui | Mobile UI Components based on Vant, supporting Taro and React |
Taroify | Taroify is the Taro version of Vant |
vant-playground | Vant Playground |
sfc-playground-vant | Vant Playground |
vue3-h5-template | Mobile project template based on Vant |
vue3-vant-mobile | Mobile project template based on Vant |
vscode-common-intellisense | A VS Code extension that provides better intellisense to Vant developers |
nuxt-vant-mobile | Nuxt ⁴ project template based on Vant, out of the box |
mobvue | A well-crafted mobile web app template |
novlan1/press-ui | Uni APP mobile UI Components based on Vant |
You can scan the following QR code to access the demo:
Core contributors of Vant and Vant Weapp:
chenjiahan | cookfront | wangnaiyi | pangxie | rex-zsd | nemo-shen |
Lindysen | JakeLaoyu | landluck | wjw-gavin | inottn | zhousg |
Thanks to the following friends for their contributions to Vant:
Please make sure to read the Contributing Guide before making a pull request.
https://github.dev/youzan/vant
Vant is MIT licensed.
No vulnerabilities found.