Docs
Slider

Slider

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

Installation

npx shadcn-ui add slider
npx shadcn-ui add slider

Usage

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