This component no longer exists. It was in diceui/base’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
color-picker-inline-demo
diceui-base/color-picker-inline-demoRemovedExample
diceui/base publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/sadmann7/diceui/HEAD/docs/public/r/styles/base-vega/color-picker-inline-demo.jsonSource
1"use client";23import * as React from "react";4import {5 ColorPicker,6 ColorPickerAlphaSlider,7 ColorPickerArea,8 ColorPickerEyeDropper,9 ColorPickerFormatSelect,10 ColorPickerHueSlider,11 ColorPickerInput,12 ColorPickerSwatch,13} from "@/registry/bases/base/ui/color-picker";1415export default function ColorPickerInlineDemo() {16 const [color, setColor] = React.useState("#f59e0b");1718 return (19 <ColorPicker20 value={color}21 onValueChange={setColor}22 inline23 defaultFormat="hex"24 >25 <div className="flex flex-col gap-4">26 <div className="flex items-center gap-3">27 <ColorPickerSwatch className="size-8" />28 <span className="font-medium text-sm">Selected Color</span>29 </div>30 <div className="flex flex-col gap-4 rounded-lg border p-4">31 <ColorPickerArea />32 <div className="flex items-center gap-2">33 <ColorPickerEyeDropper />34 <div className="flex flex-1 flex-col gap-2">35 <ColorPickerHueSlider />36 <ColorPickerAlphaSlider />37 </div>38 </div>39 <div className="flex items-center gap-2">40 <ColorPickerFormatSelect />41 <ColorPickerInput />42 </div>43 </div>44 </div>45 </ColorPicker>46 );47}
What it pulls in
Other registry items
