๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข
Forms

Slider

Range slider with fill track, value display, min/max labels, and custom thumb styling

Quick Preview

Volume60
0100

Installation

// Copy the Slider component from
src/components/forms/Slider.tsx

Usage

'use client'
import { useState } from 'react'
import { Slider } from '@/components/forms/Slider'
export default function Example() {
const [volume, setVolume] = useState(60)
return (
<Slider
value={volume}
onChange={setVolume}
label="Volume"
showValue
/>
)
}

Examples

Custom Step

Step: 1050
0100

Custom Min / Max

Temperature (ยฐC)22
1630

Multiple Sliders

Brightness80
0100
Contrast50
0100
Saturation60
0100

Disabled

Locked40
0100

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
value*number-Current slider value
onChange*(value: number) => void-Value change handler
minnumber0Minimum value
maxnumber100Maximum value
stepnumber1Step increment
labelstring-Label text above the slider
showValueboolean-Show current value beside label
disabledboolean-Disable the slider

Features

  • โœ“Custom fill track (primary color)
  • โœ“Custom styled thumb
  • โœ“Label and live value display
  • โœ“Min / Max labels below track
  • โœ“Keyboard accessible (arrow keys)
  • โœ“Client Component