Skip to contentWolf-Rayet

Lozenge

A lozenge shows an item's status so people can recognise it quickly.

When to use

  • The state of an item in a list or on a card, such as a ticket that is in progress or a change that was reverted.
  • A state that changes over time, which people scanning a column need to spot without reading every row.

When not to use

  • A category or a label that does not change. That is a tag.
  • A count. That is a badge.
  • An action. A lozenge is not interactive, so people who click it get no response.
  • More than one state at a time. Two lozenges side by side are confusing.

Guidance

Do

In progressDone

Match the appearance to the meaning. Use the same colour for the same state across a screen.

Don't

DoneBlocked

Do not pick a colour that contradicts the word. People notice the colour before they read the word, so the wrong colour gives the wrong message.

Intensity

How much attention each of this component's grounds uses, scored against the ladder in both themes.

AppearanceGroundLightDark
lozengeneutral0.042Ambient0.066Substrate
lozenge--defaultneutral0.042Ambient0.066Substrate
lozenge--inprogressaccent-blue-subtler0.095Ambient0.110Ambient
lozenge--limeaccent-lime-subtler0.081Ambient0.175Ambient
lozenge--magentaaccent-magenta-subtler0.096Ambient0.122Ambient
lozenge--movedaccent-orange-subtler0.076Ambient0.188Ambient
lozenge--newaccent-purple-subtler0.091Ambient0.127Ambient
lozenge--removedaccent-red-subtler0.092Ambient0.124Ambient
lozenge--successaccent-green-subtler0.081Ambient0.172Ambient
lozenge--tealaccent-teal-subtler0.077Ambient0.166Ambient
lozenge--yellowaccent-yellow-subtler0.077Ambient0.183Ambient

Substrate, Ambient and Marked are measured. Directed depends on what else is in the region. Demanded is declared, and its use is limited. So neither of those two depends on the component alone. See intensity.

Content

What to write, and what to leave out.

  • One or two words, short enough not to wrap.
  • Sentence case, not caps.
  • Name the state, not the transition. Done, not Marked done.
  • Use the same word for the same state everywhere. Two words for one state look like two states.