Icon
The Icon wrapper draws a Phosphor icon at a size, a tone and a weight. Phosphor ships six weights and we default to regular for its balance of legibility and density. Which icons there are, and their names,
is a token: see Icons.
Sizes
Five sizes, each a pixel square; md sits beside body text.
Tones
Without a tone the icon takes the text colour; primary takes the
accent, and the status tones match a message's severity.
Weights
Four line weights, regular the default, and two filled ones for a selected or emphatic state.
Examples
xs · 12pxsm · 16pxmd · 20pxlg · 24pxxl · 32pxdefaultprimarysuccesswarningdangerinfohelpthinlightregularboldfillduotone