Attribute
Default styling for a component with an icon and some text. It's also possible to add a link or any other copy.
With error icon
With link
With location icon
Documentation
Modifiers
a-attribute--error
Displays the icon in a red color
a-attribute--location
Displays the icon in a yellow color
a-attribute--inherited
Lets the text inherit color and font settings from its parent.
icon
a-attribute__icon--before
Gives some spacing at the right side of the icon, if the icon is rendered on the left side, before the text
a-attribute__icon--after
Gives some spacing at the left side of the icon, if the icon is rendered on th right side, after the text