Skeleton
A pulsing placeholder for content that is still loading.
Usage
import { Skeleton, CardSkeleton } from '@epilot/spark-ui/skeleton'<Skeleton className="h-4 w-3/4" />Examples
Card skeleton
CardSkeleton provides a pre-styled bordered container for card-shaped placeholders.
API Reference
Skeleton
Extends React.HTMLAttributes<HTMLDivElement>. Use className to set width, height, and shape.
CardSkeleton
| Prop | Type | Default |
|---|---|---|
padding | "p-3" | "p-4" | "p-4" |
children | React.ReactNode | — |