Skip to content

Glossary

Skeleton screen

A skeleton screen is a placeholder in the shape of the content that is loading: grey bars where the rows, names and amounts will be. It tells people what is coming and keeps the layout from jumping when the data arrives. Meadowstack's kit shows skeletons only on first load or a new filter, never after a save.

By Bohuslav PoláčekChecked

packages/kit/src/components/states.tsx
 * Skeleton: a placeholder in the shape of what is coming. A soft band of light
 * crosses it (1.6s) instead of the whole block blinking, the way Linear and
 * Vercel show loading; reduced motion keeps the slow pulse (kit.css).
 */
/**
 * A quiet placeholder in the content's frame and widths while it loads.
 * @when The loading state of a list, card or record (AsyncState's loading).
 * @not After a save (the screen stays and the data swaps quietly)
 * @replaces a grey pulsing div by hand; a page spinner
 * @archetypes any
 */
export function Skeleton({ className, ...props }: HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      aria-hidden="true"
      className={cn(
        "relative overflow-hidden rounded-sm bg-surface-active",
        "after:absolute after:inset-0 after:animate-skeleton after:skeleton-shine motion-reduce:animate-pulse motion-reduce:after:hidden",
The kit's Skeleton: a band of light crosses the shape, reduced motion falls back to a slow pulse, and screen readers skip it.

Why it matters in a business app

A list of invoices that opens on a spinner gives no hint of what is coming and then snaps into a full table, moving everything the eye was resting on. A skeleton with the table's rows and column widths lets people orient before the data lands, and nothing moves when it does.

The opposite mistake is just as common: a skeleton after every save. The person approved one request and the whole queue blinks to grey, losing their place.

How Meadowstack handles it

  • The content's frame. AGENTS.md: "skeletons with the content's frame and widths". LoadingState draws rows of 40px with a dot and three bars that start at 96, 160 and 64px and shrink with the column, so it keeps its shape in a wide page and in a 300px panel.
  • Quiet motion. A soft band of light crosses the shape every 1.6s instead of the block blinking. Under reduced motion it pulses slowly; an older rule stopped every animation and froze it, so people could not tell data was loading.
  • Announced once. The bars are aria-hidden; LoadingState has a role="status" with a hidden "Loading" label for screen readers.
  • Not after a save. The manifest marks Skeleton "not" for "after a save": the screen stays and the data swaps quietly (optimistic UI). Charts load as ChartSkeleton.

Common mistakes

  • A generic skeleton. Five equal grey bars over a table with eight columns still jump when the data arrives.
  • A page spinner. It blocks the whole screen for one slow panel.
  • Skeletons that never end. A request that failed needs the error state with a retry, not an endless shimmer.

Questions

Is a skeleton screen better than a spinner?

For content with a known shape, such as a table, a record or a chart, yes: it shows where things will be and avoids a jump. A spinner still suits a small action in progress, such as a button that is saving.

Do skeleton screens work with screen readers?

The grey bars should be hidden from them, with one status message that says the content is loading. Meadowstack's LoadingState does that.

Should a skeleton animate?

A slow, quiet movement shows that something is happening. With reduced motion turned on, Meadowstack's kit keeps a slow pulse rather than freezing the shapes.

Two ways

Build it yourself, or have it built

  • Build it yourself

    Build your app on the framework

    Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.

    One payment, lifetime updates

    Get the framework
  • Have it built

    Have us build your app

    Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.

    After launch, Care keeps it improving, from €99 a month.

    from €1,990

    Describe your app