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

Spoken Reply

A play button and the reading as a waveform in dots whose played part lights in the accent behind a playhead, with the text below lighting word by word as it's said (those said in ink, those to come fainter). Click a word or the waveform to jump there. Give it your text-to-speech audio (and word timings, if you have them) and it draws the waveform from the sound itself; without audio the browser's own voice reads it, preferring one on the device, and the waveform is shaped from the words' syllables.

Needs: None. Your text-to-speech audio, or the browser's speech synthesis.

Customize

Props

PropTypeDefaultDescription
textstringrequiredThe reply's text.
srcstring–Audio of it being read. Without it, the browser's voice reads it.
timingsnumber[]–When each word starts in the audio, in seconds. Estimated otherwise.
ratenumber1How fast the browser's voice reads.
onEnd() => void–Called when it's finished reading.
tonestring–The played part and the word being read. The page's accent by default.
pitchnumber3Size of one dot in px.
classNamestring–Class on the reply.
styleCSSProperties–Style on the reply.
← Revising TextThinking Orb →