Docs
Alert

Alert

Alert component is designed to prominently display a callout, capturing user attention effectively. Whether conveying important information, warnings, or notifications, the Alert component ensures that critical messages are presented prominently within the user interface.

Installation

yarn add @camped-ui/alert

Usage

import { Alert, AlertDescription, AlertTitle } from "@camped-ui/alert";
<Alert>
  <Terminal className="h-4 w-4" />
  <AlertTitle>Heads up!</AlertTitle>
  <AlertDescription>
    You can add components and dependencies to your app using the cli.
  </AlertDescription>
</Alert>

Examples

Default

Destructive