Colors

Color Slider

A horizontal or vertical slider used to adjust individual color properties like hue, saturation, or brightness.

Basic

Glide through gradients to select the perfect intensity or shade, as effortlessly as slipping into your favorite jeans.

Loading...

Installation

npx shadcn@latest add @intentui/color-slider

Composed components

When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.

This component comes packed with several components to enhance functionality and provide a seamless experience.

Manual installation

npm i react-aria-components

Anatomy

import { ColorSlider } from "@/components/ui/color-slider"

<ColorSlider channel="hue" />

With label

Enhance the color slider by adding a label for clarity and accessibility.

Loading...

Orientation

By default, the color slider is horizontal. You can change it to vertical by setting the orientation prop to vertical.

Loading...

Controlled

Take direct control over the color slider's value.

Loading...

Disabled

Disable interaction with the color slider using the isDisabled prop.

Loading...
Unlock the full power of
Design Intent UI
Build modern web apps faster with 350+ blocks and polished templates crafted for professionals.
Explore