ColorSlider

A component for selecting a color using a slider. Provides interactive color selection with proper accessibility semantics.

Examples

Disabled

HSLA

RGBA

Props

isDisabled
boolean—
id
string—
name
string—
value
string | Color—
defaultValue
string | Color—
onChange
((value: Color) => void)—
channel
ColorChannel—
colorSpace
ColorSpace—
onChangeEnd
((value: Color) => void)—
orientation
Orientation'horizontal'
children
ReactNode | ((values: ColorSliderRenderProps & { defaultChildren: ReactNode; }) => ReactNode)—
className
string | ((values: ColorSliderRenderProps & { defaultClassName: string; }) => string)—
style
CSSProperties | ((values: ColorSliderRenderProps & { defaultStyle: CSSProperties; }) => CSSProperties)—
slot
string | null—