Caption
Caption and micro, the two smallest roles, in real text and on the components that take them.
Two roles sit below running text. Caption sets what labels and annotates: the help under a field, a table's header, a badge. Micro is the floor of the scale.
Caption is for labels: the help under a field, the header of a table, the text of a badge, the heading of a group in a menu.
--type-caption0.75rem0.8125rem--type-caption-leadingcalc(16 / 12)calc(18 / 13)Micro is the smallest role, for a count or a mark that sits beside something larger.
--type-micro0.6875rem0.6875rem--type-micro-leadingcalc(16 / 11)calc(16 / 11)The values in full colour are the ones that apply at this width. The phone values apply
where (max-width: 767px) matches.
In use
Each of these is a Registry component as it installs, with the role it is set in.
Two to five letters. It starts every task number.
text-xs 12px, 13px on a phonetext-xs 12px, 13px on a phone. The foundation item's rule for badges fixes it.| Invoice | Amount |
|---|---|
| INV-0412 | 1,240.00 |
| INV-0413 | 860.50 |
text-xs 12px, 13px on a phone. The table item's stylesheet fixes it.text-xs 12px, 13px on a phone. The kbd item's stylesheet fixes it.Colour
Small text is often quiet text too. A caption in text-muted-foreground still has to
read, so the two quiet colours are worked out against the page here as well.
--muted-foregroundon--background--subtle-foregroundon--background