Components · Loading States
Placeholder loading animation that mimics content layout.
import { Skeleton } from '@nexub/react';| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| shape | 'line' | 'rect' | 'circle' | 'line' | — | Shape of the skeleton placeholder. |
| width | string | number | — | — | Width of the skeleton element. |
| height | string | number | — | — | Height of the skeleton element. |
| animated | boolean | true | — | Enables the shimmer animation. |