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

Dot Toast

Put a DotToaster on the page once, then call toast("Saved"), toast.success, toast.error, toast.loading or toast.promise from anywhere. Each note has a dot icon (a check, a cross, an i, or a ring that spins while it loads) and a row of dots along its foot that runs out as its time does. Hovering or focusing the stack holds them all; swipe one aside to send it away. A promise's note turns to success or error when it settles, and errors are announced at once.

Needs: None. Canvas 2D.

Customize

position

Props

PropTypeDefaultDescription
position"bottom-right" | "bottom-left" | "bottom-center" | "top-right" | "top-left" | "top-center""bottom-right"Which corner (or edge) they stack in.
maxnumber3How many show at once; older ones go to make room.
classNamestring–Class on the stack.
styleCSSProperties–Style on the stack, e.g. position: absolute to keep it inside a box.
← Dot TabsDot Tooltip →