Alert – Basic alerts using the BootstrapComponents extension.

From Bootstrap - Demo Wiki
Revision as of 18:58, 13 October 2023 by Molx (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component
Name Alert
Description Basic alerts using the BootstrapComponents extension.
Provider BootstrapComponents
Reference BootstrapComponents Extension docs - alert
Styling For all possible color styles and corresponding examples, see colors.

Basic alert

Code
<bootstrap_alert color="warning">This is an alert using the BoostrapComponents syntax!</bootstrap_alert>
Result

Dismissible

Code
<bootstrap_alert dismissible>Click on the <big>×</big> to close this alert.</bootstrap_alert>
Result

Dismissible fading

Code
<bootstrap_alert dismissible="fade">Click on the <big>×</big> to close this alert with a fade effect.</bootstrap_alert>
Result