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">Staff accounts</h2>
</div>
<div class="Polaris-Stack__Item">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item Polaris-ButtonGroup__Item--plain"><a content="Preview" href="https://bao.agency" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Preview
</div>
</span>
</a></div>
</div>
</div>
<div class="Polaris-Stack__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
<p>Separate</p>
</div>
</span>
</button>
</div>
</div>
</div>
<div class="Polaris-Card__Section">
<ul>
<li>Felix Crafford</li>
<li>Ezequiel Manno</li>
</ul>
</div>
</div>
<%= polaris_card do |card| %>
<% card.header(title: "Staff accounts", actions: [{ content: "Preview", url: "https://bao.agency" }]) do %>
<%= polaris_button(plain: true) do %>
<p>Separate</p>
<% end %>
<% end %>
<% card.section do %>
<ul>
<li>Felix Crafford</li>
<li>Ezequiel Manno</li>
</ul>
<% end %>
<% end %>

Use to be able to use custom elements as header content.

No params configured.