jatui

ColorSelector

DaisyUI semantic color picker; selected swatch springs up with a ✓ pop

Default (expanded)

Swatch springs to ×1.2 with a ✓ pop — ≤200ms, single overshoot

Compact (closes after pick)

Selected: primary

Available colors

primarysecondaryaccentneutralinfosuccesswarningerror

Props

PropTypeDefaultDescription
selectedColorstring | nullnullCurrently selected color name
onSelect(color: string | null) => void-Called when a color is picked
colorLabelstring"Collection Color"Label shown on the trigger row
compactbooleanfalseAuto-close after selection