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 / AI

Dot Dictation

At rest it shows a microphone in dots. Tap it and the dots become your voice, columns rising and falling with how loud you are and scrolling in from the right like a recorder's meter, with a timer, while the transcript streams in beside it, words not yet settled shown fainter. Tap again to stop: a dot scans while your speech-to-text finishes, and it settles into a tick. The microphone is only read here for the level; its stream is handed to you for whatever speech-to-text you use, on the device or off it.

Needs: A microphone, asked for on the first tap. You bring the speech-to-text (Whisper in the browser, an API).

Customize

voice

Props

PropTypeDefaultDescription
transcriptstring–What's been heard and settled so far.
interimstring–Words heard but not settled yet; shown fainter.
busybooleanfalseYour speech-to-text is still finishing after the recording stopped.
onStart(stream: MediaStream | null) => void–Called when recording starts, with the microphone's stream.
onStop() => void–Called when recording stops.
onError(error: unknown) => void–Called if the microphone can't be had.
levelnumber–A loudness, 0 to 1, from your own audio pipeline; then the microphone isn't opened here.
placeholderstring"Tap to speak"Shown before anything's been said.
tonestring–The voice and the tick. The page's accent by default.
pitchnumber3Size of one dot in px.
classNamestring–Class on the dictation row.
styleCSSProperties–Style on the dictation row.
← Doc ReaderGenerate Button →