프로젝트
GitHub에서 보기
https://10086xiaozhang.github.io/CP-DESIGN
10086XIAOZHANG/CP-DESIGN
소개
A configurable Mobile UI Components(React hooks+Typescript+Scss)组件库
웹 및 앱 개발What you can do
- Follow CP Design Mobile UI specification.
- Configurable UI style for different products.
- Develop in TypeScript.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCP design
React hooks Typescript H5 Mobile Component
English | 简体中文
badge |
button |

CP Design Mobile
A configurable Mobile UI specification and React-based implementation.
Features
- Follow CP Design Mobile UI specification.
- Configurable UI style for different products.
- Develop in TypeScript.
🖥 Environment Support
IE / Edge |
Firefox |
Chrome |
Safari |
Electron |
|---|---|---|---|---|
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
📦 Install
npm install cp-design --save
yarn add cp-design
✨ Notice
SASS is used in the component library, remember to install node-sass when installing
npm install node-sass --save-dev
yarn add node-sass -D
🔨 Usage
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
Demo
mobile web demo
https://10086xiaozhang.github.io/CP-DESIGNInstall & Usage
Browser Support
iOSAndroid 4.0+
Links
Contributing
We welcome all contributions, You can submit any ideas. If you'd like to improve code, check out the Development Instruction and have a good time! :)
관련 프로젝트 살펴보기
불러오는 중…
badge
button