Back to Components
Components

Range Slider

Custom dual-handle range slider with value labels and keyboard support.

Budget range

MinimumMaximum
2080

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/range-slider.tsx

Installation

Using shadcn CLI

npx shadcn add range-slider --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge