Vant React Official Docs
  • Introduction
  • Button
  • Navbar
  • Popup
  • Field
  • Rate
  • Cell
  • Slider
Powered by GitBook
On this page
  • Vant React
  • Features
  • Install
  • Quickstart
  • Components completion status
  • Basic Components
  • Form Components
  • Action Components
  • Display Components
  • Navigation Components
  • Business Components
  • Deprecated
  • Contribution
  • Browser Support
  • Open Source License

Was this helpful?

Introduction

NextButton

Last updated 4 years ago

Was this helpful?

Vant React

Lightweight Mobile UI Components built on Typescript and React in under 2kb!

Features

  • Support Typescript

  • 60+ Reusable components

  • 100% Storybook coverage:

  • Extensive documentation and demos

Install

# Using npm
npm i vant-react -S

# Using yarn
yarn add vant-react

Quickstart

import React from 'react';
import { Button } from 'vant-react';
import 'vant-react/dist/index.css';

const App = () => {
    return (
        <Button text='Hello World' />
    );
};

Components completion status

Basic Components

Form Components

Action Components

Display Components

Navigation Components

Business Components

Deprecated

Contribution

Or, join our discussion group on Wechat by adding me!

Browser Support

Modern browsers and Android 4.0+, iOS 8.0+.

Open Source License

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

This is an Open Source Software operating under the License.

https://vant.bctc.io
Contributing Guide
MIT