design-infraGitHub
Report a problem or share feedback← Catalog

Skeleton Loader

curatedtheme-awarefree

smoothui/skeleton-loader

Animated skeleton loading placeholders

loop — subtlewrapperMinimalCalm
$npx shadcn@latest add @smoothui/skeleton-loader

Our notes

Wrap real content in <Skeleton loading> and it renders an invisible copy with a pulsing overlay of exactly the same size — no hand-sized placeholder boxes, zero layout shift when data lands. No deps; bg-muted-foreground/20 + Tailwind animate-pulse. Does NOT honour reduced motion — add motion-reduce:animate-none. Pair with transitions/skeleton-reveal for the crossfade out.
Source
SmoothUI
Kind
component
Categories
loader
Use as
wrapper — wraps your existing element
Applies to
loadercardtable
Motion
on loop · subtle · css · low cost · ignores reduced motion
Tags
skeleton, loader, loading, placeholder, shimmer, tween, complexity-low
Licence
MIT ("MIT License — Copyright (c) 2024 Eduardo Calvo", github.com/educlopez/smoothui).
Live demo
Interactive preview
Docs
smoothui.dev