skeleton

The Skeleton component displays a placeholder while content is loading, supporting customizable width, height styles.

Usage

Default

Loading content...

<Skeleton width="100%" height="20px" />

Props

Sortable data table
PropTypeDefaultDescription
widthstring"100%"Width of the skeleton placeholder (e.g., '100%', '150px').
heightstring"100%"Height of the skeleton placeholder (e.g., `100%', '20px').
rounding"none" | "small" | "medium" | "large"Configured DefaultBorder radius for the skeleton.
shadow"none" | "light" | "medium" | "strong" | "intense"Configured DefaultShadow style for the skeleton.
labelstring"Loading content..."ARIA label for screen readers.
classNamestring-Additional custom class names.
data-testidstring"skeleton-loader"Test id for querying the component in tests.