Skeleton
A placeholder component for content that is loading. Use className to define custom shapes and sizes.
API Reference
Skeleton
Placeholder element for loading states. Use className to define custom shapes and sizes.
| Prop | Type | Default | Description |
|---|---|---|---|
| animation | 'pulse' | 'shimmer' | 'none' | 'pulse' | Animation style for the skeleton |
| className | string | - | Additional CSS classes for sizing and shape |
| ...props | React.ComponentProps<"div"> | - | Standard div element props |