bootstrap/site/content/docs/5.0/components/close-button.md

543 B

layout title description group
docs Close button A generic close button for dismissing content like modals and alerts. components

Be sure to include text for screen readers, as we've done with aria-label. Disabled close buttons have pointer-events: none and user-select: none applied to preventing hover and active states from triggering.

{{< example >}} {{< /example >}}