Atelier UI

Search components…

Search components…

Color Picker

Color picker with a saturation/brightness area, hue bar, hex input and presets, with keyboard nudging.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

ColorPickerProps

Also accepts all props of Omit<React.ComponentProps<"div">, "onChange" | "defaultValue">

PropTypeDefaultDescription
defaultValuestring——
onValueChange(hex: string) => void——
swatchesstring[]DEFAULT_SWATCHES—

Install

$ npx shadcn@latest add https://chromotion.dev/r/color-picker.json

More like this