Origin UI

Slider

Forms 175

About

Enhanced shadcn/ui slider

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

import { Label } from "@/components/ui/label";
import { Slider } from "@/components/ui/slider";

function Component() {
  return (
    <div className="space-y-4 min-w-[300px]">
      <Label>Simple slider</Label>
      <Slider defaultValue={[25]} aria-label="Simple slider" />
    </div>
  );
}

export { Component };

Dependencies

More by Origin UI

View all
  • Dialog

    Dialog

    1.3K
  • Avatar

    Avatar

    1K
  • useImageUpload

    useImageUpload

    951
  • usePagination

    usePagination

    636
  • Popover

    Popover

    390
  • Button

    Button

    382
  • Command

    Command

    345
  • Calendar [React Day Picker]

    Calendar [React Day Picker]

    270

More in Forms

View all
  • Form

    Form

    18
  • Premium Auth

    Premium Auth

    570
  • Login 1

    Login 1

    63
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    91
  • Book A Demo 3

    Book A Demo 3

    102
  • Card Studio

    Card Studio

    47
  • Login Card

    Login Card

    35