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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<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--hasNavigation">
<div class="Polaris-Page-Header__Row">
<div class="Polaris-Page-Header__BreadcrumbWrapper">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-max-width: 100%;--pc-box-padding-inline-end-xs: var(--p-space-2)" class="Polaris-Box Polaris-Box--printHidden">
<nav role="navigation">
<a class="Polaris-Breadcrumbs__Breadcrumb" href="/products" data-polaris-unstyled="true">
<span class="Polaris-Breadcrumbs__ContentWrapper">
<span class="Polaris-Breadcrumbs__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="M16.5 10a.75.75 0 0 1-.75.75h-9.69l2.72 2.72a.75.75 0 0 1-1.06 1.06l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 1 1 1.06 1.06l-2.72 2.72h9.69a.75.75 0 0 1 .75.75Z"></path></svg>
</span>
</span>
</span>
</a>
</nav>
</div>
</div>
<div class="Polaris-Page-Header__TitleWrapper">
<div class="Polaris-Header-Title__TitleAndSubtitleWrapper">
<div class="Polaris-Header-Title__TitleWithMetadataWrapper">
<h1 class="Polaris-Header-Title Polaris-Header-Title__TitleWithSubtitle">3/4 inch Leather pet collar</h1>
<div class="Polaris-Header-Title__TitleMetadata">
<span class="Polaris-Badge Polaris-Badge--statusSuccess">
<span class="Polaris-Text--root Polaris-Text--bodySm Polaris-Text--regular">
Paid
</span></span>
</div>
</div>
<div class="Polaris-Header-Title__SubTitle Polaris-Header-Title__SubtitleCompact">
<p>Perfect for any pet</p>
</div>
</div>
</div>
<div class="Polaris-Page-Header__RightAlign">
<div class="Polaris-Page-Header__Actions">
<div class="Polaris-ActionMenu Polaris-ActionMenu--mobile">
<div class="Polaris-ActionMenu-RollupActions__RollupActivator">
<div data-controller="polaris-popover" data-polaris-popover-append-to-body-value="false" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom-end" data-polaris-popover-text-field-activator-value="false" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;">
<div data-polaris-popover-target="activator">
<button data-action="polaris-popover#toggle click@window->polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button 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="M6 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"></path><path d="M11.5 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"></path><path d="M17 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"></path></svg>
</span>
</div>
</span>
</button>
</div>
<div data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed">
<div class="Polaris-Popover">
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
<div class="Polaris-Popover__ContentContainer">
<div tabindex="-1" class="Polaris-Popover__Content">
<div data-polaris-scrollable-shadow-value="true" 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-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<div style="text-align: left;" class="Polaris-ActionList">
<ul style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box Polaris-Box--listReset">
<li style="--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-padding-block-start-xs: var(--p-space-2)" 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-0);--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>
<a content="Duplicate" href="/duplicate" 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__Text">
Duplicate
</span>
</div>
</a></li>
</ul>
</div>
</li>
<li style="--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-border-block-start-width: var(--p-border-width-1)" class="Polaris-Box">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-1);--pc-box-padding-block-start-xs: var(--p-space-3);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-start-xs: var(--p-space-4)" class="Polaris-Box">
<p class="Polaris-Text--root Polaris-Text--headingXs Polaris-Text--semibold">
Promote
</p>
</div>
<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-0);--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>
<a content="Share on Facebook" href="https://facebook.com" 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__Text">
Share on Facebook
</span>
</div>
</a></li>
<li>
<a content="Share on Twitter" href="https://twitter.com" 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__Text">
Share on Twitter
</span>
</div>
</a></li>
</ul>
</div>
</li>
</ul>
</div>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</div>
</div>
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
</div>
</div>
</div>
</div>
</div>
<div class="Polaris-ActionMenu Polaris-ActionMenu--desktop">
<div class="Polaris-ActionMenu-Actions__ActionsLayout">
<div class="Polaris-ButtonGroup Polaris-ButtonGroup--extraTight">
<div class="Polaris-ButtonGroup__Item"><span class="Polaris-ActionMenu-SecondaryAction"> <a content="Duplicate" href="/duplicate" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Duplicate
</div>
</span>
</a>
</span></div>
<div class="Polaris-ButtonGroup__Item"> <span class="Polaris-ActionMenu-SecondaryAction">
<div data-controller="polaris-popover" data-polaris-popover-append-to-body-value="false" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom" data-polaris-popover-text-field-activator-value="false" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;">
<div data-polaris-popover-target="activator">
<button data-action="polaris-popover#toggle click@window->polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Promote
</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 data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed">
<div class="Polaris-Popover">
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
<div class="Polaris-Popover__ContentContainer">
<div tabindex="-1" class="Polaris-Popover__Content">
<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-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<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>
<a content="Share on Facebook" href="https://facebook.com" 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__Text">
Share on Facebook
</span>
</div>
</a></li>
<li>
<a content="Share on Twitter" href="https://twitter.com" 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__Text">
Share on Twitter
</span>
</div>
</a></li>
</ul>
</div>
</div>
</div>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</div>
</div>
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
</div>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
<div class="Polaris-Page-Header__PrimaryActionWrapper">
<button type="button" disabled="disabled" data-controller="polaris-button" class="Polaris-Button Polaris-Button--disabled Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Save
</div>
</span>
</button>
</div>
<div class="Polaris-Page-Header__PaginationWrapper">
<nav aria-label="Pagination">
<div data-buttongroup-segmented="true" class="Polaris-ButtonGroup Polaris-ButtonGroup--segmented">
<div class="Polaris-ButtonGroup__Item"> <button type="button" disabled="disabled" data-controller="polaris-button" class="Polaris-Button Polaris-Button--disabled 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 fill-rule="evenodd" d="M11.764 5.204a.75.75 0 0 1 .032 1.06l-3.516 3.736 3.516 3.736a.75.75 0 1 1-1.092 1.028l-4-4.25a.75.75 0 0 1 0-1.028l4-4.25a.75.75 0 0 1 1.06-.032Z"></path></svg>
</span>
</div>
</span>
</button></div>
<div class="Polaris-ButtonGroup__Item"> <a href="/product/2" data-controller="polaris-button" class="Polaris-Button 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 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>
</div>
</span>
</a></div>
</div>
</nav>
</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
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<%= polaris_page(
title: "3/4 inch Leather pet collar",
subtitle: "Perfect for any pet",
compact_title: true,
back_url: "/products",
next_url: "/product/2",
secondary_actions: [
{ content: "Duplicate", url: "/duplicate" },
]
) do |page| %>
<% page.with_title_metadata do %>
<%= polaris_badge(status: :success) { "Paid" } %>
<% end %>
<% page.with_primary_action(disabled: true) { "Save" } %>
<% page.with_action_group(
title: "Promote",
actions: [
{ content: "Share on Facebook", url: "https://facebook.com" },
{ content: "Share on Twitter", url: "https://twitter.com" },
]
) %>
<%= polaris_card(title: "Credit card") do %>
<p>Credit card information</p>
<% end %>
<% end %>