Status
State, badges, the metadata line, empty states and cut text.
State
State is a dot and a word, everywhere.
- The word has a colour only for warn and error.
- Only
liveandaiglow. - A row has one, in the
statusof aListRow. - Show it only when it is out of the ordinary. No "Live", "Idle" or "Ready" on every row.
Badge, LabelChip and Count
- A
Badgeis for a kind, such as "Draft" or "Admin", or a category. It never shows a state that aStateshows. - A
LabelChipis a label, in one of the label colours. Countis an attention count, drawn in the accent. Totals are plain numbers intext-3.
One list never has two treatments for the same fact.
MetaLine
MetaLine is one line of facts about an item, in 12px text-3, joined by " · ".
Empty parts are dropped.
It is cut at the end, with the full line as its title.
It has no state, and nothing that is always true, such as "Created today".
EmptyState
EmptyState is md for a whole view or main column, and sm in a card, panel or section.
Only a whole view, or a list the person filtered, gets one.
An empty part of a view is not drawn.
Truncate
Truncate is one line, or lines, with an ellipsis and the full text as its title.
Every part on these pages that cuts text already does this, such as row titles, meta lines and crumbs.
Other display parts
Avataris initials in a circle for people, a rounded square for agents, and the sparkle mark for the assistant.Calloutis an inline message in a neutral grey box. The hue is in its icon. It has one or two sentences: what happened and what to do next.Toastshows short notices in a live region at the bottom right. Danger toasts are announced assertively, and hover pauses the timer.Skeletonholds the place of content while it loads.
Last updated on