Close button
Angular Bootstrap 5 Close button
A generic close button for dismissing content like modals, toasts and alerts.
Basic example
Provide an option to dismiss or close a component with .btn-close
.
Disabled
Add disabled
attribute to prevent triggering hover and active states.
White variant
Add data-mdb-theme="dark"
to the .btn-close
, or to its parent element, to invert the close button.