# @won-ui/core

> 학습을 위한 ui library 입니다.

Latest version **0.0.18** (published 2022-12-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @won-ui/core
pnpm add @won-ui/core
yarn add @won-ui/core
bun add @won-ui/core
```

## 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.0.18 |
| Published | 2022-12-05 |
| First published | 2022-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 101.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | won-ui |
| Keywords | won-ui, won, react, react-component |

## Links

- npm: https://www.npmjs.com/package/@won-ui/core
- Repository: https://github.com/woongjang/won-ui
- Homepage: https://github.com/woongjang/won-ui#readme
- Issues: https://github.com/woongjang/won-ui/issues
- npm.io page: https://npm.io/package/@won-ui/core

## Dependencies (1)

- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.10.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.18 (latest) — 2022-12-05
- 0.0.17 — 2022-12-03
- 0.0.16 — 2022-11-24
- 0.0.15 — 2022-11-24
- 0.0.14 — 2022-11-23
- 0.0.13-test.0 — 2022-11-17
- 0.0.13 — 2022-11-13
- 0.0.12 — 2022-11-06
- 0.0.11 — 2022-11-05
- 0.0.10 — 2022-11-05
- 0.0.9 — 2022-11-05
- 0.0.8 — 2022-11-05
- 0.0.7 — 2022-11-02
- 0.0.6 — 2022-10-28
- 0.0.5 — 2022-10-27
- … 5 more at https://npm.io/package/@won-ui/core/versions

## README

# won-ui
학습을 위한 ui library 입니다.

<br/> 

## 제작 의도

- 많이 사용하는 ui-library들은 어떻게 구성했는가를 고민하며 작성중입니다.
- turborepo를 통해서 모노레포 형태의 패키지로 이전했으며, 현재 이전 버전의 won-ui 컴포넌트들을 이전 중입니다. (select, layout ...)

<br/>

## Installation

```Javascript
  npm install @won-ui/core
```

```Javascript
  yarn add @won-ui/core
```

<br/>

## 개발된 컴포넌트

- Button
- Checkbox
- Heading
- IconActivator
- Input
- InputBox
- Stack
- Switch
- Tag
- Text
- TextInput
- Pagination (^0.0.16)
- Modal

<br/>

## 개발중인 컴포넌트

- Select
- Table
- Carousel
- Infinite Scroll

<br/>


## Tech

- turborepo
- React
- Typescript
- emotion
- storybook
- jest
- testing-library
- phosphor(icon library)

<br/>

~~아래 Usage는 이전 버전의 won-ui 입니다.~~

<br/>

<details>
<summary>Select</summary>
<div>

```Typescript
import React from 'react';
import {
  WonSelect,
  WonSelectLabel,
  WonSelectOptionItem,
  WonSelectOptionList
} from '../components';

export default function ExampleComponent() {
  const items = ['OPTION1 ', 'OPTION2 ', 'OPTION3 ', 'OPTION4 ', 'OPTION5 '];
  const [selectItem, setSelectItem] = React.useState(items[0]);
  const handleChangeItem = (value: string) => {
    // ~~~~
    setSelectItem(value);
  }
  return (
    <WonSelect onChange={handleChangeItem} value={selectItem}>
      <WonSelectLabel>{selectItem}</WonSelectLabel>
      <WonSelectOptionList>
        {items.map((optionValue) => (
          <WonSelectOptionItem key={optionValue} value={optionValue}>
            {optionValue}
          </WonSelectOptionItem>
        ))}
      </WonSelectOptionList>
    </WonSelect>
  );
}

```

</div>
</details>

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