Skip to main content

SkeletonParagraph

Displays a placeholder representation of text content while it loads. Use to improve perceived performance by showing users where text will appear.

Anchor to content
content
string
Default: ''

The content to be used as a base for the skeleton. This content will be hidden when the skeleton is visible.

This can be useful when the skeleton is representing a known piece of content which is part of a larger element that has not yet fully loaded.

string

A unique identifier for the element.

Examples
<s-skeleton-paragraph></s-skeleton-paragraph>

Preview

Was this page helpful?