@clippings/paper
TypeScript icon, indicating that this package has built-in type declarations

3.10.9 • Public • Published

Paper

Clippings Design System

This is Clippings design system called Paper built using Storybook.

Install

git clone git@github.com: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.

Readme

Keywords

none

Package Sidebar

Install

npm i @clippings/paper

Weekly Downloads

31

Version

3.10.9

License

MIT

Unpacked Size

18 MB

Total Files

879

Last publish

Collaborators

  • hkdobrev
  • ezarkov
  • angel.genchev
  • philip_clippings
  • milev
  • basel88