1. Component Guide
  2. Signup link
  3. With custom heading level
Signup link example

With custom heading level

Override default heading level by passing through heading_level parameter (defaults to h3).

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/signup_link", {
  heading: "Sign up for email notifications",
  link_text: "Click right here to sign up!!",
  link_href: "/this-signs-you-up",
  heading_level: 1
} %>