Lightweight Mobile UI Components built on Typescript and React in under 2kb!
- Support Typescript
- 60+ Reusable components
- 100% Storybook coverage: https://vant.bctc.io
- Extensive documentation and demos
# Using npm
npm i vant-react -S
# Using yarn
yarn add vant-react
import React from 'react';
import { Button } from 'vant-react';
import 'vant-react/dist/index.css';
const App = () => {
return (
<Button text='Hello World' />
);
};
- Button
- Cell
- Icon
- Image
- Layout
- Popup
- Built-in style
- Calendar
- Checkbox
- DatetimePicker
- Field
- Form
- NumberKeyboard
- PasswordInput
- Picker
- Radio
- Rate
- Search
- Slider
- Stepper
- Switch
- SwitchCell
- Uploader
- ActionSheet
- Dialog
- DropdownMenu
- Loading
- Notify
- Overlay
- PullRefresh
- ShareSheet
- SwipeCell
- Toast
- Circle
- Collapse
- CountDown
- Divider
- Empty
- ImagePreview
- Lazyload
- List
- NoticeBar
- Panel
- Progress
- Skeleton
- Steps
- Sticky
- Swipe
- Tag
- Grid
- IndexBar
- NavBar
- Pagination
- Sidebar
- Tab
- Tabbar
- TreeSelect
- AddressEdit
- AddressList
- Area
- Card
- Contact
- Coupon
- GoodsAction
- SubmitBar
- Sku
- SwitchCell
Please make sure to read the Contributing Guide before making a pull request.
Or, join our discussion group on Wechat by adding me!
Modern browsers and Android 4.0+, iOS 8.0+.
This is an Open Source Software operating under the MIT License.