Tag
Use tags to label, categorize, or organize items using keywords that describe them.
Table of Contents
Edit this section, Opens in new windowOverview
Multiple or single tags can be used to categorize items.
Use short labels for easy scanning. Use two words only if necessary to describe the status and differentiate it from other tags.
Variations
Type | Purpose |
---|---|
Category tags | Category tags help to categorize or organize items. Multiple or single tags can be used to categorize items. |
Filter tags | Filter tags are interactive labels that represent selected filtering options. Filter tags can be added and removed. |
Input tags | Input tags represent keywords in input field. Input tags can be removed. |
Status tags | Status tags represent status of item. Status tags use semantic colors to communicate status of item. |
Usage
Sizing
Tags is available in two different sizes; normal and small:
Edit this section, Opens in new windowCategory tags
Category tags help to categorize or organize items. Multiple or single tags can be used to categorize items.
Usage
Use category tags when content is mapped to multiple categories, and the user needs a way to differentiate between them. Colored variation of category tags can be used to bring more attention to them.
Behaviours
List of category tags should be arranged horizontally. When horizontal space is limited in a tag group, the individual tags wrap to form another line. Category tags can act as a links to filtered lists of items tagged with them.
The category tag has special behaviours. However, it can be a link. See next section for documentation.
Interactions
A category tag can be interactive, i.e. a link:
Hover
Focus
Active
Modifiers
Colors
A category tag can have different fills:
Passive
Edit this section, Opens in new windowFilter tags
Filter tags are interactive labels that represent selected filtering options. Filter tags can be added and removed.
Usage
A filter tag is a tag that is put together with other filter tags inside a filter container. It is NOT part of several tags in a list.
Anatomy
Behaviours
Interactions
Hover
A filter tag can be hovered
Focus
A filter tag can be focused
Click
A filter tag can be removed.
Edit this section, Opens in new windowInput tags
Input tags represent keywords in input field. Input tags can be removed.
Usage
Use input tags when multiple input values are expected from user. Input values can be suggested by system.
Anatomy
Behaviours
Interactions
Hover
A input tag can be hovered
Focus
A input tag can be focused
Click
A input tag can be removed.
Edit this section, Opens in new windowStatus tags
Status tags represent status of item. Status tags use semantic colors to communicate status of item.
Usage
A status tag is a tag that is put by itself in another context, for example to label the status of an invoice etc. You should not wrap it in a list, since it is only natural to have one occurence of this tag.