Noora.Alert
(noora v0.76.0)
Copy Markdown
An alert component.
Example
<.alert status="success" title="Operation completed successfully" />
Summary
Functions
Attributes
id(:string) - Defaults tonil.type(:string) - The type of alert. Defaults to"primary". Must be one of"primary", or"secondary".status(:string) (required) - The status of the alert. Must be one of"information","warning","error", or"success".size(:string) - The size of the alert. Defaults to"medium". Must be one of"small","medium", or"large".dismissible(:boolean) - Whether the alert can be dismissed. Defaults tofalse.title(:string) (required) - The title of the alert.description(:string) - The description of the alert. Only shown ifsizeis large. Defaults tonil.- Global attributes are accepted.
Slots
action