This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Slider
A control for selecting a value from a continuous or stepped range.
Android
iOS
Web
Included in Expo Go
Recommended version:
~56.0.26
A controlled slider for selecting a numeric value within a range. Pair value with onValueChange to manage state from React.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Continuous slider
The default range is [0, 1].
ContinuousSliderExample.tsx
Stepped slider with custom range
Use min, max, and step to constrain the values produced by the slider.
SteppedSliderExample.tsx
API
import { Slider } from '@expo/ui';
No API data file found, sorry!