Measured entry

shadcn-skeleton

skeletonunclassified

A tiny React loading-placeholder primitive shipped as a copy-in TypeScript component through the shadcn registry. It renders a styled div, forwards native div props, and relies on Tailwind utility classes plus the local cn helper backed by clsx and tailwind-merge.

Specimen
Harness screenshot of shadcn-skeleton at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-skeleton at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-skeleton at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for shadcn-skeleton
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal28.9 KB (94.6 KB build, 65.7 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A dependable, deliberately minimal skeleton primitive. It built and mounted cleanly across the tested layouts, but most of its value comes from the surrounding Tailwind theme and utility conventions. Use it when that styling model already fits; otherwise the component is easy to reproduce locally.

Use it if

  • You want composable placeholder blocks that can be shaped with ordinary utility classes.
  • Your loading layouts already use React and Tailwind, including an accent color token.
  • You prefer owning a small copy-in primitive instead of adding a runtime component package.

Skip it if

  • You need a skeleton that automatically mirrors content structure or generates complex layouts.
  • Your project does not use Tailwind and you do not want to recreate the animation and theme styles.
  • You need built-in accessibility semantics or loading announcements rather than a purely visual placeholder.

Install

Installation record for shadcn-skeleton
Declared dependenciesclsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Add React and Tailwind, define the accent background token, and include utilities for pulsing animation and rounded corners. Create a cn helper with clsx and tailwind-merge, then either configure the @ alias used by the import or replace it with a relative path.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Author repository

github.com/shadcn-ui/ui
License
MIT
Record published
2026-08-16

Alternatives

Other published entries for the skeleton pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.