kuratlielia

Slider

Forms 7

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

    511
  • Image Compare

    Image Compare

    182
  • Stats Band

    Stats Band

    128
  • User Menu

    User Menu

    112
  • Date Range Picker

    Date Range Picker

    91
  • Usage Meter

    Usage Meter

    72
  • Ridgeline Chart

    Ridgeline Chart

    55
  • Timeline

    Timeline

    55

More in Forms

View all
  • Login 1

    Login 1

    63
  • Premium Auth

    Premium Auth

    570
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Book A Demo 1

    Book A Demo 1

    91
  • Authentication Card

    Authentication Card

    52
  • Card Studio

    Card Studio

    47
  • Login Card

    Login Card

    35