x
1
2
3
4
5
6
7
8
9
10
11
12
13
<button type="button" data-controller="polaris-button" class="Polaris-Button"> <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="M0 10c0 5.514 4.486 10 10 10s10-4.486 10-10S15.514 0 10 0 0 4.486 0 10zm5 0a1 1 0 0 1 1-1h3V6a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H6a1 1 0 0 1-1-1z"></path></svg> </span> </div> <div class="Polaris-Button__Text"> Add product </div> </span></button>
1
2
3
4
<%= polaris_button do |button| %> <% button.icon(name: "CirclePlusMajor") %> Add product<% end %>
No notes provided.
No params configured.