@zedtech/zedkit-ui
Load each zone with a faithful skeleton
@zedtech/zedkit-ui — alpha
alpha
At a glance
- Who: Developers loading async zones without layout shift (pages, cards, tables, panels).
- What: One faithful loading skeleton per kit component shape, each a named live zone.
- Use when: As a
Suspensefallback matching the component that will land. - Avoid when: For freeform blocks — use a plain
Skeleton; for named operations — useStatusLabel. - See also: Show loading placeholder blocks
Install
pnpm add @zedtech/zedkit-uiLatest: 0.3.0 (via changesets).
Example
import { Suspense } from "react";
import { CardSkeleton } from "@zedtech/zedkit-ui";
<Suspense fallback={<CardSkeleton label="Loading report" />}>
<ReportCard />
</Suspense>Wraps: (none)