• Docs
  • Components
  • Skeleton

Skeleton - Aspect UI

The Skeleton component displays placeholder loading states that mimic content layout. It improves perceived performance during data fetching or loading screens.

Table of Contents#

Skeleton Props#


PropTypeDefaultDescription
variationSkeletonVariation'text'The style variation of the skeleton placeholder (e.g., text, circle, rectangular).
widthstring number-The width of the skeleton. Accepts CSS units or numeric values (interpreted as pixels).
heightstring number-The height of the skeleton. Accepts CSS units or numeric values (interpreted as pixels).
classNamestring''Additional CSS class names for custom styling.