react-play-styled
v1.1.0
Published
A minimalistic design system for demonstrating modular react components
Downloads
2
Maintainers
Readme
react-play-styled
A minimalistic react components library made with styled-components.
- UI Component Library— demonstrate styled-components with storybook and to build a CSS UI design system documentation.
Table of Contents
Installing / Getting started
A quick introduction of the minimal setup you need to get a up & running.
$ npm i react-play-styled -S
or
$ yarn add react-play-styled
Initial Configuration
Note: every component has a peer dependencies. To use these components you also need to install these peer dependencies.
$ npm i [email protected] [email protected]
[email protected] [email protected]
[email protected]
Developing
Play around with the project and view the documentation using:
$ npm run storybook
Usage
To see which components are available take a look at the components section.
// whatever components you need to import
import { Button } from 'react-play-styled';
export const myComponent = (props) => (
<Button>Hello, World!</Button>
);
Components
- Buttons Component
- Modals Component
- TextFields Component
Links
A list of tools used to develop this project
- react - a
js
library for creating interactive UIs. - styled-components - for
css-in-js
without worrying about specificity. - polished - for
css
normalization. - styled-components-modifiers - allows to pass
props
tostyled-components
. - react-spring - for micro-interaction
css
animations usingjs
. - storybook - used for document the code and components.
License
MIT © Murshid Azher