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

Dither Skeleton

Size it like any block and it shows a light field of dots, a slow wave of density drifting across it where other skeletons shimmer grey. When loading turns false the content doesn't pop in: it resolves out of the stipple, each dither cell handing over at its own blue-noise threshold, so the dots dissolve exactly where the content appears. Rounded corners are dithered too.

Needs: None. Canvas 2D and a CSS mask.

Customize

Props

PropTypeDefaultDescription
loadingbooleanrequiredWhether the content is still on its way.
childrenReactNode–The real content, once there is some.
radiusnumber6Corner radius in px.
cellnumber3Size of one dither pixel in px.
tonestring–The stipple's colour. The muted text colour by default.
labelstring"Loading"What's loading, for screen readers.
classNamestring–Class on the block: give it a size while it loads.
styleCSSProperties–Style on the block.
← Dither PortraitDither Trail →