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

PropTypeDefaultDescription
classNamestringOverrides or extends the generated Tailwind classes.
disabledbooleanfalsePrevents user interaction when supported.