
UI Components
Configure and preview the UI components in real-time.
Configuration
Customize the Color Picker component properties
Display preset color swatches
Enable transparency control
Show preview swatch in popover
Display section labels (Color, Hue, Hex)
Display the current color value
Position of the hue slider relative to the color area
Disable the color picker
Use custom preset colors
Live Preview
Interactive preview of your configured Color Picker
showPresets
showPreview=false
Code
Use this component in your project by copying and pasting the code below
<ColorPicker
defaultValue="#ffffff10"
showPresets={true}
showPreview={false}
onValueChange={(color) => console.log(color)}
/>Installation
via CLI (shadcn)
pnpx shadcn@latest add https://ui.steellgold.fr/r/color-picker.json