@rocketswap/uikit
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

🚀 RocketSwap UIkit

Version Size

RocketSwap UIkit is a set of React components and hooks used to build pages on the RocketSwap project.

It also contains a theme file for dark and light mode.

Install

yarn add @rocketswap/uikit

npm

https://www.npmjs.com/package/@rocketswap/uikit

Setup

Theme

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

import { ThemeProvider } from 'styled-components'
import { light, dark } from '@rocketswap/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@rocketswap/uikit'
...
<ResetCSS />

Readme

Keywords

none

Package Sidebar

Install

npm i @rocketswap/uikit

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.51 kB

Total Files

2

Last publish

Collaborators

  • rocketswap