1. Component Guide
  2. Govspeak content
  3. Buttons
Govspeak content example

Buttons

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/govspeak", {
} do %>
  <p>
  <a role="button" class="gem-c-button govuk-button" href="https://gov.uk/random">Button</a>
  <a class="gem-c-button govuk-button govuk-button--start" role="button" href="https://gov.uk/random"> Start button <svg class="govuk-button__start-icon" xmlns="http://www.w3.org/2000/svg" width="17.5" height="19" viewBox="0 0 33 40" role="presentation" focusable="false"><path fill="currentColor" d="M0 0h13l20 20-20 20H0l20-20z"></path></svg></a>
</p>
<% end %>