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 Dialog

Built on the platform's own <dialog>, so the page behind goes inert, focus is held inside and handed back, and Escape closes it. The page isn't dimmed with a flat grey: a veil of dots comes down over it in blue-noise order, and the panel arrives through a dither dissolve. Closing is quick.

Needs: None. The native <dialog> element and one canvas.

Customize

Props

PropTypeDefaultDescription
openbooleanrequiredWhether it's open.
onOpenChange(open: boolean) => voidrequiredCalled to close it: Escape, the veil, or your own buttons.
titlestringrequiredIts heading, and its name for screen readers.
descriptionReactNode–A line under the title, read out with it.
childrenReactNode–Anything else: a form, a list.
actionsReactNode–Buttons along the foot. The classes mlui-dialog__button and data-primary style them.
dismissiblebooleantrueEscape and a click on the veil close it.
widthnumber440The panel's width in px.
classNamestring–Class on the dialog.
styleCSSProperties–Style on the panel.
← Dot CrossingDot Fuse →