@zedtech/zedkit-ui
Call out a notice or an error state
@zedtech/zedkit-ui — beta
beta
At a glance
- Who: Developers surfacing notices, warnings and errors inline.
- What: Notice/error callouts with title and description.
- Use when: For states tied to page content (load errors, warnings).
- Avoid when: For transient confirmations — use Toaster instead.
- See also: Show toast notifications
Preview
@zedtech/zedkit-ui — Alert, AlertTitle, AlertDescription
Heads up
Something worth knowing.
Failed
Something went wrong.
Install
pnpm add @zedtech/zedkit-uiLatest: 0.3.0 (via changesets).
Example
import { Alert, AlertDescription, AlertTitle } from "@zedtech/zedkit-ui";
<Alert><AlertTitle>Heads up</AlertTitle>
<AlertDescription>Something worth knowing.</AlertDescription></Alert>
<Alert variant="destructive"><AlertTitle>Failed</AlertTitle>
<AlertDescription>Something went wrong.</AlertDescription></Alert>Wraps: class-variance-authority