With id for textarea
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/character_count", {
textarea: {
label: {
text: "What is your quest?"
},
name: "with-an-id"
},
id: "custom-id",
maxlength: 10
} %>