l2logic2b/ui

Slider

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

Installation

npx logic2b@latest add slider

Usage

import { Slider } from "@/components/ui/slider"

<Slider defaultValue={[50]} max={100} step={1} />