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
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
81
82
83
84
85
<nav class="Polaris-Navigation">
<div data-polaris-scrollable-shadow-value="false" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Navigation__PrimaryNavigation Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<ul class="Polaris-Navigation__Section">
<li class="Polaris-Navigation__ListItem">
<div class="Polaris-Navigation__ItemWrapper">
<div class="Polaris-Navigation__ItemInnerWrapper">
<a class="Polaris-Navigation__Item" tabindex="0" href="#">
<div class="Polaris-Navigation__Icon">
<span class="Polaris-Icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.344 3.692a2.25 2.25 0 0 1 3.312 0l3.854 4.19a3.75 3.75 0 0 1 .99 2.538v3.33a2.75 2.75 0 0 1-2.75 2.75h-1.75a1.5 1.5 0 0 1-1.5-1.5v-2h-1v2a1.5 1.5 0 0 1-1.5 1.5h-1.75a2.75 2.75 0 0 1-2.75-2.75v-3.33c0-.94.353-1.847.99-2.539l3.854-4.189Zm2.208 1.016a.75.75 0 0 0-1.104 0l-3.854 4.189a2.25 2.25 0 0 0-.594 1.523v3.33c0 .69.56 1.25 1.25 1.25h1.75v-2a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v2h1.75c.69 0 1.25-.56 1.25-1.25v-3.33a2.25 2.25 0 0 0-.594-1.523l-3.854-4.19Z"></path></svg>
</span>
</div>
<span class="Polaris-Navigation__Text">
Home
</span>
</a>
<div class="Polaris-Navigation__SecondaryActions">
<span><a href="#" target="_blank" class="Polaris-Navigation__SecondaryAction"><span class="Polaris-Icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M11.75 3.5a.75.75 0 0 0 0 1.5h2.19l-4.97 4.97a.75.75 0 1 0 1.06 1.06l4.97-4.97v2.19a.75.75 0 0 0 1.5 0v-4a.75.75 0 0 0-.75-.75h-4Z"></path><path d="M15 10.967a.75.75 0 0 0-1.5 0v2.783c0 .69-.56 1.25-1.25 1.25h-6c-.69 0-1.25-.56-1.25-1.25v-6c0-.69.56-1.25 1.25-1.25h2.783a.75.75 0 0 0 0-1.5h-2.783a2.75 2.75 0 0 0-2.75 2.75v6a2.75 2.75 0 0 0 2.75 2.75h6a2.75 2.75 0 0 0 2.75-2.75v-2.783Z"></path></svg>
</span></a></span>
</div>
</div>
</div>
</li>
<li class="Polaris-Navigation__ListItem">
<div class="Polaris-Navigation__ItemWrapper">
<div class="Polaris-Navigation__ItemInnerWrapper">
<a class="Polaris-Navigation__Item" tabindex="0" target="_blank" href="#">
<div class="Polaris-Navigation__Icon">
<span class="Polaris-Icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M6.976 3.5a2.75 2.75 0 0 0-2.72 2.347l-.662 4.46a8.75 8.75 0 0 0-.094 1.282v1.661a3.25 3.25 0 0 0 3.25 3.25h6.5a3.25 3.25 0 0 0 3.25-3.25v-1.66c0-.43-.032-.858-.095-1.283l-.66-4.46a2.75 2.75 0 0 0-2.72-2.347h-6.05Zm-1.237 2.567a1.25 1.25 0 0 1 1.237-1.067h6.048c.62 0 1.146.454 1.237 1.067l.583 3.933h-2.484a1.25 1.25 0 0 0-1.185.855l-.159.474a.25.25 0 0 1-.237.171h-1.558a.25.25 0 0 1-.237-.17l-.159-.475a1.25 1.25 0 0 0-1.185-.855h-2.484l.583-3.933Zm-.738 5.433-.001.09v1.66c0 .966.784 1.75 1.75 1.75h6.5a1.75 1.75 0 0 0 1.75-1.75v-1.75h-2.46l-.1.303a1.75 1.75 0 0 1-1.66 1.197h-1.56a1.75 1.75 0 0 1-1.66-1.197l-.1-.303h-2.46Z"></path></svg>
</span>
</div>
<span class="Polaris-Navigation__Text">
Orders (external)
</span>
</a> </div>
</div>
</li>
<li class="Polaris-Navigation__ListItem">
<div class="Polaris-Navigation__ItemWrapper">
<div class="Polaris-Navigation__ItemInnerWrapper">
<a class="Polaris-Navigation__Item" tabindex="0" href="#">
<div class="Polaris-Navigation__Icon">
<span class="Polaris-Icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M13 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path><path fill-rule="evenodd" d="M11.276 3.5a3.75 3.75 0 0 0-2.701 1.149l-4.254 4.417a2.75 2.75 0 0 0 .036 3.852l2.898 2.898a2.5 2.5 0 0 0 3.502.033l4.747-4.571a3.25 3.25 0 0 0 .996-2.341v-2.187a3.25 3.25 0 0 0-3.25-3.25h-1.974Zm-1.62 2.19a2.25 2.25 0 0 1 1.62-.69h1.974c.966 0 1.75.784 1.75 1.75v2.187c0 .475-.194.93-.536 1.26l-4.747 4.572a1 1 0 0 1-1.401-.014l-2.898-2.898a1.25 1.25 0 0 1-.016-1.75l4.253-4.418Z"></path></svg>
</span>
</div>
<span class="Polaris-Navigation__Text">
Products
</span>
</a> </div>
</div>
<div class="Polaris-Navigation__SecondaryNavigation Polaris-Navigation--isExpanded">
<div class="Polaris-Collapsible" style="max-height: none; overflow: visible;">
<ul class="Polaris-Navigation__List">
<li class="Polaris-Navigation__ListItem">
<div class="Polaris-Navigation__ItemWrapper">
<div class="Polaris-Navigation__ItemInnerWrapper">
<a class="Polaris-Navigation__Item" tabindex="0" href="#">
<span class="Polaris-Navigation__Text">
All products
</span>
</a> </div>
</div>
</li>
<li class="Polaris-Navigation__ListItem">
<div class="Polaris-Navigation__ItemWrapper">
<div class="Polaris-Navigation__ItemInnerWrapper">
<a class="Polaris-Navigation__Item" tabindex="0" target="_blank" href="#">
<span class="Polaris-Navigation__Text">
Inventory (external)
</span>
</a> </div>
</div>
</li>
</ul>
</div>
</div>
</li>
</ul>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</nav>
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
<%= polaris_navigation do |navigation| %>
<% navigation.with_section do |section| %>
<% section.with_item(
url: "#",
label: "Home",
icon: "HomeIcon"
) do |item| %>
<% item.with_secondary_action(url: "#", icon: "ExternalIcon", external: true) %>
<% end %>
<% section.with_item(
url: "#",
label: "Orders (external)",
icon: "OrderIcon",
external: true
) %>
<% section.with_item(
url: "#",
label: "Products",
icon: "ProductIcon"
) do |item| %>
<% item.with_sub_item(
url: "#",
label: "All products"
) %>
<% item.with_sub_item(
url: "#",
label: "Inventory (external)",
external: true
) %>
<% end %>
<% end %>
<% end %>