⚠️

react-vant
TypeScript icon, indicating that this package has built-in type declarations

3.3.5 • Public • Published

English | 简体中文

logo

React Vant

📱 A mobile component library based on the React framework according to Vant.

npm version npm download renovate discussions rcdoc license

🔥 Documentation (Domestic)   🌈 Documentation(GitHub)

✨ Feature

  • 🚀 The average component size is less than 1KB(min+gzip).
  • 💎 70+ high-quality components, covering mainstream mobile scenes.
  • 💪 Written in TypeScript, providing a complete type definition.
  • 📝 Provide complete documentation and component examples.
  • 🎨 Support theme customization, built-in 700+ theme designers.
  • 😎 Support on-demand import and Tree Shaking.
  • ⚡️ Support Vite and Parcel@2.
  • 🌵 Modern browsers
  • 🌝 Support SSR(nextjs, remix).

🖥 Environment Support

IE / Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari for iOS
Safari

Support modern browsers and Chrome >= 51, iOS >= 10.0.

📱 Preview

Scan the QR code on your mobile phone to access the demo:

Image

📦 Install

Recommended pin version:

# npm
npm i react-vant --save

# pnpm
pnpm add react-vant

🚀 Quick start

The following are some code examples of react-vant:

Code Snippet:

import ReactDOM from 'react-dom';
import { Button } from 'react-vant';

function App() {
  return <Button>Default Button</Button>;
}

ReactDOM.render(<App />, mountNode);

Code Examples:

For more information, please refer to QuickStart.

🤝 Contributing

Read our contributing guide and let's build a better react-vant together.

We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. :)

💭 Discuss

Image

👥 Contributors

Thanks goes to these wonderful people (emoji key):

Image
0x219

💻 📖 🚧
Image
TinsFox

💻 📖 🚧
Image
Seth Yuan

💻
Image
union-mall

💻
Image
Tang Zhi

💻
Image
yuegongzi

💻 📖
Image
周神

💻
Image
BiscuitCoder

🎨
Image
WhiteSource Renovate

📖 🛡️ 🔧
Image
allcontributors[bot]

🔧
Image
dependabot[bot]

📖 🛡️
Image
Cedong.Lee

🐛 🤔
Image
xiaomao Feng

🐛
Image
xiaojingyuaner

🐛
Image
keep_wan

🐛
Image
zhangYin

🐛 🤔
Image
Yann

🐛
Image
feifaneric

🐛
Image
FJHou

🐛
Image
Nate Wang

🐛
Image
rook1e

🐛
Image
chinieer

📖
Image
GangYHu

🐛
Image
Jungzl

💻
Image
Tim Zhao

📖
Image
野漫横江

🐛
Image
NoDocCat

🐛
Image
zhong yiqun

🐛
Image
KooFrank

🐛
Image
Songhn

🐛
Image
晚枫

🐛
Image
lxdaixin128

🐛
Image
zoujpxyz2017

🐛
Image
SingleShadow

🐛
Image
Lanten

📖
Image
Alex Lu

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

☕ Coffee

Buy me a coffee or beer 🍺

wechat_pay

🙏 Thanks

Vant - Thanks to the Vant team for years of continuous maintenance, allowing me to stand on the shoulders of giants.

Zan Design - Thanks for the careful production of YouZan Design Experience Center.

📜 License

MIT ⓒ 3lang3