Skeleton
Avatar
Card
Text
Form
Table
Official documentation: ui.shadcn.com
Installation
npx shadcn@latest add @l8/skeletonSource
import { cn } from "cn"
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="skeleton"
className={cn("animate-pulse rounded-md bg-muted", className)}
{...props}
/>
)
}
export { Skeleton }