Buttons

Default

Block

Outlined

Primary Secondary Tertiary Danger

Small

Large

Default with Icon

See the Icons documentation for rendering SVGs inline.

<%= form.button do %>
  <%= render_svg "icons/download", styles: "fill-current icon-sm mr-2", title: "my icon" %>
  Primary
<% end %>

Disabled