Skip to main content
React Native Switchery is available as an npm package. You can install it using your preferred package manager.

Prerequisites

Before installing React Native Switchery, ensure you have:
  • React Native 0.60 or higher
  • React 16.8 or higher (for Hooks support)

Package Installation

npm install react-native-switchery
No additional native linking is required. React Native Switchery uses only JavaScript and React Native’s built-in Animated API.

Verify Installation

After installation, you can verify that the package is correctly installed by checking your package.json file or by importing the component:
import { Switch } from 'react-native-switchery';
If the import succeeds without errors, you’re ready to use React Native Switchery in your project.

Next Steps

Quickstart

Learn how to use the Switch component with a complete working example

Build docs developers (and LLMs) love