HomeLabHire Me
ml-ui111 components

Get started

IntroductionInstallation

UI

Dots

Dot AccordionDot CalendarDot CheckboxDot CodeDot CommandDot ContentsDot CountdownDot CrossingDot FuseDot GaugeDot InstallDot KnobDot LogosDot MenuDot PaginationDot PasswordDot Price RangeDot PricingDot ProgressDot QueueDot RatingDot Reading ProgressDot SelectDot SignupDot SliderDot StatusDot StepperDot SwitchDot TabsDot ToastDot TooltipFlip-Dot CounterLED Marquee

Dither

Dither AvatarDither BannerDither CompareDither GlobeDither PortraitDither SkeletonDither TrailDither UploadDot CookiesDot DialogDot KeysDot ReceiptDot VariantsLenticular Card

More

Pollen TrailSplit-FlapTheme Toggle

Text

Dither RotatorDot TypeEnigma TextInk Print

Data viz

Dots

Contribution FieldDot BarsDot ChartDot Waffle

Dither

Dither DensityDither MapDither Stack

Media

Dots

Dot EqualizerDot WaveformVoice Note

Dither

Dither Scrubber

AI

Agent StepsAnswer VersionsCitation ChipConfidence GlassContext MeterDiffusion ImageDiffusion TextDither MaskDoc ReaderDot DictationGenerate ButtonGhost TextModel PickerPrompt BarResponse ActionsRevising TextSpoken ReplyThinking OrbThinking TraceToken MeterToken StreamWord Alternatives

Useful

Arrival TimeBest ShotCareer LineForgiving SearchGesture PadHeard AsHonest PinImage PaletteLikeness GridNear Miss SearchRain DropsSoft CorrectSpending SortSticker LiftTaste Ledger

Backgrounds

ButterfliesDandelionsDuck PondFirefliesKoi PondLight WellMarigoldsTrain WindowWhite Blossom

ml-ui / Media

Voice Note

The waveform is read from the recording and drawn in LED dots, lit as it plays. While it plays the time counts down what's left, and the speed chip taps through 1×, 1.5× and 2×. A lit dot marks one nobody has played yet. Tap the waveform to play from there, or drag along it, and with a transcript, Show text opens what was said underneath. The demo is a made-up friend held up by a goose, voiced with ElevenLabs.

Needs: None. Web Audio decodes the file once to read its loudness.

Customize

from

Props

PropTypeDefaultDescription
srcstringrequiredThe recording.
from"me" | "them""them"Whose message it is: yours sits on the right in the accent.
transcriptstring–What was said, behind a Show text toggle.
unheardbooleanfalseShows a lit dot until it's been played once.
onHeard() => void–Called the first time it's played.
tonestring–The waveform's colour. The page's accent by default.
classNamestring–Class on the message.
styleCSSProperties–Style on the message.
← Dot Waveform