ortaui
  1. Components
  2. Feedback

Alert

An inline message. Warning uses the --warning variable.

Installation#

npx shadcn add @ortaui/alert

Examples#

Variants#

With action and without icon#

API reference#

PropTypeDefaultDescription
variant"default" | "warning" | "destructive""default"Colour. Put an icon as the first child.