Docs
Slider

Slider

Slider component is an interactive input element where the user can select a value from within a given range. It provides a visual representation of the selectable range with a movable handle, allowing users to slide and choose a specific value. Sliders are commonly used for settings, adjustments, or any scenario where a continuous range of values needs to be selected. The Slider component enhances the user experience by providing an intuitive and interactive way to input numerical or adjustable values.

Installation

yarn add @camped-ui/slider

Usage

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