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 Fuse

Put it in place of a row someone just deleted. The row is struck through and a fuse is lit along its foot; Undo or ⌘Z pinches the flame out in a puff of smoke and the row comes back, and if it burns down the row crumbles to ash and onExpire is your cue to delete it for real. Pointing at it holds the flame low, and it doesn't burn while the tab is hidden.

Needs: None. One canvas over the row.

Customize

Props

PropTypeDefaultDescription
childrenReactNoderequiredWhat was removed, as the row showed it.
durationnumber5000Time to change your mind, ms.
onUndo() => voidrequiredPut it back.
onExpire() => voidrequiredGone for good: delete it on the server now.
undoLabelstring"Undo"The button's word.
announcestring"Deleted"Read out when it appears.
classNamestring–Class on the row. Set --mlui-fuse-pad to match your rows' padding.
styleCSSProperties–Style on the row.
← Dot DialogDot Gauge →