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

Dot Waveform

For a clip, a podcast or a recording. The waveform is read from the audio itself, each column as loud as the clip is there, lit in the accent up to the playhead and dim after, with the unlit dots of the panel faintly there. Point along it for the time; click anywhere to play from there, or drag to scrub; focused, the arrow keys skip and space plays. The demo is a made-up podcast that reviews the paperclip, voiced with ElevenLabs.

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

Customize

Props

PropTypeDefaultDescription
srcstringrequiredThe audio file.
titlestring–What's playing, shown above the waveform.
heightnumber48Height of the waveform in px.
tonestring–The played part's colour. The page's accent by default.
pitchnumber3Size of one dot in px.
stepnumber5Seconds the arrow keys skip.
classNamestring–Class on the player. It fills its container's width.
styleCSSProperties–Style on the player.
← Dot EqualizerVoice Note →