blob: 8329fd94b02bfa3767f057bfacb4aed8fa21054f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
layout: docs
title: Close icon
description: Use a generic close icon for dismissing content like modals and alerts.
group: utilities
---
**Be sure to include text for screen readers**, as we've done with `aria-label`.
{{< example >}}
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
{{< /example >}}
|