Measured entry
shadcn-skeleton
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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 28.9 KB (94.6 KB build, 65.7 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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/uiAlternatives
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.
- neobrutalism-nskeletonbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.2KB
- Bare
- pass
- Prov
- NO
- neobrutalism-skeletonbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.2KB
- Bare
- pass
- Prov
- NO
- 8bitcn-skeletonskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.3KB
- Bare
- pass
- Prov
- NO
- hextaui-skeletongradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 29.5KB
- Bare
- pass
- Prov
- NO
- tripled-ai-loading-skeleton-shadcnuigradient-glow
- Renders
- YES
- A11y
- 1
- Gzip
- 61.4KB
- Bare
- pass
- Prov
- NO