Socket
Socket
Sign inDemoInstall

ligerswap-uikit

Package Overview
Dependencies
117
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ligerswap-uikit

Set of UI components for ligerswap projects


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

🐯 LigerSwap UIkit

LigerSwap UIkit is a set of React components and hooks used to build pages on LigerSwap's apps. It also contains a theme file for dark and light mode.

Install

yarn add ligerswap-uikit

or

npm i ligerswap-uikit

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from 'ligerswap-uikit'
...
<ResetCSS />

Types

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

FAQs

Last updated on 01 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc