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
<div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <div class="Polaris-LegacyStack Polaris-LegacyStack--alignmentTrailing"> <div class="Polaris-LegacyStack__Item Polaris-LegacyStack__Item--fill"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Online store dashboard </h2> </div> <div class="Polaris-LegacyStack__Item"> <div class="Polaris-ButtonGroup"> <div class="Polaris-ButtonGroup__Item"> <a content="Add variant" href="https://bao.agency" data-controller="polaris-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Add variant </div> </span> </a> </div> </div> </div> </div> </div> <div class="Polaris-LegacyCard__Surface"> <div class="Polaris-LegacyCard__Section"> <p>View a summary of your online store’s performance.</p> </div> </div></div><div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <div class="Polaris-LegacyStack Polaris-LegacyStack--alignmentTrailing"> <div class="Polaris-LegacyStack__Item Polaris-LegacyStack__Item--fill"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Shipping labels </h2> </div> <div class="Polaris-LegacyStack__Item"> <div class="Polaris-ButtonGroup"> <div class="Polaris-ButtonGroup__Item"> <a content="Print" href="#" data-controller="polaris-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Print </div> </span> </a> </div> <div class="Polaris-ButtonGroup__Item"> <a content="Buy labels" href="#" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Buy labels </div> </span> </a> </div> </div> </div> </div> </div> <div class="Polaris-LegacyCard__Surface"> <div class="Polaris-LegacyCard__Section"> <p>3 orders are ready to ship.</p> </div> </div></div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%= polaris_card( title: "Online store dashboard", actions: [{ content: "Add variant", url: "https://bao.agency" }]) do %> <p>View a summary of your online store’s performance.</p><% end %><%= polaris_card( title: "Shipping labels", actions: [ { content: "Print", url: "#" }, { content: "Buy labels", url: "#", primary: true } ]) do %> <p>3 orders are ready to ship.</p><% end %>Use for less important card actions, or actions merchants may do before reviewing the contents of the card. For example, merchants may want to add items to a card containing a long list, or enter a customer’s new address.
No params configured.