Skip to content
kapable

Skeleton

Data display · 1 export · v0.1.0 · showcase

Decorative loading placeholder intended for an aria-busy container.

Browse 72 component families
Loading

Usage

Skeleton usage
<div aria-busy="true"><span class="kp-sr-only">Loading</span><Skeleton /></div>

API

Skeleton API

SkeletonProps

Skeleton props
proptypenotes
shape?'line' | 'block' | 'circle''line' (text-height bar, default) · 'block' · 'circle'.
width?stringCSS width (default: line 100%, block 100%, circle 32px).
height?stringCSS height (default: line 12px, block 64px, circle = width).
mix?MixInput

More in Data display

More in Data display