@agala-labs/ui
Skeleton
Reserves content geometry while data is loading.
Examples
Default
<AgalaSkeleton variant="rect" width="100%" height="8rem" />Import
import { AgalaSkeleton } from '@agala-labs/ui'API
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'line' | 'circle' | 'rect' | 'line' | Placeholder shape. |
width / height | string | — | CSS dimensions. |
class | string | — | Consumer override class. |
Accessibility
Mark the surrounding loading region busy; skeletons themselves are decorative.