Design system for matic products.
npm install
npm run storybook
npm run build-storybook
npm run build-library
This generates CommonJS and unpkg modules in /dist. (Using common js here).
Update main
field in package.json
to change the entry point of published package.
For versoning, refer semantic versioning spec.
npm run release
This will take care of build, versioning and publishing.
npm install @maticnetwork/matic-design-system
import { Button, Icon } from "@maticnetwork/matic-design-system";
<Button label="Click Me!">
<Icon name="login/metamask">