Alert component translated from the shadcn-ui "alert" component.
Provides alert/1, alert_title/1, and alert_description/1 as
presentational Phoenix function components.
Summary
Functions
Attributes
variant(:string) - Defaults to"default". Must be one of"default", or"destructive".class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)
Attributes
class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)
Attributes
class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)