View as Markdown

API reference: @salmonui/inputs/color-picker

ColorInputtype

import type { ColorInput } from '@salmonui/inputs/color-picker';
type ColorInput = string | Color;

A value prop of the color components: a color string or a Color.