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
34
35
36
37
38
<div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle">
<div style="--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-border-block-end-width: var(--p-border-width-1);--pc-box-padding-inline-end-xs: var(--p-space-3);--pc-box-padding-inline-start-xs: var(--p-space-3)" class="Polaris-LegacyTabs__Wrapper Polaris-Box">
<ul role="tablist" class="Polaris-LegacyTabs Polaris-LegacyTabs--fitted">
<li class="Polaris-LegacyTabs__TabContainer" role="presentation">
<button rol="tab" tabindex="0" type="button" class="Polaris-LegacyTabs__Tab Polaris-LegacyTabs__Tab--selected">
<span class="Polaris-LegacyTabs__Title">
All
</span>
</button></li>
<li class="Polaris-LegacyTabs__TabContainer" role="presentation">
<button rol="tab" tabindex="0" type="button" class="Polaris-LegacyTabs__Tab">
<span class="Polaris-LegacyTabs__Title">
Accepts marketing
</span>
</button></li>
<li class="Polaris-LegacyTabs__TabContainer" role="presentation">
<button rol="tab" tabindex="0" type="button" class="Polaris-LegacyTabs__Tab">
<span class="Polaris-LegacyTabs__Title">
Repeat customer
</span>
</button></li>
<li class="Polaris-LegacyTabs__TabContainer" role="presentation">
<a rol="tab" tabindex="0" href="#" class="Polaris-LegacyTabs__Tab">
<span class="Polaris-LegacyTabs__Title">
Prospects
</span>
</a></li>
</ul>
</div>
<div class="Polaris-LegacyCard__Section">
<div class="Polaris-LegacyCard__SectionHeader">
<h3 class="Polaris-Text--root Polaris-Text--headingSm Polaris-Text--semibold">
All
</h3>
</div>
Tab "All" selected.
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
<%= polaris_card do |card| %>
<% card.with_tabs(fitted: true) do |tabs| %>
<% tabs.with_tab(title: "All", active: true) %>
<% tabs.with_tab(title: "Accepts marketing") %>
<% tabs.with_tab(title: "Repeat customer") %>
<% tabs.with_tab(title: "Prospects", url: "#") %>
<% end %>
<% card.with_section(title: "All") do %>
Tab "All" selected.
<% end %>
<% end %>