With specified id attribute
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/error_alert", {
id: "test-id",
message: "Message to alert the user to a unsuccessful action goes here"
} %>
<%= render "govuk_publishing_components/components/error_alert", {
id: "test-id",
message: "Message to alert the user to a unsuccessful action goes here"
} %>