Native waveform
Rounded bars decoded from the audio on the device, with placeholder bars while loading and a playhead that fills the current bar up to the exact pixel.
Styling
One Fabric component plays any local or remote audio file and renders a play button, an animated waveform you can scrub, a time label and a speed pill. Swift on iOS, Kotlin on Android, no JavaScript in the playback or drawing loop.
npm install react-native-waveform-player
cd ios && pod installyarn add react-native-waveform-player
cd ios && pod installnpx expo install react-native-waveform-player
npx expo prebuildSee Installation for requirements and Expo details.
import { AudioWaveformView } from 'react-native-waveform-player';
<AudioWaveformView
source={{ uri: 'https://example.com/voice-note.m4a' }}
style={{ height: 56 }}
/>;Web approximation of the native component, playing a short clip generated in your browser. Layout and behavior follow the iOS implementation; real rendering is native.
Change colors, bar size and more in the styling playground.


This library plays and visualizes audio. To record voice notes with a live waveform, see the sister library react-native-waveform-recorder.