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
<div class="Polaris-Layout"> <div class="Polaris-Layout__Section Polaris-Layout__Section--oneThird"> <div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> First third </h2> </div> <div class="Polaris-LegacyCard__Section"> <p>View a summary of your order.</p> </div> </div> </div> <div class="Polaris-Layout__Section Polaris-Layout__Section--oneThird"> <div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Second third </h2> </div> <div class="Polaris-LegacyCard__Section"> <p>Add tags to your order.</p> </div> </div> </div> <div class="Polaris-Layout__Section Polaris-Layout__Section--oneThird"> <div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Third third </h2> </div> <div class="Polaris-LegacyCard__Section"> <p>Add tags to your order.</p> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<%= polaris_layout do |layout| %> <% layout.with_section(one_third: true) do %> <%= polaris_card(title: "First third", sectioned: true) do %> <p>View a summary of your order.</p> <% end %> <% end %> <% layout.with_section(one_third: true) do %> <%= polaris_card(title: "Second third", sectioned: true) do %> <p>Add tags to your order.</p> <% end %> <% end %> <% layout.with_section(one_third: true) do %> <%= polaris_card(title: "Third third", sectioned: true) do %> <p>Add tags to your order.</p> <% end %> <% end %><% end %>
Use to create a ⅓ + ⅓ + ⅓ layout. Can be used to display content of equal importance. This layout will stack the columns on small screens.
No params configured.