项目
在 GitHub 查看

10086XIAOZHANG/CP-DESIGN
关于
A configurable Mobile UI Components(React hooks+Typescript+Scss)组件库
网站与应用开发可以做什么
- Follow CP Design Mobile UI specification.
- Configurable UI style for different products.
- Develop in TypeScript.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.zh-CN.md
原文CP design
使用 React hooks Typescript 开发的一个 H5 移动端 组件库
English | 简体中文
badge |
button |

CP Design Mobile
特性
- 基于 CP Design 移动设计规范。
- 规则化的视觉样式配置,适应各类产品风格。
- 使用 TypeScript React hooks 开发,提供类型定义文件。
🖥 Environment Support
IE / Edge |
Firefox |
Chrome |
Safari |
Electron |
|---|---|---|---|---|
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
📦 安装
npm install cp-design --save
yarn add cp-design
✨ 注意
在组件库中使用了 SASS,在安装的时候记得安装 node-sass
npm install node-sass --save-dev
yarn add node-sass -D
🔨 使用
import { Button } from 'cp-design'
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
</>
)
Componets
- Icon,
- Button,
- Input,
- Row,
- Col,
- Affix,
- Avatar,
- Badge,
- Card,
- CheckboxGroup,
- Checkbox,
- Accordion,
- Divider,
- Modal,
- Overlay,
- Pagination,
- Progress,
- Radio,
- Slider,
- Step,
- Spin,
- Switch,
- Tabs,
- Tag,
- ImagePicker,
- Toast,
- ActionSheet,
- TabBar,
- PickerPanel,
- Picker,
- SegmentedControl,
- Popover,
- NoticeBar,
- SwipeAction
- ListView
案例
mobile web demo

https://10086xiaozhang.github.io/CP-DESIGN
安装与使用
浏览器支持
iOSAndroid 4.0+
链接
欢迎贡献
有任何建议或意见您可以进行 提问。
探索相关项目
加载中…
badge
button