jshguo

Slider

Forms 45

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

    432
  • Select

    Select

    378
  • Textarea

    Textarea

    262
  • Interfaces Carousel

    Interfaces Carousel

    169
  • Input OTP

    Input OTP

    166
  • Switch

    Switch

    144
  • Hover Card

    Hover Card

    115
  • Card

    Card

    90

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

    614
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52