Skip to main content
v7

Skeleton

Loading placeholder components that indicate content is being fetched, with proper ARIA attributes for accessibility.

Package@g4rcez/componentsSectionDisplay Components

Examples

Basic Skeleton

A single skeleton block. Customize width and height via className.

Basic

Skeleton List

SkeletonList renders a list of skeleton rows with random widths to simulate real content.

SkeletonList

Skeleton as Different Elements

Use the `as` prop to change the rendered element for semantic correctness.

Semantic elements

When to use Skeleton

Use when

You need the documented Skeleton interaction or presentation in a product workflow.

Avoid when

A native HTML element already provides the Skeleton behavior you need.

Accessibility

Keep the Skeleton labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.