ComponentServer-safe
Skeleton
A lightweight placeholder that communicates loading structure.
Installation
Preview
Usage
tsx
import { Skeleton } from "@/components/ui/skeleton"
<Skeleton className="h-4 w-48" />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Overrides or extends the generated Tailwind classes. |
disabled | boolean | false | Prevents user interaction when supported. |