GithubHelp home page GithubHelp logo

trying001 / cp-design Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 10086xiaozhang/cp-design

0.0 0.0 0.0 5.79 MB

A configurable Mobile UI Components with React hooks

Home Page: https://10086xiaozhang.github.io/CP-DESIGN

TypeScript 100.00%

cp-design's Introduction

CP design

React hooks Typescript H5 Mobile Component

English | 简体中文

badge button icon

项目截图

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

  • Modern browsers and Internet Explorer 11+ (with polyfills)
  • Server-side Rendering
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
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,在安装的时候记得安装 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>
  </>
)

Demo

mobile web demo

https://10086xiaozhang.github.io/CP-DESIGN

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! :)

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.