Components
Components
Skeleton
Placeholder blocks for loading layouts.
newfree
Install
@hewnui/ui · hewnui
Skeleton 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
API reference
Props for Skeleton from @hewnui/ui/skeleton. Generated from component types — not hand-written.
Prop
Type