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
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusSuccess Polaris-Banner--withinPage">
<div class="Polaris-Banner__Dismiss">
<a href="#" data-controller="paper-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 viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M6.707 5.293a1 1 0 0 0-1.414 1.414l3.293 3.293-3.293 3.293a1 1 0 1 0 1.414 1.414l3.293-3.293 3.293 3.293a1 1 0 0 0 1.414-1.414l-3.293-3.293 3.293-3.293a1 1 0 0 0-1.414-1.414l-3.293 3.293-3.293-3.293Z"></path></svg>
</span>
</div>
</span>
</a>
</div>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-inline-end-xs: var(--p-space-4)" class="Polaris-Box">
<span class="Polaris-Icon Polaris-Icon--colorSuccess Polaris-Icon--applyColor">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 10a10 10 0 1 0 20 0 10 10 0 0 0-20 0zm15.2-1.8a1 1 0 0 0-1.4-1.4l-4.8 4.8-2.3-2.3a1 1 0 0 0-1.4 1.4l3 3c.4.4 1 .4 1.4 0l5.5-5.5z"></path></svg>
</span>
</div>
<div class="Polaris-Banner__ContentWrapper">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold Polaris-Text--break">
Your shipping label is ready to print.
</h2>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-05);--pc-box-padding-block-start-xs: var(--p-space-05)" class="Polaris-Box">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-start-xs: var(--p-space-4)" 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-2)" class="Polaris-Box">
<a href="#" data-controller="paper-button" class="Polaris-Banner__Button Polaris-Banner__PrimaryAction Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Print label
</div>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
<%= paper_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 %>