import { Skeleton } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "text" | "block" | "avatar" | "card" | "text" | Shape variant of the skeleton |
width | string | number | — | Custom width override |
height | string | number | — | Custom height override |
lines | number | — | Number of text lines to render (for text variant) |
variantType
"text" | "block" | "avatar" | "card"Default "text"Shape variant of the skeleton
widthType
string | numberDefault —Custom width override
heightType
string | numberDefault —Custom height override
linesType
numberDefault —Number of text lines to render (for text variant)
MobileWorks As-Is
Skeleton inherits container width and adapts automatically.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?