easy-rn-slider-button
v1.0.2
Published
A customizable slider button for React Native.
Maintainers
Readme
react-native-slider-button
A customizable slider button component for React Native.
Useful for "Slide to unlock", "Swipe to confirm", or similar interactions.
Installation
npm install easy-rn-slider-button
# or
yarn add reasy-rn-slider-button
## Usage
```jsx
import React from "react";
import { View } from "react-native";
import SliderButton from "easy-rn-slider-button";
export default function App() {
return (
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<SliderButton
backgroundColor="#ecf0f1"
height={60}
buttonColor="#3498db"
progressColor="#3498db"
textColor="#2c3e50"
text="Slide to save"
completedText="💾 Saved!"
buttonIcon=""
onComplete={() => console.log('Save action!')}
/>
</View>
);
}