x
1
2
3
4
5
6
7
8
9
10
11
12
<div class="Polaris-Layout"> <div class="Polaris-Layout__Section"> <div class="Polaris-Card"> <div class="Polaris-Card__Header"> <h2 class="Polaris-Heading">Online store dashboard</h2> </div> <div class="Polaris-Card__Section"> <p>View a summary of your online store’s performance.</p> </div> </div> </div></div>
1
2
3
4
5
6
7
<%= polaris_layout do |layout| %> <% layout.section do %> <%= polaris_card(title: "Online store dashboard", sectioned: true) do %> <p>View a summary of your online store’s performance.</p> <% end %> <% end %><% end %>
Use to have a single section on its own in a full-width container. Use for simple pages and as a container for banners and other full-width content.
No params configured.