1. Component Guide
  2. Print link
  3. Default
Print link example

Default

This component calls print() via the browser’s DOM API. By default it relies on JavaScript and is not shown in environments where JavaScript is disabled. The "link" here is actually a button tag because this is not a navigation event.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/print_link", {
} %>