Elements Color Picker
Back to Elements

Color Picker

0 components

UI elements you can copy into your project.

API reference

Generated from each primitive's $props() declaration.

color-picker

Color selection interface.

Prop Type Default Description
ref bind: HTMLElement | null null
value bind: string "#000000"
class as className string
size "sm" | "default" | "lg" "default"
showInput boolean true
onchange
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.