react-play-styled

A minimalistic design system for demonstrating modular react components

Usage no npm install needed!

<script type="module">
  import reactPlayStyled from 'https://cdn.skypack.dev/react-play-styled';
</script>

README

react-play-styled npm

npm npm storybook

A minimalistic react components library made with styled-components.

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 styled-components@4.1.2 actions@1.3.0
react-spring@8.0.27 polished@3.4.4
styled-components-modifiers@1.2.5

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

License

MIT © Murshid Azher