GitHub
Docs
Alert

Alert

Displays a callout for user attention.

Loading...
Loading...

Installation

pnpm dlx shadcn-ng@latest add alert

Usage

import {
  UbAlertDirective,
  UbAlertDescriptionDirective,
  UbAlertTitleDirective,
} from "~/components/ui/alert.directive";
<div ubAlert>
    <h5 ubAlertTitle>Heads up!</h5>
    <div ubAlertDescription>
        You can add components and dependencies to your app using the cli.
    </div>
</div>

Examples

Default

Loading...
Loading...

Destructive

Loading...
Loading...