# burano

> Color Picker for React.

Latest version **2.0.2** (published 2023-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install burano
pnpm add burano
yarn add burano
bun add burano
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2023-09-04 |
| First published | 2021-06-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 16 |
| Dependencies | 3 |
| Unpacked size | 42.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | tobua |
| Keywords | color, picker, react |

## Links

- npm: https://www.npmjs.com/package/burano
- Repository: https://github.com/tobua/burano
- Homepage: https://tobua.github.io/burano
- Issues: https://github.com/tobua/burano/issues
- npm.io page: https://npm.io/package/burano

## Dependencies (3)

- [hex-rgb](https://npm.io/package/hex-rgb.md) ^5.0.0
- [rgb-hex](https://npm.io/package/rgb-hex.md) ^4.1.0
- [@react-hook/mouse-position](https://npm.io/package/@react-hook/mouse-position.md) ^4.1.3

## 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

- 2.0.2 (latest) — 2023-09-04
- 2.0.1 — 2023-04-01
- 2.0.0 — 2022-03-30
- 1.0.0 — 2021-06-01

## README

<img align="right" src="https://github.com/tobua/burano/raw/main/logo.png" width="15%" alt="burano Color Picker" />

# burano

🎨 Color Picker for React.

## Installation & Usage

```
npm install burano
```

```tsx
import React, { useState } from 'react'
import { ColorPicker } from 'burano'

export const MyPicker = () => {
  const [color, setColor] = useState('#00FF00')

  return <ColorPicker color={color} onColor={setColor} />
}
```

## Options

```tsx
<ColorPicker
    color={string} // The initial color, default black.
    onColor={(color: string) => void} // Handle new color, required.
    style={CSSProperties} // Styles applied to wrapper div, optional.
    input={boolean} // Show input, default true.
    palette={boolean} // Show color palette, default true.
/>
```

<br />
<br />
<p align="center">
  <img src="https://github.com/tobua/burano/raw/main/burano.png" alt="Burano island generated with hotpot.ai" width="300">
</p>

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