Tags categorise, organise or label items with keywords that describe them.
Tags can be used to display how data has been filtered, categorised or labelled. Keywords are used to differentiate and describe the tags.
Use more than two words per tag.
A tag always has a semantic meaning and uses colour to add visual meaning.
Tags can be used in three different sizes: small, medium (default) and large.
If a tag has both a label and an icon, the icon can be placed on the left or right.
A tag only has a label with no icon.
A tag only has an icon with no label.
Tags have two shapes, square or round.
At Shell, we use five colours for tags: grey, blue, red, green and yellow.
Ensure that the label text on a tag is relevant and concise, using only one or two words.
Dismissible tags are removed and no longer displayed when the user presses the dismiss icon. This is useful when tags represent a number of selected items.
Shell DS components are programmatically determinable with appropriate semantic markup and are designed to meet colour contrast requirements. If you’re not using Shell DS code, you will need to cover the accessibility considerations for each component in this pattern.
Avoid using colour just to differentiate the categories of tags.
Every effort has been made to ensure that the Shell Design System follows accessibility best practice.
The Shell DS React framework incorporates keyboard operation to support the widest variety of assistive technologies and devices. For any future frameworks other than React, accessibility will need to be reviewed.
Help us to help you by contacting the Accessibility team for support and information regarding any questions relating to accessibility.
Is this page useful for you?
Your feedback helps to improve our documentation.