Search code examples
javascriptreactjsreact-nativereact-native-paper

Slider toggle button in react native?


I would like to add one of these slider toggle buttons to my react native app. Are there any easy ways to do this without starting from scratch?

Example video


Solution

  • The idea is make the background can be animated.

    enter image description here

    See the sample i've created.

    Happy coding!