@unifacef-dev/design-system
v2.0.0-rc.12
Published
[![Version](https://img.shields.io/npm/v/@unifacef-dev/design-system?style=flat&colorA=4945ff&colorB=4945ff)](https://www.npmjs.com/package/@unifacef-dev/design-system) [![Downloads](https://img.shields.io/npm/dt/@unifacef-dev/design-system.svg?style=flat
Downloads
57
Readme
Strapi Design System
A UI component library for creating amazing Strapi extensions.
Installation
$ yarn add react react-dom @unifacef-dev/design-system @unifacef-dev/icons styled-components
# or
$ npm i react react-dom @unifacef-dev/design-system @unifacef-dev/icons styled-components
Getting Started
Wrap your application with the DesignSystemProvider
. You can additionally pass a theme and/or locale, although you don't have to as we have default values for both.
import { DesignSystemProvider, lightTheme } from '@unifacef-dev/design-system';
function MyApp({ children }) {
return (
<DesignSystemProvider locale="en-GB" theme={lightTheme}>
{children}
</DesignSystemProvider>
);
}
export default App;
Then, checkout the complete Storybook documentation to find the components you want to use and how to use them.
Contributing
Please follow our CONTRIBUTING guidelines.
License
Licensed under the MIT License, Copyright © 2015-present Strapi Solutions SAS.
See LICENSE for more information.