x
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusSuccess Polaris-Banner--withinPage">
<div class="Polaris-Banner__Dismiss">
<a href="#" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m11.414 10 4.293-4.293a.999.999 0 1 0-1.414-1.414L10 8.586 5.707 4.293a.999.999 0 1 0-1.414 1.414L8.586 10l-4.293 4.293a.999.999 0 1 0 1.414 1.414L10 11.414l4.293 4.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L11.414 10z"></path></svg>
</span>
</div>
</span>
</a>
</div>
<div class="Polaris-Banner__Ribbon">
<span class="Polaris-Icon Polaris-Icon--colorSuccess Polaris-Icon--applyColor">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 10a10 10 0 1 0 20 0 10 10 0 0 0-20 0zm15.2-1.8a1 1 0 0 0-1.4-1.4L9 11.6 6.7 9.3a1 1 0 0 0-1.4 1.4l3 3c.4.4 1 .4 1.4 0l5.5-5.5z"></path></svg>
</span>
</div>
<div class="Polaris-Banner__ContentWrapper">
<div class="Polaris-Banner__Heading">
<p class="Polaris-Heading">
Your shipping label is ready to print.
</p>
</div>
<div class="Polaris-Banner__Content">
<div class="Polaris-Banner__Actions">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item">
<div class="Polaris-Banner__PrimaryAction">
<a href="#" data-controller="polaris-button" class="Polaris-Banner__Button Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Print label
</div>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<%= polaris_banner(
title: "Your shipping label is ready to print.",
status: :success,
) do |banner| %>
<% banner.dismiss_button(url: "#") %>
<% banner.action(url: '#') { "Print label" } %>
<% end %>
No notes provided.
No params configured.