Form character count example

Default

How it looks (preview)

You can enter up to 10 characters

How to call this example

<%= render "govuk_publishing_components/components/character_count", {
  textarea: {
    label: {
      text: "Can you provide more detail?"
    },
    name: "more-detail"
  },
  maxlength: 10
} %>