pearpages

Slider

Forms

About

An accessible slider for picking a single number or a min/max range on a track, with keyboard, drag and screen-reader 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 VerticalSliderDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-background p-8 text-foreground">
      <Slider orientation="vertical" label="Level" />
    </div>
  );
}

Dependencies

More by pearpages

View all
  • Popover

    Popover

    4
  • Switch

    Switch

More in Forms

View all
  • Premium Auth

    Premium Auth

    537
  • Contact Card

    Contact Card

    1K
  • Login 2

    Login 2

    10
  • Card Studio

    Card Studio

    45
  • Book A Demo 1

    Book A Demo 1

    78
  • Form

    Form

    17
  • Login Card

    Login Card

    30
  • Split Sign In Form

    Split Sign In Form

    83