# react-vant **Repository Path**: bxvs888/react-vant ## Basic Information - **Project Name**: react-vant - **Description**: React mobile UI Components base on Vant - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: main - **Homepage**: https://3lang3.github.io/react-vant/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 11 - **Created**: 2021-10-14 - **Last Updated**: 2021-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

logo

React Vant

参照 Vant 打造的 React 框架移动端组件库。

npm version

🔥 文档网站(国内)   🌈 文档网站(GitHub)

## 路线图 [Roadmap](https://github.com/3lang3/react-vant/discussions/16)概览 ## 特性 - 提供 50 多个高质量组件,覆盖移动端各类场景 - 性能极佳,组件平均体积不到 1kb(min+gzip) - 完善的文档和示例 - 支持按需引入 - 支持主题定制 - 支持 TypeScript - 支持 [SSR](https://github.com/3lang3/react-vant-template/tree/main/template/nextjs) - 支持 [Vite](https://github.com/3lang3/react-vant-template/tree/main/template/vite) ## 安装 [![react-vant](https://nodei.co/npm/react-vant.png)](https://npmjs.org/package/react-vant) ## 快速开始 ```jsx import ReactDOM from 'react-dom'; import { Button } from 'react-vant'; import 'react-vant/lib/index.css'; function App() { return ; } ReactDOM.render(, mountNode); ``` ### 快速集成 #### 在 create-react-app 中使用 参考[react-vant-cra](https://github.com/3lang3/react-vant-template/tree/main/template/create-react-app) #### 在 umijs 使用 参考[react-vant-umi](https://github.com/3lang3/react-vant-template/tree/main/template/umi) #### 在 nextjs 使用 参考[react-vant-nextjs](https://github.com/3lang3/react-vant-template/tree/main/template/nextjs) #### vite集成 参考[react-vant-vite](https://github.com/3lang3/react-vant-template/tree/main/template/vite) 请参阅[Quickstart](https://3lang3.github.io/react-vant/#/zh-CN/)中的更多内容。 ## 浏览器支持 React Vant 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0。 ## 贡献代码 修改代码请阅读我们的 [贡献指南](https://3lang3.github.io/react-vant/#/zh-CN/contribution)。 使用过程中发现任何问题都可以提 [Issue](https://github.com/3lang3/react-vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/3lang3/react-vant/pulls)。 > 欢迎加入我们的微信讨论组 ## 手机预览 可以手机扫码以下二维码访问手机端 demo: