Skeleton API
Skeleton reserves layout while content, cards, avatars, or panels load.
Preview components
Open the component docs to see examples, combinations, and usage patterns built on top of this API.
- SkeletonLoading placeholders and state examples.
Preview
Import
import { Skeleton } from "@axonyx/react";Props
| Prop | Type | Default | Description |
|---|---|---|---|
| width | string | number | undefined | Skeleton width. |
| height | string | number | undefined | Skeleton height. |
| shape | "line" | "circle" | "card" | "line" | Skeleton shape. |
CSS contract
.ax-skeleton [data-shape] --ax-skeleton-width --ax-skeleton-height