Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="midwest-steps" role="tablist" aria-label="Progress steps">
<div class="midwest-step complete">
<a class="step-button" role="tab" aria-selected="false" href="#account">
<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" 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>
<span class="copy">Account</span>
</a></div>
<div class="midwest-step current">
<a class="step-button" role="tab" aria-selected="true" aria-current="step" href="#details">
<span class="copy">Details</span>
</a></div>
<div class="midwest-step">
<a class="step-button" role="tab" aria-selected="false" href="#review">
<span class="copy">Review</span>
</a></div>
<div class="midwest-step">
<a class="step-button" role="tab" aria-selected="false" href="#confirm">
<span class="copy">Confirm</span>
</a></div>
</div>
1
2
3
4
5
6
<%= midwest_steps do |s| %>
<% s.with_step("Account", as: :link, href: "#account", complete: true) %>
<% s.with_step("Details", as: :link, href: "#details", current: true) %>
<% s.with_step("Review", as: :link, href: "#review") %>
<% s.with_step("Confirm", as: :link, href: "#confirm") %>
<% end %>

No assets to display.
Add a .js or .css file alongside the component to see it here.

Accessibility

Figma embed for Steps/link

Annotate a preview to embed its Figma design here:

@figma "https://figma.com/..."