zedkit
@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

Install

pnpm add @zedtech/zedkit-ui

Latest: 0.3.0 (via changesets).

Example

Usage
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

On this page