24 · loadersOverlays & Feedback5 Variations
Loading States
Five configurable loading states balancing visual feedback with prefers-reduced-motion compliance and simulated loading-to-loaded state toggles: skeleton cards, spinner, indeterminate native progress bar, shimmer placeholder, and branded loader.
loadersskeletonspinnershimmerprogress-barfeedback
Skeleton Loading
loaders/skeleton-loading
Loading variation loaders/skeleton-loading...
Component Information
Multi-card skeleton placeholder preview with Loading / Loaded interactive toggle revealing populated sample content without layout shift.
- Variation ID
- loaders/skeleton-loading
- Motion Engine
- css
- Source File
- src/labs/components/components/loaders/variations/skeleton-loading.tsx
Reduced Motion & Accessibility
Pulse animation is suppressed under prefers-reduced-motion: reduce.
- Decorative skeleton blocks use aria-hidden="true" with a single status announcement for state changes.
Dependencies
Zero external runtime dependencies beyond React.
Usage Documentation
import { SkeletonLoaderCards } from '@/src/labs/components/components/loaders';
export function ExampleSkeleton() {
return <SkeletonLoaderCards defaultLoading />;
}Props API (2)
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | — | Section heading. |
| defaultLoading | boolean | true | Initial loading state. |