Loading placeholders lit by one sweep of light that crosses the whole card at once, with a matching glint for “Drafting…” status lines.
akashimmer·skeleton
Run this in any project set up for the shadcn CLI. It copies the Skeleton Sweep source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/skeleton-sweep.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { SkeletonSweep } from "@/components/skeleton-sweep";
export default function Page() {
return <SkeletonSweep />;
}A free React motion component in the Loading collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Skeleton Sweep source. Everything is optional unless it says required. It also accepts ComponentProps<"div">.
| Prop | Type | Default |
|---|---|---|
| duration | number | 1.2 |
| pause | number | 0.2 |