x
<div class="Polaris-Card">
<div class="Polaris-Card__Header">
<div class="Polaris-Stack Polaris-Stack--alignmentTrailing">
<div class="Polaris-Stack__Item Polaris-Stack__Item--fill">
<h2 class="Polaris-Heading">Sales</h2>
</div>
<div class="Polaris-Stack__Item">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item Polaris-ButtonGroup__Item--plain"><a content="Total sales" href="https://bao.agency" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Total sales
</div>
</span>
</a></div>
</div>
</div>
<div class="Polaris-Stack__Item">
</div>
</div>
</div>
<div class="Polaris-Card__Section">
<div class="Polaris-TextContainer">
You can use sales reports to see information about your customers’ orders
based on criteria such as sales over time, by channel, or by staff.
</div>
</div>
<div class="Polaris-Card__Section">
<div class="Polaris-Card__SectionHeader">
<h3 class="Polaris-Subheading">Total sales breakdown</h3>
</div>
<ul>
<li>Felix Crafford</li>
<li>Ezequiel Manno</li>
</ul>
</div>
<div class="Polaris-Card__Section Polaris-Card__Section--subdued">
<div class="Polaris-Card__SectionHeader">
<h3 class="Polaris-Subheading">Deactivated reports</h3>
</div>
<ul>
<li>Felix Crafford</li>
<li>Ezequiel Manno</li>
</ul>
</div>
<div class="Polaris-Card__Section">
<div class="Polaris-Card__SectionHeader">
<h3 class="Polaris-Subheading">Note</h3>
</div>
<div class="Polaris-TextContainer">
The sales reports are available only if your store is on the Shopify plan
or higher.
</div>
</div>
<div class="Polaris-Card__Section">
<div class="Polaris-Card__Section">
<div class="Polaris-TextContainer">
You can use sales reports to see information about your customers’ orders
based on criteria such as sales over time, by channel, or by staff.
</div>
</div>
</div>
<div class="Polaris-Card__Footer">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item"> <a href="#" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Dismiss
</div>
</span>
</a>
</div>
<div class="Polaris-ButtonGroup__Item"> <a href="#" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Export report
</div>
</span>
</a>
</div>
</div>
</div>
</div>
<%= polaris_card do |card| %>
<% card.header(title: "Sales", actions: [{ content: "Total sales", url: "https://bao.agency" }]) %>
<%= card.section do %>
<%= polaris_text_container do %>
You can use sales reports to see information about your customers’ orders
based on criteria such as sales over time, by channel, or by staff.
<% end %>
<% end %>
<% card.section(title: "Total sales breakdown") do %>
<ul>
<li>Felix Crafford</li>
<li>Ezequiel Manno</li>
</ul>
<% end %>
<% card.section(title: "Deactivated reports", subdued: true) do %>
<ul>
<li>Felix Crafford</li>
<li>Ezequiel Manno</li>
</ul>
<% end %>
<% card.section(title: "Note") do %>
<%= polaris_text_container do %>
The sales reports are available only if your store is on the Shopify plan
or higher.
<% end %>
<% end %>
<% card.primary_footer_action(url: "#") { "Export report" } %>
<% card.secondary_footer_action(url: "#") { "Dismiss" } %>
<% end %>

Use as a broad example that includes most props available to card.

No params configured.