l2logic2b/ui

Alert

Displays a callout for user attention.

Installation

npx logic2b@latest add alert

Usage

import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"

<Alert variant="destructive">
  <AlertTitle>Error</AlertTitle>
  <AlertDescription>Something went wrong.</AlertDescription>
</Alert>