$ git show wave-bars

Equalizer bars

Basic/anim wave-bars

A few bars bounce up and down out of step, the classic now-playing or voice-input indicator.

Main · New Architecture only · worklets live in react-native-worklets
animationNameanimationDelayanimationDirection
wave-bars.tsx · reanimated 4
// Reanimated 4: one CSS animation, alternating, with a negative delay per bar
const bounce = {
  from: { transform: [{ scaleY: 0.3 }] },
  to: { transform: [{ scaleY: 1 }] },
};

<View style={{ flexDirection: 'row', alignItems: 'flex-end', gap: 5, height: 44 }}>
  {[0, -300, -600, -150, -450].map((d, i) => (
    <Animated.View
      key={i}
      style={[styles.bar, {
        transformOrigin: 'bottom',
        animationName: bounce,
        animationDuration: '450ms',
        animationDelay: d + 'ms', // negative: start mid-cycle, no waiting
        animationIterationCount: 'infinite',
        animationDirection: 'alternate',
        animationTimingFunction: 'ease-in-out',
      }]}
    />
  ))}
</View>