3.3.1 • Published 2 years ago

@cmss/vant v3.3.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Features

  • 65+ Reusable components
  • 1kb Component average size (min+gzip)
  • 90%+ Unit test coverage
  • Extensive documentation and demos
  • Support Vue 2 & Vue 3
  • Support Tree Shaking
  • Support Custom Theme
  • Support i18n
  • Support TS
  • Support SSR

Install

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

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

Quickstart

import { createApp } from 'vue';
import { Button } from 'vant';
import 'vant/lib/index.css';

const app = createApp();
app.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
vant-reactVant React
vant-aliappAlipay MiniProgram UI
taroifyVant Taro

Links

Preview

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

LICENSE

MIT

Progress

  • icon
  • navbar
  • tabs
  • navigation/draw
  • tabbar
  • button
  • radio / checkbox
  • image picker: uploader
  • input: field
  • switch
  • avatar
  • badge
  • card
  • list
  • steps
  • slider
  • notice bar
  • tag
  • rate
  • modal: dialog
  • toast
  • action sheet
  • picker
  • date-pick
  • calendar
  • menu