ui
ui copied to clipboard
Design system of @cap-collectif with react • styled-components • styled-system
CapUI
Design system for Cap Collectif
📦 Install
npm i @cap-collectif/ui
...
yarn add @cap-collectif/ui
🔨 Usage
import { Button, Heading } from '@cap-collectif/ui';
const App = () => (
<>
<Heading as="h1">Title</Heading>
<Button variant="primary">PRESS ME</Button>
</>
);
🔗 Documentation
👉 Read the Storybook stories
📝 View the Changelog
💻 Development
$ git clone https://github.com/cap-collectif/ui.git
$ cd ui/
$ yarn
$ yarn storybook
The browser will launch automatically to http://localhost:6006
🤝 Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 😊