Skeleton
Loading placeholder: a rounded muted block with a pulse animation. Size and shape it with classes to stand in for text lines, avatars or cards while content loads.
import { Skeleton } from "@/components/ui/skeleton"
/** Skeleton of an image and two lines of text. */
export default function SkeletonDemo() {
return (
<div className="flex w-full max-w-sm flex-col gap-4">
<Skeleton className="h-40 w-full rounded-sm" />
<div className="flex flex-col gap-2">
<Skeleton className="h-4 w-2/3" />
<Skeleton className="h-4 w-1/3" />
</div>
</div>
)
}
Installation
pnpm dlx shadcn add @01orbital/skeletonnpx shadcn add @01orbital/skeletonyarn shadcn add @01orbital/skeletonbunx --bun shadcn add @01orbital/skeletonAdd the @01orbital registry to components.json once (install guide), then run the command.
It lands at components/ui/skeleton.tsx, as source you own and edit.
Dependencies
npm: cn. The CLI installs them for you.
No other registry pieces.
Navbar
Responsive site header with brand, flat navigation links and primary and secondary actions. Owns its mobile Sheet menu and supports left, centered-links and centered-logo desktop layouts.
Slider
Range slider on Base UI with a filled track and pill-shaped thumbs. Renders one thumb per array value, two when no array is given, in horizontal or vertical orientation.