# HeroUI Color Picker

> HeroUI v3 ColorPicker is a trigger + popover color picker that composes a swatch trigger with an interactive picker surface — color area, sliders, fields and swatch presets — for selecting a color in any format. Built on the real @heroui/react package with @heroui/styles, it supports controlled and uncontrolled value, editable channel fields, hue/alpha sliders, and preset swatches. A thin re-export of the upstream component so consumers install and render the genuine HeroUI primitive.

- Author: [Hero Ui](https://21st.dev/@hero_ui)
- License: mit
- Tags: Input, Popover, Color Picker, Slider, Picker
- npm dependencies: @heroui/react, @heroui/styles
- Live preview: https://21st.dev/@hero_ui/components/heroui-color-picker

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/hero_ui/heroui-color-picker?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/input.md
