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
<div class="Polaris-LegacyCard">
<div class="Polaris-LegacyCard__Header">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold">
Customer
</h2>
</div>
<div class="Polaris-LegacyCard__Section">
<p>John Smith</p>
</div>
<div class="Polaris-LegacyCard__Section">
<div class="Polaris-LegacyCard__SectionHeader">
<h3 class="Polaris-Text--root Polaris-Text--headingSm Polaris-Text--semibold">
Addresses
</h3>
</div>
<div class="Polaris-LegacyCard__Subsection"> 123 First St
<br />
Somewhere
<br />
The Universe
</div>
<div class="Polaris-LegacyCard__Subsection"> 123 Second St
<br />
Somewhere
<br />
The Universe
</div>
</div>
<div class="Polaris-LegacyCard__Section">
<div class="Polaris-LegacyCard__Subsection"> A single subsection without a sibling has no visual appearance
</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
27
28
29
<%= polaris_card(title: "Customer") do |card| %>
<% card.with_section do %>
<p>John Smith</p>
<% end %>
<% card.with_section(title: "Addresses") do |section| %>
<% section.with_subsection do %>
123 First St
<br />
Somewhere
<br />
The Universe
<% end %>
<% section.with_subsection do %>
123 Second St
<br />
Somewhere
<br />
The Universe
<% end %>
<% end %>
<% card.with_section do |section| %>
<% section.with_subsection do %>
A single subsection without a sibling has no visual appearance
<% end %>
<% end %>
<% end %>