@zedtech/zedkit-ui
Name an operation in progress
@zedtech/zedkit-ui — alpha
alpha
At a glance
- Who: Developers naming a background or foreground operation for the user.
- What: A named live-region label for the current operation state (loading, saved, error…).
- Use when: Next to the content an operation affects, while it runs or right after.
- Avoid when: For bare spinners without a name — use
ProgressBar; for data age — useUpdatedAgo. - See also: Stamp data with its age
Install
pnpm add @zedtech/zedkit-uiLatest: 0.4.0 (via changesets).
Example
import { StatusLabel } from "@zedtech/zedkit-ui";
<StatusLabel tone="loading">Saving report…</StatusLabel> // loading|updating|syncing|saved|retry|error|offline, role=statusWraps: (none)