KodeKarsa UI

Forms

Swatch Picker

One color from a short set, as round radios.

src/components/ui/swatch-picker.tsxBehavior from @ui-sdk/react/radio

Label color

Import

tsx
import { SwatchPicker } from "@/components/ui/swatch-picker";

Guidelines

  • Every color has a name for screen readers.