react-native-animated-text
is a simple React Native component that provides animations for text. You can animate text in different ways (e.g., fade-in, fade-out) and customize its behavior with props like duration, starting delay, iterations, and buffer.
- Animation Types: Fade-in, fade-out and many more.
- Customizable Styles: Apply custom text and container styles.
- Control Animation: Set duration, starting delay, buffer and many more.
npm install react-native-animated-text
import AnimatedText from 'react-native-animated-text';
<AnimatedText
text="Hello, World!"
animationType="fade-in"
duration={1000}
startingDelay={500}
iterations={3}
buffer={200}
textStyle={{ fontSize: 20 }}
containerStyle={{ margin: 20 }}
/>
- text: The text to animate.
- textStyle: Custom style for the text.
- containerStyle: Custom style for the container.
- animationType: Animation to apply (e.g., 'fade-in', 'fade-out', 'none').
- duration: Duration of the animation (in milliseconds).
- startingDelay: Delay before starting the animation (in milliseconds).
- slideDistance: Distance for slide animations.
- zoomScale: Scale for zoom animations.
- iterations: How many times the animation should repeat.
- buffer: Cooldown between animation iterations.
- rotationDegrees: Degrees for rotation animations.
- bounceHeight: Height for bounce animations.
Apache-2.0
Created and maintained B G Vinayak