NexoreUI
2.0
InstallationComponentsIconsTemplatesNewNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesNexore MakeCreate Project
InstallationComponents OverviewIcons
Categories (65)
ButtonInputCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerce
Modal (Dialog)AlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial
Aurora Border CardAurora Search PillAI Prompt InputCommandInteractive Code BlockPro AI
Media ShowcaseOverlays & DrawersPro ButtonsPro DashboardsPro E-CommercePro FeedbackPro FormsPro InputsPro LayoutsPro ListsPro MarketingPro NavigationPro TablesSpecial FormsUltra Components
OverviewPro CardsPro ObjectsSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
DocsSlider

Slider

Range input sliders for value selection.

PreviousSwitch
NextRating
On This Page
Quick ActionsProject StudioNewNexore 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.