Skip to content

E8Token/e8f-uikit

Repository files navigation

⚡ Energy8 UIkit

Version Size

Energy8 UIkit is a set of React components. It also contains a theme file for purple and pink mode.

Install

npm i @energy8/uikit

Setup

Theme

Before using Energy8 UIkit, you need to provide the theme file to styled-component.

import { ThemeProvider } from 'styled-components'
import { Purple } from '@energy8/uikit'
...
<ThemeProvider theme={Purple}>...</ThemeProvider>

Reset

Available global styled component.

import { GlobalStyle } from '@energy8/uikit'
...
<GlobalStyle />

Types

This project is built with Typescript and export all the relevant types.

How to use the UIkit

If you want to use components from the UIkit, check the Storybook documentation