Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-vant

Package Overview
Dependencies
Maintainers
1
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-vant

React Mobile UI Components base on Vant UI

  • 0.0.18
  • npm
  • Socket score

Version published
Weekly downloads
961
decreased by-17.3%
Maintainers
1
Weekly downloads
 
Created
Source

👼缺失的组件会持续同步


特性

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

Install

npm i 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

发布 npm 包

yarn release

Components completion status

Layout Components

  • Flex 布局

Basic Components

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

Form Components

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

Display Components

  • Badge 徽标
  • Collapse 折叠面板
  • NoticeBar 通知栏
  • Sticky 粘性布局
  • Swipe 轮播
  • Empty 空状态
  • List 列表
  • Tag 标签

Action Components

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

Navigation Components

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

Keywords

FAQs

Package last updated on 28 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc