Form textarea example

With id attribute

An id can be passed for the textarea. By default one is randomly generated.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/textarea", {
  label: {
    text: "What is the nature of your medical emergency?"
  },
  name: "emergency-name",
  id: "emergency-id"
} %>