0.3.4 • Published 4 years ago

cp-design v0.3.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

CP design

React hooks Typescript H5 Mobile Component

English | 简体中文

项目截图

CP Design Mobile

npm.io

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

  • Modern browsers and Internet Explorer 11+ (with polyfills)
  • Server-side Rendering
  • Electron
IE / EdgeFirefoxChromeSafariElectron
IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

📦 Install

npm install cp-design --save
yarn add cp-design

✨ Notice

在组件库中使用了 SASS,在安装的时候记得安装 node-sass

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

Install & Usage

introduce

Browser Support

  • iOS
  • Android 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! :)

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.3

4 years ago

0.2.4

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.10

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago