NexoreUIv1.4
InstallationComponents41IconsNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
41 comps
Create Project
Studio
Installation
Components Overview
40+
Icons
300+
Categories6 groups
Button
Input
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Thinking Indicator
AI
Tool Call Card
AI
Agent Status Pill
AI
Command
Theme: indigo
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

Range Slider

component.tsx

Step Slider

Value0
component.tsx

Disabled Slider

component.tsx

Vertical Slider

component.tsx
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.