- Use to call attention to details in a way that makes it easy to scan.
- Use it when an icon on it’s own can clearly communicate the purpose.
- Use when there is not enough space for a standard tag.
Tag - Icon Only
An icon only tag is a small visual element used to represent and categorise information within a user interface through an icon.
Overview
The purpose of the icon only tag is to provide a quick and visually appealing way to highlight or identify specific items, topics or attributes. Icon only tags enhance the user experience by simplifying content organisation and facilitating content discovery and filtering. Icon only tags can be embedded in other components such as cards, data tables (among others) to help users understand and filter information more effectively.
Dos and Don’ts
- Don’t use for interactions crucial for the flow.
- Don’t use the icon only tag if a label is required to communicate the purpose, use a Tag instead.
Anatomy
- Icon: A symbol used to communicate a message to the user.
Variations
Default
Modifiers
Emphasis
Depending on the level of visual prominence you want to give to the icon only tag, you can choose between strong or subtle emphasis.
Colours
Select from a range of colour options across the two levels of emphasis.
Content
Icons
It is essential to ensure that the icon clearly conveys the intended message of the icon only tag. The icon should be directly related to the flow the user is taking, helping to reinforce the contextual information as required.
Meaning and purpose
Icon only tags can be used to indicate status or used to convey specific meanings within JET, some examples are displayed below.
- Info: Drawing attention to contextual information for the user
- Warning: Drawing attention to non-critical information for the user
- Success: Drawing attention to positive information for the user
- Error: Drawing attention to critical information for the user. Please review if an icon only tag is appropriate it might be better to use a dialogue, notification, toast or banner component
- Offers: Drawing attention to contextual information about the details of a deal or promotion to the user
Interactive states
Icon only tags include default and disabled states.
Examples
LTR examples
Here is an example of an icon only tag in a left-to-right context:
RTL examples
Resources
Stable | |
Stable | |
Beta | |
| N/A |
Stable | |
| Stable |
| Planned |
| Stable |