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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<div class="flex flex-col gap-6"> <div data-controller="midwest-prose" class="midwest-prose prose"> <p>Chevron right</p> </div> <nav class="midwest-breadcrumbs style-inline" aria-label="Breadcrumb"> <ol class="breadcrumbs-list"> <li class="breadcrumb-item"> <a class="midwest-breadcrumb variant-default" href="/"> <span class="midwest-label "> Home </span> </a> </li> <li class="breadcrumb-separator" aria-hidden="true"> <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="Chevron forward"><title>Chevron forward</title> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M184 112l144 144-144 144"></path></svg> </div> </div> </li> <li class="breadcrumb-item"> <a class="midwest-breadcrumb variant-default" href="/articles"> <span class="midwest-label "> Articles </span> </a> </li> <li class="breadcrumb-separator" aria-hidden="true"> <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="Chevron forward"><title>Chevron forward</title> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M184 112l144 144-144 144"></path></svg> </div> </div> </li> <li class="breadcrumb-item"> <span class="midwest-breadcrumb variant-default current" aria-current="page"> <span class="midwest-label "> Getting Started </span> </span> </li> </ol> </nav> <div data-controller="midwest-prose" class="midwest-prose prose"> <p>Slash (default — no icon)</p> </div> <nav class="midwest-breadcrumbs style-inline" aria-label="Breadcrumb"> <ol class="breadcrumbs-list"> <li class="breadcrumb-item"> <a class="midwest-breadcrumb variant-default" href="/"> <span class="midwest-label "> Home </span> </a> </li> <li class="breadcrumb-separator" aria-hidden="true"> <span class="sep-char" aria-hidden="true">/</span> </li> <li class="breadcrumb-item"> <a class="midwest-breadcrumb variant-default" href="/articles"> <span class="midwest-label "> Articles </span> </a> </li> <li class="breadcrumb-separator" aria-hidden="true"> <span class="sep-char" aria-hidden="true">/</span> </li> <li class="breadcrumb-item"> <span class="midwest-breadcrumb variant-default current" aria-current="page"> <span class="midwest-label "> Getting Started </span> </span> </li> </ol> </nav></div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="flex flex-col gap-6"> <%= midwest_prose { tag.p "Chevron right" } %> <%= midwest_breadcrumbs( { title: 'Home', path: '/' }, { title: 'Articles', path: '/articles' }, { title: 'Getting Started', path: '/articles/getting-started' }, separator: :'chevron-forward' ) %> <%= midwest_prose { tag.p "Slash (default — no icon)" } %> <%= midwest_breadcrumbs( { title: 'Home', path: '/' }, { title: 'Articles', path: '/articles' }, { title: 'Getting Started', path: '/articles/getting-started' } ) %></div>Icon separator
Pass any icon name to icon: to replace the default / text
separator with an icon between items.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Breadcrumbs/icon_separator
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."