Usage
import { ColorPicker } from "lambda-ui-components";
<ColorPicker />Color Picker component is a form element that allows users to select a color
Experiment with all the properties of the ColorPicker component in real time.
Defines the output format of the selected color.
Adjusts the overall size of the color picker.
Shows or hides the text input field.
Disables all interactions.
import { ColorPicker } from "lambda-ui-components";
<ColorPicker />Prop | Default | Type |
|---|---|---|
size | "medium" | "tiny" | "small" | "medium" | "large" |
variant | "solid" | "solid" | "soft" |
format | "hex" | "hex" | "rgb" | "rgba" | "hsl" | "hsla" |
disabled | false | boolean |
showText | false | boolean |
onChange | undefined | (value: string) => void |
value | "" | string |