Feedback
Skeleton
A place held for content that loads.
Installation
pnpm add @elsikora/keystone-ui-kitUsage
import { Skeleton } from "@elsikora/keystone-ui-kit";import { Skeleton } from "@elsikora/keystone-ui-kit";
export default function SkeletonDefaultExample() { return ( <div className="flex flex-col gap-3"> <Skeleton className="h-6 w-48" /> <Skeleton className="h-4 w-72" /> <Skeleton className="h-4 w-64" /> </div> );}Examples
Default
API reference
Skeleton
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | More classes, added after the kit's. |
Notes
- It is hidden from a screen reader; announce the loading with the region's aria-busy.