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
Property | Type | Description | Required | Default Value |
---|---|---|---|---|
waveColor | string | The color of the waveform & preview. | ❌ | rgb(236, 106, 177) |
width | number | The width of the audio recorder. | ❌ | 400 |
height | number | The height of the audio recorder. | ❌ | 80 |
Last updated on