An open API service indexing awesome lists of open source software.

https://github.com/3lang3/react-vant-v1


https://github.com/3lang3/react-vant-v1

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

English | [็ฎ€ไฝ“ไธญๆ–‡](https://github.com/3lang3/react-vant/blob/main/packages/react-vant/README.zh-CN.md)


logo

React Vant

๐Ÿ“ฑ A mobile component library based on the React framework according to Vant.



npm version


npm download

renovate

discussions


license


๐Ÿ”ฅ Documentation (Domestic)
ย 
๐ŸŒˆ Documentation๏ผˆGitHub๏ผ‰

## โœจ Feature

- ๐Ÿš€ The average component size is less than 1KB๏ผˆmin+gzip๏ผ‰.
- ๐Ÿ’Ž 60+ 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](https://github.com/3lang3/react-vant-template/tree/main/template/vite) and Parcel@2.
- ๐ŸŒต Modern browsers
- ๐ŸŒ Support [SSR](https://github.com/3lang3/react-vant-template/tree/main/template/nextjs).

## ๐Ÿ–ฅ Environment Support

| [IE / Edge](http://godban.github.io/browsers-support-badges/)
Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari for iOS](http://godban.github.io/browsers-support-badges/)
Safari |
| --- | --- | --- | --- |

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

## ๐Ÿ“ฑ Preview

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

View some screenshots.








## ๐Ÿ“ฆ Install

Recommended **pin** version:

```bash
# npm
npm i react-vant -S -E

# pnpm
pnpm i react-vant -S -E
```

## ๐Ÿš€ Quick start

The following are some code examples of react-vant:

#### Code Snippet:

```jsx
import ReactDOM from 'react-dom';
import { Button } from 'react-vant';
import 'react-vant/lib/index.css';

function App() {
return Default Button;
}

ReactDOM.render(, mountNode);
```

#### Code Examples:

- [Create React App](https://github.com/3lang3/react-vant-template/tree/main/template/create-react-app)
- [Umi](https://github.com/3lang3/react-vant-template/tree/main/template/umi)
- [Next.js](https://github.com/3lang3/react-vant-template/tree/main/template/nextjs)
- [Vite](https://github.com/3lang3/react-vant-template/tree/main/template/vite)

For more information, please refer to [QuickStart](https://3lang3.github.io/react-vant/#/zh-CN/).

## ๐Ÿค Contributing

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

We welcome all contributions. Please read our [CONTRIBUTING.md](https://3lang3.github.io/react-vant/#/zh-CN/contribution) first. You can submit any ideas as pull requests or as GitHub issues. :)

## ๐Ÿ’ญ Discuss

## ๐Ÿ‘ฅ Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



0x219

๐Ÿ’ป ๐Ÿ“– ๐Ÿšง

TinsFox

๐Ÿ’ป ๐Ÿ“– ๐Ÿšง

Seth Yuan

๐Ÿ’ป

union-mall

๐Ÿ’ป

Tang Zhi

๐Ÿ’ป

yuegongzi

๐Ÿ’ป ๐Ÿ“–

ๅ‘จ็ฅž

๐Ÿ’ป



BiscuitCoder

๐ŸŽจ

WhiteSource Renovate

๐Ÿ“– ๐Ÿ›ก๏ธ ๐Ÿ”ง

allcontributors[bot]

๐Ÿ”ง

dependabot[bot]

๐Ÿ“– ๐Ÿ›ก๏ธ

Cedong.Lee

๐Ÿ› ๐Ÿค”

xiaomao Feng

๐Ÿ›

xiaojingyuaner

๐Ÿ›



keep_wan

๐Ÿ›

zhangYin

๐Ÿ› ๐Ÿค”

Yann

๐Ÿ›

feifaneric

๐Ÿ›

FJHou

๐Ÿ›

Nate Wang

๐Ÿ›

rook1e

๐Ÿ›



chinieer

๐Ÿ“–

GangYHu

๐Ÿ›

Jungzl

๐Ÿ’ป

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

## ๐Ÿ™ Thanks

[Vant](https://github.com/youzan/vant) - Thanks to the Vant team for years of continuous maintenance, allowing me to stand on the shoulders of giants.

[Zan Design](https://design.youzan.com/) - Thanks for the careful production of YouZan Design Experience Center.

## ๐Ÿ“œ License

[MIT](./LICENSE) โ“’ 3lang3