The browser's colour chooser with a swatch that shows any CSS colour.
Example
<ColorPicker defaultValue="#2563eb" aria-label="Accent colour" />
Usage
Pages are built on the server: import the tags from @dash/server and return the tree. The browser runtime draws it.import { ColorPicker } from "@dash/server";
Props
ColorPickerProps
Also takes everything Omit<InputProps, "type" | "value" | "defaultValue"> does.| value | string | |
| defaultValue | string | |