← Back to Components

Alert

Inline messaging blocks with semantic layouts and inline icons.

Interactive Playground

R Code

API Reference

block_alert()

Inline warning panels communicating status callouts to users.

ArgumentTypeDefaultDescription
titlecharacterrequiredAlert title text.
descriptioncharacterNULLSupporting description subtext inside the alert.
iconcharacterNULLLeading Lucide icon name.
variant'default' | 'destructive' | 'success' | 'warning' | 'info''default'Stylesheet visual color preset category.
classcharacterNULLCustom container class classes.