Skeleton
Structural, per-component.
npx shadcn add @lopifi/skeletonExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
KPI card
The figure block reserves the figure's exact width, so the card does not jump when the number lands.
Statement
Labels of uneven length on the left, one figure column on the right, the way a statement reads.
Composed to a custom shape
For a layout with no preset, compose the primitive to the exact radii and sizes of what replaces it, and announce the wait once.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
Matches the exact shape, position and radii of the content it replaces. A skeleton that doesn't match makes the page jump when content lands, which is worse than no skeleton.
A slow breathe (opacity 0.6↔1, 1.6s) is allowed. No shimmer sweep: a gradient sliding across a full-page skeleton is expensive paint and the most obvious template tell there is.
More in System & states
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section Skeleton renders in, the calculators behind its figures, and the ledger payloads that feed it.
- Skeleton, runningThe system showcase — live, with theme, density, grayscale and reduced-motion switches.
- Webhooks and freshnessHow do you find out something changed?
- System & statesEmpty, error, loading, stale and confirm states. They decide whether a product feels finished. Specs for 9 React components: EmptyState, ErrorState, Skeleton, StaleIndicator and 5 more.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when System & states changes
Your copy doesn’t update itself when we fix something here.
- One email when a System & states component needs a migration
- Nothing when nothing changes
Or install it now