screenshot of CP DESIGN


A configurable Mobile UI Components(React hooks+Typescript+Scss)组件库


CP Design is a configurable mobile UI specification and React-based implementation. It provides a set of mobile UI components that can be easily customized for different products. The project is developed using React, TypeScript, and follows the CP Design Mobile UI specification.


  • Follows CP Design Mobile UI specification
  • Configurable UI style for different products
  • Developed in TypeScript
  • Compatible with modern browsers and Internet Explorer 11+ (with polyfills)
  • Supports server-side rendering
  • Compatible with Electron, IE/Edge, Firefox, Chrome, and Safari


  1. Install node-sass: npm install node-sass
  2. Install CP Design Mobile: npm install cp-design-mobile


CP Design Mobile is a configurable mobile UI framework built with React and TypeScript. It offers a set of customizable UI components that follow the CP Design Mobile UI specification. The framework supports modern browsers as well as Internet Explorer 11+ with polyfills. It can be easily installed using npm and configured for different products.


React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components


Less CSS is a dynamic stylesheet language that extends the capabilities of CSS, allowing developers to write cleaner, more modular, and reusable stylesheets with features like variables, mixins, and nested rules.

UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.


ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.


Gulp.js is an old but popular site building tool that automates various repetitive development tasks in web development, such as compiling Sass, minifying JavaScript, and optimizing images.


Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.


TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.


Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.