brijr/ui

Lab

Alert

npx shadcn@latest add @brijr/alert

Variants

default
destructive

With icon

An svg as the first child gets its own grid column.

default · icon
destructive · icon
icon · title only
icon · description only

Parts

AlertTitle only
render · section, h3, p
AlertDescription only
description · paragraphs + list
description · with buttons

Content

long title
long description
narrow · w-64