Arihant jain

Dual Range Slider

Forms 36

About

An enhancement slider that allows you to select a range of values.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dual Range Slider to your project and fits it to your theme.

Code

How Dual Range Slider is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client';
import React, { useState } from 'react';
import { DualRangeSlider } from '@/components/ui/dual-range-slider';

const DualRangeSliderDemo = () => {
  const [values, setValues] = useState([0, 100]);

  return (
    <div className="w-full max-w-[400px] px-10">
      <DualRangeSlider
        label={(value) => value}
        value={values}
        onValueChange={setValues}
        min={0}
        max={100}
        step={1}
      />
    </div>
  );
};

export { DualRangeSliderDemo };

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    2K
  • Multistep Form

    Multistep Form

    750
  • Animated Drawer

    Animated Drawer

    701
  • Status Badge

    Status Badge

    587
  • Stacked Circular Footer

    Stacked Circular Footer

    455
  • Input Modal

    Input Modal

    368
  • Profile Dropdown

    Profile Dropdown

    215
  • Large Name Footer

    Large Name Footer

    204

More in Forms

View all
  • Premium Auth

    Premium Auth

    567
  • Login 2

    Login 2

    12
  • Form

    Form

    139
  • Book A Demo 1

    Book A Demo 1

    90
  • Contact Card

    Contact Card

    1.1K
  • Authentication Card

    Authentication Card

    51
  • Card Studio

    Card Studio

    46
  • Login 1

    Login 1

    62