@panda-design/components
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

Panda Design

version npm downloads MIT License

Pluggable design system base on Ant Design

English | 中文

Get Started

  • Install
yarn add @panda-design/components
  • Inject styles
import {appendStyle} from '@panda-design/components';

appendStyle();
// And if you don't want some style
appendStyle({injectAll: false, inject: {Button: true}});
  • Build your application above Antd & Panda Design
import {Button} from 'antd'; // with style injected

const App = () => {
    return <Button type="primary">OK</Button>;
};
  • Enjoy the syntax sugar of Panda Design
import {Button} from '@panda-design/components';

const App = () => {
    return <Button type="primary" disabled disabledReason="Primission Denied">OK</Button>;
};

Docs

see StyleGuide made by this package

also you may clone

git clone git@github.com:panda-design-team/panda-design-team.github.io.git
cd panda-design-team.github.io
yarn
yarn start

Contribute

Feel free to raise issues and PR.

Readme

Keywords

none

Package Sidebar

Install

npm i @panda-design/components

Weekly Downloads

97

Version

0.3.1

License

MIT

Unpacked Size

88.7 kB

Total Files

87

Last publish

Collaborators

  • dancerphil