v1.2.0

Skeleton

Display a placeholder preview of content before the actual data loads, reducing load-time frustration.

Variants

<me-skeleton variant="text" width="200px"></me-skeleton> <me-skeleton variant="rectangular" width="200px" height="60px"></me-skeleton> <me-skeleton variant="circular" width="40px" height="40px"></me-skeleton>

Wave Animation

<me-skeleton variant="text" animation="wave" width="200px"></me-skeleton>

No Animation

<me-skeleton variant="text" animation="false" width="200px"></me-skeleton>

Card Placeholder Example

API

AttributeTypeDefaultDescription
varianttext | rectangular | rounded | circulartextShape of the skeleton.
animationpulse | wave | falsepulseAnimation style. Use "false" to disable.
widthstring (CSS value)Width applied as inline style.
heightstring (CSS value)Height applied as inline style.