A) Container B) Text label
Lozenges come in 2 sizes for use in different applications. • Small • Medium
Lozenges placed next to each other in a sequence or stack should be spaced 8px apart.
Attribute lozenges highlight an item's attributes. Color is used in a meaningful way to aid quick regonition across related themes such as: • Content sources – using the [social network colors] and [page type colors] sets • Interests, professions and locations – using the [curated product colors] set • Sentiment using the [sentiment colors] set
When there isn't any unifying themes (e.g user defined tags or categories) use the default style attribute lozenges.
Status lozenges highlights the status of a process undertaken by the user. These lozenges use uppercase labels and feature a status dot using the [attention color] set. There are 4 status sets: • Success: Completed successfully (e.g success, done, available, approved, added) • Info: In progress or open (e.g in progress, open) • Warning: requires attention (e.g busy, pending, blocked) • Error: encounted a problem (e.g. error, declined, failed, critical).
Use the spinner lozenge to let users know that item’s status is being processed and may take an indeterminate amount of time.
Do not use lozenges to show counts or numerical figures. Use badges instead.
Use color in a meaningful way to aid quick recognition of a particular attribute or status.
The maximum width for a lozenge is 160px. When the lozenge text exceeds the max width, the text will be truncated with ellipsis.
Attribute lozenges use sentence case. Status and spinner lozenges use uppercase. Do not mix the two different approaches.
Please never do this.