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
<div class="Polaris-Page">
<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-end-md: var(--p-space-5);--pc-box-padding-block-start-xs: var(--p-space-4);--pc-box-padding-block-start-md: var(--p-space-5);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-end-sm: var(--p-space-0);--pc-box-padding-inline-start-xs: var(--p-space-4);--pc-box-padding-inline-start-sm: var(--p-space-0);position: relative" class="Polaris-Box">
<div class="Polaris-Page-Header--mobileView Polaris-Page-Header--mediumTitle Polaris-Page-Header--noBreadcrumbs">
<div class="Polaris-Page-Header__Row">
<div class="Polaris-Page-Header__TitleWrapper">
<div class="Polaris-Header-Title__TitleAndSubtitleWrapper">
<h1 class="Polaris-Header-Title">Page Title</h1>
</div>
</div>
<div class="Polaris-Page-Header__RightAlign">
<div class="Polaris-Page-Header__Actions">
<div class="Polaris-Page-Header__PrimaryActionWrapper">
<button type="button" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Save
</div>
<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 fill-rule="evenodd" d="M6.24 8.2a.75.75 0 0 1 1.06.04l2.7 2.908 2.7-2.908a.75.75 0 1 1 1.1 1.02l-3.25 3.5a.75.75 0 0 1-1.1 0l-3.25-3.5a.75.75 0 0 1 .04-1.06Z"></path></svg>
</span>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="">
<div class="Polaris-LegacyCard">
<div class="Polaris-LegacyCard__Header">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold">
Credit card
</h2>
</div>
<div class="Polaris-LegacyCard__Section">
<p>Credit card information</p>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
8
9
<%= polaris_page(title: "Page Title") do |page| %>
<% page.with_custom_primary_action do %>
<%= polaris_button(disclosure: true) { "Save" } %>
<% end %>
<%= polaris_card(title: "Credit card") do %>
<p>Credit card information</p>
<% end %>
<% end %>