Loading states that never shift layout: every slot holds its content and a thinner block, one sweep line crosses while loading, then slots reveal one by one as their blocks fade; plain Skeleton blocks too.
pnpm dlx shadcn@latest add https://beautiful-ui.dev/r/skeleton.jsonpnpm dlx shadcn@latest add https://beautiful-ui.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 @beautiful-ui registry added, @beautiful-ui/<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.
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.
components/ui/notchset/skeleton.tsx