GitHub

Skeleton

Content placeholder with pulse and sheen effects for loading states.

<rhx-skeleton>

Examples

Effects

Shapes

Content Placeholder

Properties

Property Type Default Description
rhx-effect string pulse Animation effect: none, pulse, sheen
rhx-shape string rectangle Shape: rectangle, rounded, circle
rhx-width string 100% Width CSS value
rhx-height string 1rem Height CSS value

Accessibility

  • Renders with role="presentation" as it is a decorative placeholder.
  • Sets aria-busy="true" to indicate content is loading.
  • Hidden from screen readers since skeleton shapes are purely visual placeholders.