NexoreUIv1.8.6
InstallationComponents61IconsTemplatesNEWNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
61 comps
Create Project
Studio
Installation
Components Overview
60+
Icons
300+
Categories6 groups
Button
Input
Checkbox
AI
Select
AI
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Aurora Border Card
AI
Aurora Search Pill
AI
AI Prompt Input
AI
Command
Interactive Code Block
AI
Pro AI
AI
Theme: cyan
Studio
DocsSlider

Slider

Range input sliders for value selection.

NextRating
On This Page
Quick Actions
Project Studio
New
Nexore Make (AI)Source on GitHub

Sliders

Input component to select a single value or range from a scale.

When to use

default sliderSelecting a single value within a defined range (volume control, brightness, zoom percentage)
range sliderSelecting a sub-range with two handles (price range filters, date range bounds)
discrete sliderSelecting values with specific, constrained increments (rating scales, clothing sizes 1-5)

Interactive Playground

Live CanvasInteractive
Controls(5)
value
number

Current position of the slider thumb

min
number

Minimum allowed value

max
number

Maximum allowed value

step
number

Step increment between values

showValue
boolean
Toggle state:

Whether to render current value label

Generated JSX
Source
import { Slider } from "nexoreui"

<Slider />

Default Slider

component.tsx
1

Range Slider

component.tsx
1

Step Slider

Value30
component.tsx
1

Disabled Slider

component.tsx
1

Vertical Slider

component.tsx
1
Page 1 of 3

Slider Props

API Reference (Props)

PropTypeDefaultDescription
minnumber0The minimum value of the slider.
maxnumber100The maximum value of the slider.
stepnumber1The step value increment.
valuenumber0The current value of the slider.
onChange(value: number) => void—Callback function called when the value changes.
showValuebooleanfalseWhether to show the current value above the slider.
variant"default" | "success" | "warning" | "error""default"The visual style variant.
classNamestring—Additional custom class names.

RangeSliderInput Props

API Reference (Props)

PropTypeDefaultDescription
defaultValuenumber[][20, 80]The default initial range values.
minnumber0The minimum range value.
maxnumber100The maximum range value.
stepnumber1The step increment.
onChange(value: number[]) => void—Callback function called when values change.
classNamestring—Additional custom class names.

Accessibility (a11y)

  • Keyboard Support: Fully keyboard navigable. Use Right Arrow / Up Arrow to increment, and Left Arrow / Down Arrow to decrement.
  • ARIA Roles: Automatically maps to role="slider" with correct aria-valuemin, aria-valuemax, and aria-valuenow attributes.