ColorPicker
@randall-enterprises/ui/components/primitives/color-pickerBatteries-included color popover. The drop-in replacement for <input type=color>.
Props (7)
valuestringdefaultValuestringColour the picker opens on when `value` is unset.onChange(value: string) => voidfooterReactNodeRendered under the picker — a "Clear" action, presets, and so on.alignComponentProps<typeof PopoverContent>["align"]swatchClassNamestringrecentsKeystring`localStorage` key for the recent-colours row. Omit it and no history isClick the swatch to open the picker.