1. Government Frontend Component Guide
  2. Button
  3. With title attribute
Button example

With title attribute

How it looks

How to call this example

<%= render "govuk_publishing_components/components/button", {
  text: "Click me",
  margin_bottom: true,
  title: "A button to click"
} %>