@clippings/paper
v3.10.9
Published
DT Design System
Downloads
134
Keywords
Readme
Paper
Clippings Design System
This is Clippings design system called Paper built using Storybook.
Install
git clone [email protected]:clippings/paper.git
cd paper
npm install
npm run storybook
With the above commands you'd be able to browse the design system locally with the local URL outputted in your terminal.
Usage
In order to use the Paper design system in your application, you need to install it as a Git dependency and import components from it:
npm install clippings/paper
import { Button, ThemeProvider } from '@clippings/paper';
<ThemeProvider theme={{mode: "light" }}>
<p>
This is a paper button: <Button>Click me!</Button>
</p>
</ThemeProvider>
Develop
When you develop Paper components, keep the storybook running and run the test script to watch for changes and run the tests.
npm test
Make sure to run the linters before commiting:
npm run lint
License
Licensed to Clippings Limited under the MIT license.