Alert (alert
)
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
heading | Heading | The alert heading. Optional. | |
message | Message | The alert message. | |
dismissible | Dismissible? | It is possible to dismiss any alert inline. |
|
id: alert
label: Alert
description: 'Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.'
homepage: 'https://getbootstrap.com/docs/5.3/components/alerts/'
variants:
primary:
id: primary
label: Primary
secondary:
id: secondary
label: Secondary
success:
id: success
label: Success
danger:
id: danger
label: Danger
warning:
id: warning
label: Warning
info:
id: info
label: Info
light:
id: light
label: Light
dark:
id: dark
label: Dark
slots:
heading:
id: heading
label: Heading
description: 'The alert heading. Optional.'
message:
id: message
label: Message
description: 'The alert message.'
props:
dismissible:
id: dismissible
label: 'Dismissible?'
description: 'It is possible to dismiss any alert inline.'
schema:
type: boolean
library:
css:
'https://data.dilla.io/bootstrap_5/components/alert/styles/alert.css': { }
id: alert
examples:
preview:
id: preview
label: Preview
renderable:
'@component': alert
heading: 'Well done!'
message: 'A simple alert. Check it out!'
dismissible: true