Alert

An inline notice board with a glyph, a title and a line of detail.

View as Markdown

Installation

npx shadcn@latest add @cozy/alert

Usage

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

API

Everything else is passed through to the underlying element or Radix primitive.

PropTypeDefaultDescription
variant"default" | "success" | "info" | "destructive""default"Tint and glyph colour.