TrademarkTrademark
Docs
Ctrl k
Search docs...
Form Controls

RangeSlider

Updated: October 18, 2026
View on GitHub
Soon
Not released yet. This is on main and is not in any published version yet. It will not install today.

RangeSlider selects a [start, end] range. A press on the track brings the nearer thumb to your finger and drags it. The two thumbs never cross, and minDistance keeps them apart. Each thumb is its own adjustable element for screen readers, bounded by the other one. See the web RangeSlider for the browser version.

Basic usage

Without value the range starts at defaultValue, or the whole track.

Controlled with a gap

Pass value and onChange to own the range. onChange always gets the start first. minDistance is the smallest gap the thumbs keep.

Differences from the web

  • Drags go through a PanResponder on the track. When both thumbs sit on the same value, the first move decides which one moves, as on the web.
  • There is no name prop and no hidden inputs, since React Native has no forms. Read the range from onChange.
  • Screen readers move a thumb with the increment and decrement actions instead of the arrow, Page and Home/End keys.
  • RangeSlider does not take Flex props. Use style for the outer view.

API reference

Prop
Type
Default
Description
value[number, number]The range, when the host owns the state. Pair with onChange.
defaultValue[number, number][min, max]The starting range when the slider keeps its own state.
onChange(value: [number, number]) => voidCalled with the new range, start first.
minnumber0The lowest value.
maxnumber100The highest value.
stepnumber1Values land on multiples of this from min.
minDistancenumber0The smallest gap the thumbs keep.
labelstringA label above the track.
showValuebooleanfalseShows the range beside the label.
formatValue(value: number) => stringStringHow a value reads in the readout and to screen readers.
thumbLabels[string, string]["Minimum", "Maximum"]The thumbs' accessible names, start first.
disabledbooleanfalseDims the slider. It ignores drags and actions.
styleViewStyleStyle for the outer view.
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club