Skip to content

ColorPicker

Color selection with HSB picker.

Import

tsx
import { ZColorPicker } from "@zurto/ui";

Usage

tsx
<ZColorPicker value="#df3e53" onChange={setColor} />

Props

PropTypeDefaultDescription
valuestringColor value (hex)
onChange(color: string) => voidChange handler
presetsstring[]Preset colors
showAlphabooleanfalseShow alpha slider

Released under the MIT License.