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
<div class="Polaris-ActionList">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-2);--pc-box-padding-block-start-xs: var(--p-space-2);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-2)" class="Polaris-Box">
<ul style="--pc-vertical-stack-align: ;--pc-vertical-stack-order: column;--pc-vertical-stack-gap-xs: var(--p-space-1)" class="Polaris-VerticalStack Polaris-VerticalStack--listReset">
<li>
<button type="button" class="Polaris-ActionList__Item">
<div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack">
<span class="Polaris-ActionList__Prefix">
<span class="Polaris-Thumbnail Polaris-Thumbnail--sizeSmall">
<img src="https://burst.shopifycdn.com/photos/[email protected]" alt="">
</span>
</span>
<span class="Polaris-ActionList__Text">
Go here
</span>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box">
<span class="Polaris-ActionList__Suffix">
<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="M7.72 14.53a.75.75 0 0 1 0-1.06l3.47-3.47-3.47-3.47a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0Z"></path></svg>
</span>
</span>
</div>
</div>
</button></li>
<li>
<button type="button" class="Polaris-ActionList__Item">
<div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack">
<span class="Polaris-ActionList__Prefix">
<span role="img" aria-label="Bob" class="Polaris-Avatar Polaris-Avatar--sizeSmall Polaris-Avatar--shapeRound">
<span class="Polaris-Avatar__Initials">
<svg class="Polaris-Avatar__Svg" viewBox="0 0 40 40">
<path fill="currentColor" d="M8.28 27.5A14.95 14.95 0 0120 21.8c4.76 0 8.97 2.24 11.72 5.7a14.02 14.02 0 01-8.25 5.91 14.82 14.82 0 01-6.94 0 14.02 14.02 0 01-8.25-5.9zM13.99 12.78a6.02 6.02 0 1112.03 0 6.02 6.02 0 01-12.03 0z"></path>
</svg>
</span>
</span>
</span>
<span class="Polaris-ActionList__Text">
Go there
</span>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box">
<span class="Polaris-ActionList__Suffix">
<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="M7.72 14.53a.75.75 0 0 1 0-1.06l3.47-3.47-3.47-3.47a.75.75 0 0 1 1.06-1.06l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0Z"></path></svg>
</span>
</span>
</div>
</div>
</button></li>
</ul>
</div>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<%= polaris_action_list do |action_list| %>
<% action_list.with_item do |item| %>
<% item.with_prefix do %>
<%= polaris_thumbnail(
source: "https://burst.shopifycdn.com/photos/[email protected]",
size: :small,
) %>
<% end %>
<% item.with_suffix do %>
<%= polaris_icon(name: "ChevronRightIcon") %>
<% end %>
Go here
<% end %>
<% action_list.with_item do |item| %>
<% item.with_prefix do %>
<%= polaris_avatar(name: "Bob", size: :small, customer: true) %>
<% end %>
<% item.with_suffix do %>
<%= polaris_icon(name: "ChevronRightIcon") %>
<% end %>
Go there
<% end %>
<% end %>