Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vant

> 前端框架
Open source

A lightweight, customizable Vue UI library for mobile web apps.

24.4K stars0 likes2 views
WebsiteGitHub

About

A lightweight, customizable Vue UI library for mobile web apps.

Vant

A lightweight, customizable Vue UI library for mobile web apps.

Documentation   ·   Documentation (backup)   ·   中文介绍   ·   日本語


Features

  • 🚀 1KB Component average size (min+gzip)
  • 🚀 80+ High quality components
  • 🚀 Zero third-party dependencies
  • 💪 90%+ Unit test coverage
  • 💪 Written in TypeScript
  • 📖 Extensive documentation and demos
  • 📖 Provide Sketch and Axure design resources
  • 🍭 Support Vue 2 & Vue 3
  • 🍭 Support Nuxt 2 & Nuxt 3, provide Vant Module for Nuxt
  • 🍭 Support Tree Shaking
  • 🍭 Support Custom Theme
  • 🍭 Support Accessibility (still improving)
  • 🍭 Support Dark Mode
  • 🍭 Support SSR
  • 🌍 Support i18n, built-in 30+ languages

Install

Using npm to install:

bash
# install latest Vant for Vue 3 project
npm i vant

# install Vant 2 for Vue 2 project
npm i vant@latest-v2

Using yarn, pnpm, or bun:

bash
# with yarn
yarn add vant

# with pnpm
pnpm add vant

# with Bun
bun add vant

Scaffold

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:

bash
npm create rsbuild@latest

Please visit the Rsbuild repository for more information.

Quickstart

javascript
import { createApp } from 'vue';
// 1. Import the components you need
import { Button } from 'vant';
// 2. Import the components style
import 'vant/lib/index.css';

const app = createApp();

// 3. Register the components you need
app.use(Button);

See more in Quickstart.

Browser Support

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).

Official Ecosystem

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

Community Ecosystem

Project Description
3lang3/react-vant React mobile UI Components based on Vant
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, out of the box
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

Links

  • Documentation
  • Documentation (backup)
  • Changelog
  • Discussions

Preview

You can scan the following QR code to access the demo:

Core Team

Core contributors of Vant and Vant Weapp:

chenjiahan cookfront wangnaiyi pangxie rex-zsd nemo-shen
Lindysen JakeLaoyu landluck wjw-gavin inottn zhousg

Contribution Guide

Please make sure to read the Contributing Guide before making a pull request.

Start On Web IDE

https://github.dev/youzan/vant

LICENSE

Vant is MIT licensed.

Issues· 227 open

View all issuesOpen on GitHub
  • #12683

    Dependency Dashboard

    Updated Sep 29, 2026
  • #13438

    [Feature Request] TextEllipsis 文本省略提供插槽自定义富文本展示内容

    feature: need confirmUpdated Sep 29, 2026
  • #13928

    [Feature Request] Support llms.txt / llms-full.txt for the documentation site

    feature: need confirmUpdated Sep 28, 2026
  • #13898

    [Bug Report] Field组件readonly状态下文字不能选中复制

    bug: need confirmUpdated Sep 19, 2026
  • #13919

    [Bug Report] Tabs开启sticky后,在iOS/iPadOS 27上切换tab,触发内核bug,导致页面元素无法响应点击

    bug: need confirmUpdated Sep 11, 2026
  • #13918

    vant-stepper添加一个用于控制change触发时机的属性

    feature: need confirmUpdated Sep 10, 2026
  • #13888

    [Bug Report] van-form点击"添加"动态插入 v-for 字段后,validate-first 首个报错字段错乱(后面的字段被排到最前)

    bug: need confirmUpdated Sep 4, 2026
  • #13913

    在vant4中,使用的按需引入vant组件,使用的组件越多,root中的css变量规则越多,导致在页面中审查元素,会有小卡顿

    feature: need confirmUpdated Sep 3, 2026
  • #13900

    [Feature Request] 希望组件能够显式声明 Slots 类型

    feature: need confirmUpdated Aug 23, 2026
  • #13876

    @vant/area-data 中山市地区名称需更新

    Updated Jul 24, 2026

> Tags

TypeScriptcomponentsmobileui-kitui-library

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架