Back to components

Skeleton

zyra-skeleton

Shimmer loading placeholders with 20+ preset layout variants — from simple text lines and shapes to full dashboard, product, calendar, and chat skeletons.

API

All inputs and configuration options for zyra-skeleton.

PropTypeDefaultDescription
variant'text' | 'circle' | 'rect' | 'rounded' | 'avatar' | 'image' | 'button' | 'input' | 'card' | 'list' | 'article' | 'table' | 'chat' | 'dashboard' | 'video' | 'chart' | 'product' | 'profile' | 'calendar''rect'Skeleton shape or preset layout
linesnumber3Number of text lines (text and article variants)
rowsnumber5Number of repeated rows (list and table variants)
widthstring''CSS width override (e.g. "120px", "60%")
heightstring''CSS height override
animatedbooleantrueEnable/disable the shimmer animation

Accessibility

Built to meet WCAG 2.0 AA. These notes cover the key ARIA, keyboard, and interaction behaviours.

  • Skeleton is purely decorative — wrap in an aria-busy="true" container while loading
  • Remove skeletons and announce content arrival with aria-live="polite"