HomeGuidesReferenceLearn

Reference version

ArchiveExpo SnackDiscord and ForumsNewsletter

Slider

GitHub

npm

A React Native component library that provides access to the system UI for a slider control.


This library is listed in the Expo SDK reference because it is included in Expo Go. You may use any library of your choice with development builds.

A component library that provides access to the system UI for a slider control, that allows users to pick among a range of values by dragging an anchor.

Platform Compatibility

Android DeviceAndroid EmulatoriOS DeviceiOS SimulatorWeb

Installation

Terminal
npx expo install @react-native-community/slider

If you are installing this in an existing React Native app (bare workflow), start by installing expo in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.

Usage

See full documentation at @react-native-community/slider.