jshguo

Slider

Forms 43

About

Slider component built on Radix UI — supports single value and range selection.

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/interfaces-slider"

export default function SliderDemo() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
      <div className="w-full max-w-sm">
        <Slider defaultValue={[60]} min={0} max={100} step={1} />
      </div>
    </div>
  )
}

Dependencies

More by jshguo

View all
  • Progress

    Progress

    429
  • Select

    Select

    376
  • Textarea

    Textarea

    261
  • Interfaces Carousel

    Interfaces Carousel

    163
  • Input OTP

    Input OTP

    161
  • Switch

    Switch

    139
  • Hover Card

    Hover Card

    112
  • Card

    Card

    88

More in Forms

View all
  • Premium Auth

    Premium Auth

    564
  • Login 2

    Login 2

    12
  • Book A Demo 1

    Book A Demo 1

    90
  • Contact Card

    Contact Card

    1.1K
  • Authentication Card

    Authentication Card

    51
  • Form

    Form

    139
  • Card Studio

    Card Studio

    46
  • Login 1

    Login 1

    62