Form input example

With maxlength

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: sanitize("An input that doesn't allow many characters")
  },
  name: "name",
  value: sanitize("You can't type more"),
  maxlength: 10
} %>