# 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.

Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/glossary/skeleton-screen/

*The kit's Skeleton: a band of light crosses the shape, reduced motion falls back to a slow pulse, and screen readers skip it.*

From `packages/kit/src/components/states.tsx` in the Meadowstack repository:

```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",
```

## 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](https://meadowstack.com/glossary/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](https://meadowstack.com/glossary/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.

## Related

- [WorkSteps: what a long job is doing](https://meadowstack.com/components/work-steps/) (Components)
- [A workflow canvas where a test run walks the steps](https://meadowstack.com/screens/workflow-canvas/) (Screens)
- [AsyncState: every data view has four states](https://meadowstack.com/components/async-state/) (Components)
- [Checklist: the small steps inside a record](https://meadowstack.com/components/checklist/) (Components)
- [NotificationCenter: the bell and its list](https://meadowstack.com/components/notification-center/) (Components)
- [RecordPeek: open a record without losing the list](https://meadowstack.com/components/record-peek/) (Components)
