Skip to content

Skeleton

Loading placeholders shaped like the content that is coming.

Card loading

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/skeleton.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-skeletonBlock placeholder, size it with width/height.
mn-skeleton-text · mn-skeleton-circleLine of text · circle.

Accessibility

  • Hide skeletons from assistive tech (aria-hidden) and set aria-busy="true" on the region that is loading. Shimmer stops under reduced motion.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page