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

Butterflies

Monarchs, cabbage whites and common blues, seen from above, each flying the way they do: never straight, the path bouncing with every wingbeat. Now and then one lands along the top edge of your headline and basks with its wings open, closing them for a while before it lifts off. Hold the pointer still and one comes and settles on it; move quickly, or click, and they take off. The page stays plain and they keep out of your text.

Needs: None. A 2D canvas.

Customize

Props

PropTypeDefaultDescription
monarchsnumber2Monarchs: big, orange, black-veined.
whitesnumber2Cabbage whites: cream with dark wingtips.
bluesnumber1Common blues: small and quick.
cellnumber3Size of one dither cell in px. Bigger cells, bigger butterflies.
speednumber1Time scale. 0 holds the moment.
interactivebooleantrueA hand held still gets landed on; a quick one or a click sends them up. Read on the window.
avoidstring–CSS selector for the page's text: they keep out of it and like to land along its top edge.
seednumber6Picks where they start and how they wander.
opacitynumber1Opacity of the whole scene.
dprnumbernullDevice pixel ratio to render at. Math.min(devicePixelRatio, 2) when unset.
classNamestring–Class on the root element, which fills its parent.
styleCSSProperties–Style on the root element. Theme it through the --mlui-* variables.
Dandelions →