1. Government Frontend Component Guide
  2. Form radio button
  3. With or divider

Form radio button example

With or divider

How it looks

or

How to call this example

<%= render "govuk_publishing_components/components/radio", {
  name: "radio-group-or-divider",
  items: [
    {
      value: "government-gateway",
      text: "Use Government Gateway"
    },
    {
      value: "govuk-verify",
      text: "Use GOV.UK Verify"
    },
    "or",
    {
      value: "create-an-account",
      text: "Create an account"
    }
  ]
} %>