npm.io
1.1.3 • Published 4 years ago

react-beauty

Licence
MIT
Version
1.1.3
Deps
0
Size
135 kB
Vulns
0
Weekly
0

React Beauty

An experimental component library

Inspired by Chakra UI


Bundle Size MIT License NPM NPM Downloads Github Stars

Installation

Inside your React project directory, install React Beauty by running either of the following:

npm i react-beauty

Set up Provider

For React Beauty to work correctly, you need to set up the BeautyProvider at the root of your application.

Go to the root of your application and do this:

import * as React from 'react'

// 1. import `BeautyProvider` component
import { BeautyProvider } from 'react-beauty'

function App({ Component }) {
  // 2. Use at the root of your app
  return (
    <BeautyProvider>
      <Component />
    </BeautyProvider>
  )
}

Now you are ready to start using components

Storybook

Access Public Storybook in here

Documentation

Access Public Documentation in here

License

react-beauty is MIT licensed.