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
<div class="Polaris-LegacyCard"> <div class="Polaris-LegacyCard__Header"> <h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold"> Staff accounts </h2> </div> <div class="Polaris-LegacyCard__Section"> <ul> <li>Felix Crafford</li> <li>Ezequiel Manno</li> </ul> </div> <div class="Polaris-LegacyCard__Section Polaris-LegacyCard__Section--subdued"> <div class="Polaris-LegacyCard__SectionHeader"> <h3 class="Polaris-Text--root Polaris-Text--headingSm Polaris-Text--semibold"> Deactivated staff accounts </h3> </div> <ul> <li>Felix Crafford</li> <li>Ezequiel Manno</li> </ul> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%= polaris_card(title: "Staff accounts") do |card| %> <% card.with_section do %> <ul> <li>Felix Crafford</li> <li>Ezequiel Manno</li> </ul> <% end %> <% card.with_section(title: "Deactivated staff accounts", subdued: true) do %> <ul> <li>Felix Crafford</li> <li>Ezequiel Manno</li> </ul> <% end %><% end %>
Use to indicate when one of the sections in your card contains inactive or disabled content.
No params configured.