The polygon 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.
Polygon Icon Sizes
1const PolygonIconSizes = () => (2 <>3 <PolygonIcon size="sm" />4 <PolygonIcon />5 <PolygonIcon size="lg" />6 <PolygonIcon size="xl" />7 </>8);910render(<PolygonIconSizes />);
Named with `titleAccess`, so assistive technology announces it.
Named Polygon Icon
1const NamedPolygonIcon = () => <PolygonIcon titleAccess="Polygon" />;23render(<NamedPolygonIcon />);