GithubHelp home page GithubHelp logo

mrgu1609 / react-vant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 3lang3/react-vant

0.0 1.0 0.0 9.26 MB

React mobile UI Components base on Vant

Home Page: https://3lang3.github.io/react-vant/

JavaScript 4.23% Less 21.67% HTML 0.37% TypeScript 73.73%

react-vant's Introduction

react-vant

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

NPM version

👼 缺失的组件会持续同步,有特别需要的可以在此处留言

Roadmap

Roadmap概览

特性

  • 40+ 高质量组件,覆盖移动端基本场景
  • 支持按需引入
  • 支持主题定制
  • 支持 TypeScript

Install

react-vant

Quickstart

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

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

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

请参阅Quickstart中的更多内容。

📦 Dev App

npm

npm install

yarn

yarn

启动文档

yarn start

打包文档

yarn build:site

发布文档

yarn release:site

打包组件

yarn build

测试组件

yarn test

Contributor group

欢迎加入我们的微信讨论组

Components completion status

Layout Components

  • Flex 布局

Basic Components

  • Button 按钮
  • Typography 文本
  • Icon 图标
  • Image 图片
  • Popup 弹出框
  • Cell 单元格
  • Toast 轻提示
  • 内置样式(IPhoneX 适配,细边框等)

Form Components

  • Field 输入框
  • CheckBox 复选框
  • Radio 单选框
  • Rate 评分
  • Picker 选择器
  • Stepper 步进器
  • Search 搜索
  • DatetimePicker 时间选择
  • PasswordInput 密码输入框

Display Components

  • Badge 徽标
  • Collapse 折叠面板
  • CountDown 倒计时
  • Empty 空状态
  • ImagePreview 图片预览
  • List 列表
  • NoticeBar 通知栏
  • Sticky 粘性布局
  • Swipe 轮播
  • Tag 标签

Action Components

  • ActionSheet 动作面板
  • Loading 加载
  • Overlay 遮罩层
  • Dialog 弹出层
  • PullRefresh 下拉刷新

Navigation Components

  • IndexBar 索引栏
  • NavBar 导航栏
  • Tabs 标签页

react-vant's People

Contributors

3lang3 avatar sethyuan avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.