With data attributes
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/textarea", {
label: {
text: "This textarea has a data attribute"
},
name: "with_data_attrbutes",
data: {
module: "some-awesome-module-here"
}
} %>