Primitives
Color Picker
Color input with picker UI, formats, presets, and contrast helpers.
Composition
The preferred shape for composing the installed primitive from its exported parts.
Parts
Exported compound parts from the installed source.
ColorPicker├── ColorPickerTrigger├── ColorPickerContent├── ColorPickerPanel├── ColorPickerArea├── ColorPickerAreaThumb├── ColorPickerHue├── ColorPickerAlpha├── ColorPickerWheel├── ColorPickerInput├── ColorPickerFormatSelect├── ColorPickerChannels├── ColorPickerChannel├── ColorPickerEyeDropper├── ColorPickerSwatches├── ColorPickerSwatch├── ColorPickerSwatchAdd├── ColorPickerContrast└── ColorPickerOutputThe refined source installs this primitive from src/registry/sources/refined/ui/color-picker.tsx. Install it on its own with the command above, or inspect the source below.
npx shadcn@latest add http://127.0.0.1:3000/r/refined/color-picker.jsonInstalled dependencies
Installed with this primitive because the slot depends on them; they are support files, not standalone sidebar items.
Color engine
src/registry/lib/color.tsSupportWCAG contrast
src/registry/lib/contrast.tsSupportColor area drag hook
src/registry/hooks/use-color-area.tsHookControl variants
src/registry/sources/refined/control-variants.tsSupportSurface variants
src/registry/sources/refined/surface-variants.tsSupportRaw code
Primary installed primitive source
Color picker slot
src/registry/sources/refined/ui/color-picker.tsx