1. Collections Component Guide
  2. Form checkboxes
  3. Without hint text
Form checkboxes example

Without hint text

Hint text can be removed entirely with this option. Note that this option can be combined with the visually_hide_heading option.

How it looks (preview)

What is your favourite skittle?

How to call this example

<%= render "govuk_publishing_components/components/checkboxes", {
  name: "favourite_skittle",
  heading: "What is your favourite skittle?",
  no_hint_text: true,
  items: [
    {
      label: "Mauve",
      value: "mauve"
    },
    {
      label: "Sunset orange",
      value: "sunsetorange"
    }
  ]
} %>