# ColorSlider (@salmonui/inputs/color-picker)

> The ColorSlider component of @salmonui/inputs/color-picker: One channel of a color: a CSS-gradient track with a thumb over a visually hidden range input (APG Slider). aria-valuetext names the hue ("120°, green") or the opacity ("50%"). Horizontal sliders mirror in right-to-left content, keys included.

Canonical: https://salmonui.dev/docs/reference/inputs/color-picker/ColorSlider

```ts
import { ColorSlider } from '@salmonui/inputs/color-picker';
```

Entry index: https://salmonui.dev/docs/reference/inputs/color-picker (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/color-picker.md).

## Reference

Kind: component

```ts
function ColorSlider(props: ColorSliderProps): ReactNode;
```

One channel of a color: a CSS-gradient
track with a thumb over a visually hidden range input (APG Slider).
`aria-valuetext` names the hue ("120°, green") or the opacity ("50%").
Horizontal sliders mirror in right-to-left content, keys included.

Props: [`ColorSliderProps`](https://salmonui.dev/docs/reference/inputs/color-picker/ColorSliderProps) (its members are the props)
