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
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusSuccess Polaris-Banner--withinPage">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-width: 100%" class="Polaris-Box">
<div style="--pc-vertical-stack-align: ;--pc-vertical-stack-order: column" class="Polaris-VerticalStack">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Banner__TopBar Polaris-Box">
<div style="--pc-horizontal-stack-align: space-between;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: nowrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack">
<div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-wrap: nowrap;--pc-horizontal-stack-gap-xs: var(--p-space-1)" class="Polaris-HorizontalStack">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box">
<span class="Polaris-Icon Polaris-Icon--colorSuccess Polaris-Icon--applyColor">
<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="M15.78 5.97a.75.75 0 0 1 0 1.06l-6.5 6.5a.75.75 0 0 1-1.06 0l-3.25-3.25a.75.75 0 1 1 1.06-1.06l2.72 2.72 5.97-5.97a.75.75 0 0 1 1.06 0Z"></path></svg>
</span>
</div>
<h2 class="Polaris-Text--root Polaris-Text--headingSm Polaris-Text--semibold Polaris-Text--break">
Your shipping label is ready to print.
</h2>
</div>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Banner__DismissButton Polaris-Box">
<a href="#" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__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="M12.72 13.78a.75.75 0 1 0 1.06-1.06l-2.72-2.72 2.72-2.72a.75.75 0 0 0-1.06-1.06l-2.72 2.72-2.72-2.72a.75.75 0 0 0-1.06 1.06l2.72 2.72-2.72 2.72a.75.75 0 1 0 1.06 1.06l2.72-2.72 2.72 2.72Z"></path></svg>
</span>
</div>
</span>
</a>
</div>
</div>
</div>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-4);--pc-box-padding-block-start-xs: var(--p-space-4);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-start-xs: var(--p-space-4)" class="Polaris-Box">
<div style="--pc-vertical-stack-align: ;--pc-vertical-stack-order: column;--pc-vertical-stack-gap-xs: var(--p-space-3)" class="Polaris-Banner__ContentWrapper Polaris-VerticalStack">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-inline-end-xs: var(--p-space-1)" class="Polaris-Box">
<a href="#" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Print label
</div>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
<%= polaris_banner(
title: "Your shipping label is ready to print.",
status: :success,
) do |banner| %>
<% banner.with_dismiss_button(url: "#") %>
<% banner.with_action(url: '#') { "Print label" } %>
<% end %>