Socket
Socket
Sign inDemoInstall

vant

Package Overview
Dependencies
Maintainers
7
Versions
565
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vant

Mobile UI Components built on Vue


Version published
Weekly downloads
43K
decreased by-8.25%
Maintainers
7
Weekly downloads
Β 
Created
Source

logo

Vant

Mobile UI Components built on Vue

npm version npm version Coverage Status downloads Jsdelivr Hits Gzip Size

πŸ”₯ 文摣网站 Β  Β  πŸ‡¨πŸ‡³ δΈ­ζ–‡η‰ˆδ»‹η» Β  Β  πŸš€ ε°η¨‹εΊη‰ˆ


Features

  • πŸš€ 1KB Component average size (min+gzip)
  • πŸš€ 65+ High quality components
  • πŸ’ͺ 90%+ Unit test coverage
  • πŸ’ͺ Written in TypeScript
  • πŸ“– Extensive documentation and demos
  • πŸ“– Provide Sketch and Axure design resources
  • 🍭 Support Vue 2 & Vue 3
  • 🍭 Support Tree Shaking
  • 🍭 Support Custom Theme
  • 🍭 Support i18n
  • 🌍 Support SSR

Install

# Install latest Vant for Vue 3 project
npm i vant -S

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

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

Vant 2 supports modern browsers and Android >= 4.0、iOS >= 8.0.

Vant 3 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3).

Official Ecosystem

ProjectDescription
vant-weappWeChat MiniProgram UI
vant-demoCollection of Vant demos
vant-cliScaffold for UI library
vant-iconsVant icons
vant-touch-emulatorUsing vant in desktop browsers

Community Ecosystem

ProjectDescription
3lang3/react-vantReact mobile UI Components based on Vant
mxdi9i7/vant-reactMobile UI Components built on React and TS, inspired by Vant
vant-aliappAlipay MiniProgram UI
taroifyVant Taro
vant-themeOnline theme preview built on Vant UI
@antmjs/vantuiMobile UI Components based on Vant, supporting Taro and React
@formily/vantForm solution based on Vant and Formily

Preview

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

LICENSE

MIT

Keywords

FAQs

Package last updated on 10 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc