# kylin-libs

> Set of UI components for pancake projects

Latest version **0.15.0** (published 2022-03-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install kylin-libs
pnpm add kylin-libs
yarn add kylin-libs
bun add kylin-libs
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.15.0 |
| Published | 2022-03-08 |
| First published | 2022-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | kylin |
| Maintainers | ggdabai |
| Keywords | 123321 |

## Links

- npm: https://www.npmjs.com/package/kylin-libs
- Repository: https://github.com/ggkylin/selfSwap
- Homepage: https://github.com/pancakeswap/pancake-uikit#readme
- Issues: https://github.com/pancakeswap/pancake-uikit/issues
- npm.io page: https://npm.io/package/kylin-libs

## Dependencies (5)

- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.162
- [styled-system](https://npm.io/package/styled-system.md) ^5.1.5
- [@types/styled-system](https://npm.io/package/@types/styled-system.md) ^5.1.10
- [react-transition-group](https://npm.io/package/react-transition-group.md) ^4.4.1

## Recent versions

- 0.15.0 (latest) — 2022-03-08

## README

# 🥞 Pancake UIkit

**This repository is not used anymore. See the [https://github.com/pancakeswap/pancake-toolkit](Pancake toolkit) instead**

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-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](https://pancakeswap.github.io/pancake-uikit/)

---
_Source: https://npm.io/package/kylin-libs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
