Skip to content

Feedback

Skeleton

A place held for content that loads.

Installation

Terminal
pnpm add @elsikora/keystone-ui-kit

Usage

Import
import { Skeleton } from "@elsikora/keystone-ui-kit";
docs/skeleton/default.example.tsx
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

PropTypeDefaultDescription
classNamestring-More classes, added after the kit's.

Notes

  • It is hidden from a screen reader; announce the loading with the region's aria-busy.