Skip to main content
  1. Docs
  2. Components
  3. Feedback

Skeleton

A placeholder shaped like the content that's loading, so the page doesn't move when it lands.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<span aria-hidden="true">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Behaviour

Hidden
aria-hidden: nothing is read.
The wait
Mark the region aria-busy, and say it once in a status.
Reduced motion
It holds still instead of pulsing.

02

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Reduced motion: what moves fades or holds still instead
  • Forced colours and right to left
Next — SkeletonChangelog