NexoreUI
InstallationComponentsNexore MakeGitHub
GitHub
NexoreUIv0.1.2

Getting Started

Installation

Components

ButtonInputCardBadgeAlertAvatarAccordionModal / DialogTooltipTabsProgressSkeletonSliderSwitchRatingCommandTableStepperScroll AreaFile UploadNavigationIconsDock

Pro

ChartsData DisplayDark Mode ToolkitCommerceCookie ConsentSocialPremium EffectsLoaders

Animated

MarqueeNumber TickerAnimated NumberTyping AnimationBlur FadeBox RevealFile Preview CardImage Compare
MIT License
DocsSlider

Slider

Range input sliders for value selection.

Next ComponentRating

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

Slider Playground
nexoreui
Live Preview
Props Panel
number

Current position of the slider thumb

number

Minimum allowed value

number

Maximum allowed value

number

Step increment between values

boolean

Whether to render current value label

Generated Code
Open in GitHub
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.