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
25
26
<div class="max-w-xs p-8"> <div class="midwest-steps is-vertical" role="tablist" aria-label="Progress steps"> <div class="midwest-step complete"> <button class="step-button" role="tab" aria-selected="false" type="button"> <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> </button></div> <div class="midwest-step current"> <button class="step-button" role="tab" aria-selected="true" aria-current="step" type="button"> <span class="copy">Details</span> </button></div> <div class="midwest-step"> <button class="step-button" role="tab" aria-selected="false" type="button"> <span class="copy">Review</span> </button></div> <div class="midwest-step"> <button class="step-button" role="tab" aria-selected="false" type="button"> <span class="copy">Confirm</span> </button></div> </div></div>1
2
3
4
5
6
7
8
<div class="max-w-xs p-8"> <%= midwest_steps(orientation: :vertical) do |s| %> <% s.with_step('Account', complete: true) %> <% s.with_step('Details', current: true) %> <% s.with_step('Review') %> <% s.with_step('Confirm') %> <% end %></div>Vertical
Use orientation: :vertical to stack steps top-to-bottom. Useful for
sidebar-style wizard navigation or mobile-friendly multi-step forms.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Steps/vertical
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."