Skip to main content

Installation

Usage

Component API

Skeleton

Animated loading placeholder component.
Features:
  • Pulse animation
  • Customizable size and shape
  • Accessible loading indicator

Implementation

Simple div with pulse animation:

Examples

Basic Skeleton

Simple loading placeholder:

Avatar Skeleton

Circular avatar placeholder:

Card Skeleton

Card with loading content:

Text Skeleton

Multiple text lines:

Form Skeleton

Form field placeholders:

Table Skeleton

Table with loading rows:

Image Skeleton

Image placeholder:

Button Skeleton

Button placeholder:

List Skeleton

List item placeholders:

Custom Shapes

Different shapes and sizes:

Conditional Rendering

Show skeleton while loading data:

Accessibility

  • Uses aria-busy="true" and aria-live="polite" implicitly through loading state
  • Semantic loading indication
  • No interactive elements