1. Collections Component Guide
  2. Search
  3. With custom label class
Search example

With custom label class

Allows adding a custom class to the label of the component.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/search", {
  label_custom_class: "govuk-heading-xl"
} %>