Timing animations can loop indefinitely. Set theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AppAndFlow/react-native-ease/llms.txt
Use this file to discover all available pages before exploring further.
loop option on a timing transition to one of two modes:
'repeat'— restarts the animation from the beginning each cycle'reverse'— alternates direction, animating forward then backward
initialAnimate is required for looping. It defines the starting value the animation resets to (for 'repeat') or reverses from (for 'reverse'). Without it, the loop has no defined start point.Examples
Pulsing opacity
Usesloop: 'reverse' to fade between 0.3 and 1 continuously.
Marquee-style scroll
Usesloop: 'repeat' to scroll content from its starting position to -300 pixels, then jump back and repeat.
Loop modes compared
| Mode | Behavior | Common use cases |
|---|---|---|
'repeat' | Jumps back to initialAnimate value and plays again | Marquee scroll, progress indicators |
'reverse' | Plays forward to animate, then backward to initialAnimate, and repeats | Pulse, breathe, shimmer |