Frameworks · Live example
React waveform component
Create a waveform in React and connect playback state to component controls.
Playground: v8.0.0-beta.4. Written guides cover v7; check the version before copying code into your project.
Live preview
Interact with the waveform belowLoading example…
JavaScript
Open raw source · Edits stay in this page. Click Run to update the preview.
Try it yourself
Make it your own
Play and pause using the React controls. Inspect the component lifecycle and how it keeps playback state in sync.
Understand the implementation in the guide, or look up the available options, methods, and events.