Arihant jain

Dual Range Slider

Forms 34

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

    1.9K
  • Multistep Form

    Multistep Form

    707
  • Animated Drawer

    Animated Drawer

    692
  • Status Badge

    Status Badge

    504
  • Stacked Circular Footer

    Stacked Circular Footer

    423
  • Input Modal

    Input Modal

    325
  • Large Name Footer

    Large Name Footer

    196
  • Profile Dropdown

    Profile Dropdown

    193

More in Forms

View all
  • Premium Auth

    Premium Auth

    518
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    72
  • Login 1

    Login 1

    52
  • Authentication Card

    Authentication Card

    48
  • Login Card

    Login Card

    6
  • Form

    Form

    16
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K