Components / Alert

Base Layout

A simple alert offering information.

Semantic Variants

Different intents to convey distinct levels of urgency.

With Actions

Alerts can embed interactive actionable buttons via the 'action' slot.

Row Layout

A compact layout for narrow spaces where text flows inline.

Alert API

Prop / EventTypeDefaultDescription
intentstring'default'Semantic color intent. One of 'default' | 'success' | 'warning' | 'danger' | 'info'.
titlestring''The bold title text shown at the top of the alert.
iconComponent | stringnullLucide or custom icon component rendered in the icon slot.
layoutstring'column'Layout direction. 'column' stacks title/desc vertically; 'row' flows them inline.