Angular Bootstrap Close Icon

Angular Close Icon - Bootstrap 4 & Material Design

Note: This documentation is for an older version of Bootstrap (v.4). A newer version is available for Bootstrap 5. We recommend migrating to the latest version of our product - Material Design for Bootstrap 5.
Go to docs v.5

Use a generic close icon for dismissing content like modals and alerts. Be sure to include text for screen readers, as we’ve done with aria-label.


        
            
          <button type="button" class="close" aria-label="Close">
            <span aria-hidden="true">×</span>
          </button>