Skeleton Component Library

Common skeleton screen patterns for different component types.

dragoon0x aae2067 1.4 KB Updated

File contents

Skeleton Component Library

Component Skeletons

Text paragraph:
████████████████████████████████████
██████████████████████████████
████████████████████████████████████████

Card:
┌─────────────────┐
│ ████████████████ │  ← Image placeholder
│ ████████████     │  ← Title
│ ██████████████   │  ← Description line 1
│ ████████████     │  ← Description line 2
│ ██████           │  ← Metadata
└─────────────────┘

Avatar + Name:
(●) ████████████

Table Row:
████ │ ████████ │ ██████████ │ █████

Rules

  1. Match real content dimensions exactly
  2. Vary text line widths (not all same length)
  3. Shimmer animation: left to right, 1.5s cycle
  4. Show 3-5 skeleton items, not 20
  5. Transition: fade in real content, don't replace instantly

dragoon0x/everything-design-taste/tree/main/skills/skeleton-component-library commit aae20676ed

Frequently asked questions

npx skillmds@latest add dragoon0x/skeleton-component-library