Draggable Color Picker
A production-scale, light + dark Draggable Color Picker component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add draggable-color-pickerLive preview available in the gallery.
Usage
import { DraggableColorPicker } from "@lerpa/ui";
<DraggableColorPicker />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| onColorChange | (color: string) => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.