kuratlielia

Slider

Forms 3

About

A draggable range/value slider input with a rolling-number value bubble, rubber-band drag resistance, marks, and keyboard support.

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

Code

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

Usage.tsx

"use client";

import Slider from "@/components/ui/slider";

export default function SliderDemo() {
  return (
    <div className="flex w-full max-w-sm items-center justify-center p-6">
      <Slider label="Volume" defaultValue={40} />
    </div>
  );
}

Dependencies

More by kuratlielia

View all
  • Activity Heatmap

    Activity Heatmap

    495
  • Image Compare

    Image Compare

    137
  • User Menu

    User Menu

    103
  • Date Range Picker

    Date Range Picker

    76
  • Stats Band

    Stats Band

    74
  • Usage Meter

    Usage Meter

    54
  • Signature Pad

    Signature Pad

    40
  • Timeline

    Timeline

    38

More in Forms

View all
  • Contact Card

    Contact Card

    1K
  • Premium Auth

    Premium Auth

    525
  • Form

    Form

    16
  • Card Studio

    Card Studio

    41
  • Login 2

    Login 2

    7
  • Book A Demo 3

    Book A Demo 3

    90
  • Book A Demo 1

    Book A Demo 1

    74
  • HeroUI Field Error

    HeroUI Field Error

    10