# soulswap-ui

> Soul UI

Latest version **0.0.1** (published 2022-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install soulswap-ui
pnpm add soulswap-ui
yarn add soulswap-ui
bun add soulswap-ui
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-10-26 |
| First published | 2022-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 27 |
| Unpacked size | 298.5 KB |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| Author | 0xBuns |
| Maintainers | soulswapfinance |
| Keywords | soul, ui, react, components |

## Links

- npm: https://www.npmjs.com/package/soulswap-ui
- npm.io page: https://npm.io/package/soulswap-ui

## Dependencies (27)

- [nanoid](https://npm.io/package/nanoid.md) ^4.0.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.29.1
- [classnames](https://npm.io/package/classnames.md) ^2.3.1
- [rc-tooltip](https://npm.io/package/rc-tooltip.md) ^5.2.2
- [react-popper](https://npm.io/package/react-popper.md) ^2.2.5
- [react-spring](https://npm.io/package/react-spring.md) ^9.4.4
- [react-window](https://npm.io/package/react-window.md) ^1.8.7
- [react-tooltip](https://npm.io/package/react-tooltip.md) ^4.2.21
- [@popperjs/core](https://npm.io/package/@popperjs/core.md) ^2.11.5
- [react-dropzone](https://npm.io/package/react-dropzone.md) ^14.2.2
- [react-toastify](https://npm.io/package/react-toastify.md) ^8.2.0
- [soulswap-chain](https://npm.io/package/soulswap-chain.md) workspace:*
- [soulswap-hooks](https://npm.io/package/soulswap-hooks.md) workspace:*
- [@heroicons/react](https://npm.io/package/@heroicons/react.md) ^1.0.6
- [@fontsource/inter](https://npm.io/package/@fontsource/inter.md) ^4.5.10
- [@headlessui/react](https://npm.io/package/@headlessui/react.md) ^1.7.3
- [soulswap-currency](https://npm.io/package/soulswap-currency.md) workspace:*
- [@tailwindcss/forms](https://npm.io/package/@tailwindcss/forms.md) ^0.5.1
- [react-tiny-popover](https://npm.io/package/react-tiny-popover.md) ^7.1.0
- [use-resize-observer](https://npm.io/package/use-resize-observer.md) ^9.0.2
- [soulswap-token-lists](https://npm.io/package/soulswap-token-lists.md) workspace:*
- [@tanstack/react-table](https://npm.io/package/@tanstack/react-table.md) 8.5.0
- [@tailwindcss/line-clamp](https://npm.io/package/@tailwindcss/line-clamp.md) ^0.4.0
- [@tailwindcss/typography](https://npm.io/package/@tailwindcss/typography.md) ^0.5.2
- [@react-hook/window-scroll](https://npm.io/package/@react-hook/window-scroll.md) ^1.3.0
- [@tailwindcss/aspect-ratio](https://npm.io/package/@tailwindcss/aspect-ratio.md) ^0.4.0
- [react-virtualized-auto-sizer](https://npm.io/package/react-virtualized-auto-sizer.md) ^1.0.6

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2022-10-26

## README

# UI

UI library

## Goals

- Accessibility (jsx-a11y/strict enabled)

## Components

- App
  - Shell
  - Header
  - Nav
- Dialog
  - Actions
  - Content
  - Description
  - Header
- Menu
  - Button
  - List
  - Item
- Select
  - Button
  - Label
  - Option

## Lint

pnpm exec turbo run lint --scope=ui

## Component convention

FC is redudant, let's avoid unessasary inports and just use regular functions

type Props = {
children?: React.ReactNode
}

function Component({ children }: Props): JSX.Element {
return <>I'm a typed component</>
}

## Resources

https://react-typescript-cheatsheet.netlify.app/docs/advanced/patterns_by_usecase/#props-extracting-prop-types-of-a-component

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