NOCTA UI

Slider

A customizable range slider component with variants, orientations, and accessibility support for value selection

Installation

Install the Slider component using the nocta-ui CLI:

npx @nocta-ui/cli add slider

Import the component:

import { Slider } from '@/components/ui/slider';

Examples

Default Slider

Secondary Slider

Sizes

Show Value

42

Custom Range & Formatting

22°C
7

Step Values

20

Vertical Orientation

Default
Secondary Large

Disabled State

Api Reference

Prop

Type