motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Audio
  5. Voice Recorder
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Audio

Voice Recorder

New

A record button whose rings breathe with your voice, a live level meter shedding sparks, and playback of the take before you send or discard it.

npx motionsnack add voice-recorder

Customize

Glow
Glow Light
s
<VoiceRecorder />

Props

17 properties

PropertyTypeDefaultDescription
onSubmit(take: { blob: Blob | null; duration: number }) => void-Called with the take when it is sent; blob is null for a simulated take.
onSend(take) => void-Deprecated alias of onSubmit.
onDiscard() => void-Called when a take is thrown away.
recordLabel / stopLabel / sendLabel / discardLabelstring'Start recording' / 'Stop recording' / 'Send voice message' / 'Discard recording'Accessible names of the buttons.
playLabel / pauseLabelstring'Play recording' / 'Pause recording'Accessible names of the take's play button.
labels{ recorder?, started?, stopped?, micDenied?, tryAgain?, seek?, position? }EnglishOther UI strings and announcements; {time}, {total} are filled in.
localestring'en-US'BCP 47 locale of the spoken times.
particleCountnumber-Deprecated, ignored.
meterBarsnumber-Deprecated, ignored.
barsnumber-Deprecated, ignored.
classNamestring''Extra classes on the card.
useMicrophonebooleanfalseRecord from the real microphone. Off simulates a voice, so it can be tried anywhere.
maxDurationnumber120Recording stops on its own at this length.
idleLabelstring'Tap to record a voice message'Text shown before recording.
sentLabelstring'Voice message sent'Text shown after sending.
glowColorstring'#0044ff'Colour of the ambient glow and the far particles (decorative light).
glowColorTostring'#9cc2ff'Colour of the sparks and the near particles (decorative light).

About Voice Recorder

Voice Recorder turns recording a message into something you want to watch. One white button does it all: it records, stops, sends and confirms, its icon turning into the next one each time. While you speak, two rings breathe out of it with the loudness of your voice, a ring around it fills towards the longest allowed take and particles drift up faster. Next to it the time rolls digit by digit and a live meter adds a bar for every moment, sparks rising from the newest one. When you stop, the take appears as a waveform you can play and drag through, with a bin to throw it away and the button turned into send. It can record from the real microphone, or simulate a voice so it works in any demo, and hands the recorded audio to your code when it is sent.

What's included

  • One button that records, stops, sends and confirms
  • Rings that breathe with the loudness of your voice
  • Live level meter with sparks and a rolling timer
  • Ring that fills towards the longest take
  • Playback and scrubbing of the take before sending
  • Discard and send, with the take handed to your code
  • Real microphone or simulated voice, keyboard ready
Type
Animated React audio component
Library
Components · Audio
Stack
Next.js, React, Tailwind CSS
Added
2026-11-24
Install
npx motionsnack add voice-recorder