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

Thinking Orb

A small orb that shows what an assistant is doing and moves only as much as it is. It breathes when idle, ripples when listening and swirls while thinking.

Needs: None. Pass levels from your own audio analyser and the token rate from your stream.

Customize

state
palette

Props

PropTypeDefaultDescription
state"idle" | "listening" | "thinking" | "speaking""idle"What the assistant is doing. Changes morph through springs.
levelnumber0Input level while listening, output level while speaking, 0..1. Ripples and pulses follow it; silence keeps it still.
ratenumber30Tokens per second while thinking. The inner swirl turns faster as the model goes faster, up to a cap.
sizenumber40Diameter in px, held between 24 and 96.
colorsstring[]–Two or three colour stops for the swirl and glow. Blue, violet and teal by default: ["#5b8cff", "#b06cff", "#38d1c0"].
glownumber0.5How much light it throws around itself, 0..1. 0 for none.
labelstring"Assistant"Who it stands for. Screen readers hear it with the state: "Assistant, thinking".
classNamestring–Added to the root element.
styleCSSProperties–Inline styles on the root.
← Spoken ReplyThinking Trace →