Components
Components
Skeleton
Placeholder blocks for loading layouts.
newfree
pnpm add @komponents/uiCanonical TypeScript source · tree-shakeable subpathsSkeleton is a lightweight pulse surface. Compose multiple blocks to match content geometry.
Usage
Accessibility
- Skeleton is
aria-hidden— it is decorative geometry, never an announcement - Because it is silent, pair it with a live region so screen reader users learn that content is loading:
- Remove the live region once the real content lands, or the announcement repeats
- The pulse is a CSS animation and is suppressed by
prefers-reduced-motion