kuratlielia

Slider

Forms 10

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

    524
  • Image Compare

    Image Compare

    227
  • Stats Band

    Stats Band

    166
  • User Menu

    User Menu

    119
  • Date Range Picker

    Date Range Picker

    111
  • Usage Meter

    Usage Meter

    83
  • Ridgeline Chart

    Ridgeline Chart

    70
  • Timeline

    Timeline

    62

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    613
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52