UNPKG

ncb-component

Version:

NCB design system

63 lines (45 loc) 2.72 kB
<div align="center"><a name="readme-top"></a> <img height="180" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"> <h1>Ncb design based on Antd design</h1> An enterprise-class UI design language and React UI library. [![codecov][codecov-image]][codecov-url] ![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png) [![](https://user-images.githubusercontent.com/507615/209472919-6f7e8561-be8c-4b0b-9976-eb3c692aa20a.png)](https://ant.design) </div> ## ✨ Features - 🌈 Enterprise-class UI designed for web applications. - 📦 A set of high-quality React components out of the box. - 🛡 Written in TypeScript with predictable static types. - ⚙️ Whole package of design resources and development tools. - 🌍 Internationalization support for dozens of languages. - 🎨 Powerful theme customization based on CSS-in-JS. ## 🖥 Environment Support - Modern browsers - Server-side Rendering - [Electron](https://www.electronjs.org/) | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Electron | | --- | --- | --- | --- | --- | | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | ## 📦 Install ```bash npm install ncb-component ``` ```bash yarn add ncb-component ``` ```bash pnpm add ncb-component ``` ## 🔨 Usage ```tsx import { Button } from "ncb-component/button"; import { DatePicker } from "ncb-component/DatePicker"; //to using provider customer import { Provider as NcbProvider } from "ncb-component/provider"; export default () => ( <NcbProvider> <Button type="primary">PRESS ME</Button> <DatePicker placeholder="select date" /> </NcbProvider> ); ```