$ git show text-reveal

Staggered text reveal

Basic/anim text-reveal

A headline fades in word by word, each word rising into place a beat after the one before.

Main · New Architecture only · worklets live in react-native-worklets
animationNameanimationDelayCSS animations
text-reveal.tsx · reanimated 4
// Reanimated 4: one keyframe object, a growing animationDelay per word
const rise = {
  from: { opacity: 0, transform: [{ translateY: 14 }] },
  to: { opacity: 1, transform: [{ translateY: 0 }] },
};
const words = title.split(' ');

<View style={{ flexDirection: 'row', flexWrap: 'wrap' }}>
  {words.map((word, i) => (
    <Animated.Text
      key={word + i}
      style={[styles.title, {
        animationName: rise,
        animationDuration: '450ms',
        animationDelay: i * 80 + 'ms',
        animationFillMode: 'both', // stay hidden during the delay
        animationTimingFunction: 'ease-out',
      }]}>
      {word + ' '}
    </Animated.Text>
  ))}
</View>