Skip to Content
npm i @clxrity/react-audio

AudioRecorder

The <AudioRecorder /> component provides an easy-to-use interface for recording audio via the user’s microphone, complete with live waveform visualization and download capabilities.


"use client"; import { AudioRecorder } from "@clxrity/react-audio"; export default function Example() { return <AudioRecorder waveColor="#00ff00" />; }


Props



PropertyTypeDescriptionRequiredDefault Value
waveColorstringThe color of the waveform & preview.rgb(236, 106, 177)
widthnumberThe width of the audio recorder.400
heightnumberThe height of the audio recorder.80
Last updated on

AudioRecorder