Documentation
Components
Slider

Slider

An input where the user selects a value from within a given range.

Installation

npx shadcn@latest add https://exawizards.com/exabase/design/registry/slider.json

Usage

import { Slider } from "@/components/ui/slider"
<Slider defaultValue={[33]} max={100} step={1} />

API

See the Slider – Radix Primitives (opens in a new tab) documentation.

Example

Disabled

With Icon

50

With Label