Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@anpanswap-libs/uikit

Package Overview
Dependencies
6
Maintainers
1
Versions
194
Issues
File Explorer

Advanced tools

@anpanswap-libs/uikit

Set of UI components for anpans projects

    0.5.80latest

Version published
Maintainers
1
Yearly downloads
21,299
increased by1116.39%

Weekly downloads

Readme

Source

🥞 Anpans UIkit

Version Size

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

Install

yarn add @anpanswap-libs/uikit

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@anpanswap-libs/uikit' ... <ResetCSS />

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

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc