Loading placeholders that keep the layout steady, then reveal content in order.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { SkeletonRoot, SkeletonSlot } from "@/components/ui/notchset/skeleton";
export function RunSummary({ run }: { run?: { id: string; agent: string } }) {
return (
<SkeletonRoot loading={!run}>
<SkeletonSlot height={20} bar={12} width="58%">
{run?.id}
</SkeletonSlot>
<SkeletonSlot height={16} bar={10} width="32%">
{run?.agent}
</SkeletonSlot>
</SkeletonRoot>
);
}SkeletonRoot loading–
booleanBlocks and the sweep while true; reveal when false.
SkeletonRoot sweep / stagger–
boolean / msThe sweep line (default on); the reveal step (60ms).
SkeletonSlot height / bar–
numberThe slot's height, and its block's (thinner, centred).
SkeletonSlot width / round–
string | number / booleanThe block's width (mirror the content); a circle.
Skeleton–
divshadcn's plain block.
SkeletonRootdata-slot="skeleton-root"
The loading card.
SkeletonSlotdata-slot="skeleton-slot"
One slot.
Skeletondata-slot="skeleton"
A plain block.
components/ui/notchset/skeleton.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/skeleton.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/skeleton.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release