x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="flex items-center gap-4 p-8"> <p>Semantic (announced): <div class="midwest-icon "> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" role="img" aria-label="Checkmark"><title>Checkmark</title> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 128L192 384l-96-96"></path></svg> </div> </div> </p> <p>Decorative (hidden from AT): <div class="midwest-icon " aria-hidden="true"> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 128L192 384l-96-96"></path></svg> </div> </div> </p></div>1
2
3
4
<div class="flex items-center gap-4 p-8"> <p>Semantic (announced): <%= midwest_icon(:checkmark) %></p> <p>Decorative (hidden from AT): <%= midwest_icon(:checkmark, decorative: true) %></p></div>Decorative
Pass decorative: true when the icon is purely visual and carries no
meaning — the entire element will be hidden from assistive technology.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Icon/decorative
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."