1. Component Guide
  2. Search
  3. With set label size
Search example

With set label size

Allows the label text size to be set to xl, l, m, or s. If this is set, then inline_label is automatically set to false.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/search", {
  label_size: "xl"
} %>