The label icon: a 24 by 24 stroke glyph that takes its colour from the text around it.
Examples of v0.1.0 are shown as code; only the latest version runs live. Open the live examples →
The icon at each size; it takes its colour from the surrounding text.
Label Icon Sizes
1const LabelIconSizes = () => (2 <>3 <LabelIcon size="sm" />4 <LabelIcon />5 <LabelIcon size="lg" />6 <LabelIcon size="xl" />7 </>8);910render(<LabelIconSizes />);
Named with `titleAccess`, so assistive technology announces it.
Named Label Icon
1const NamedLabelIcon = () => <LabelIcon titleAccess="Label" />;23render(<NamedLabelIcon />);