Icon

Inline icons with colors, links, and hover legends.

Icon showcase controls
Color
Icon

This glyph plays it cool
This one knows the way to docs
And; secrets squeak.

Usage#

Choose a registered icon ID with name and a palette with color.

Add href to transform an icon into a link and an ariaLabel for accessibility.

Legends#

Use legend instead of href for a hover-triggered legend instead of a link.

Reference#

nameRequired
IconID

Registered icon ID to display.

colorDefault "base"
ColorID

Registered icon palette.

hrefDefault undefined
string

Internal or HTTP(S) destination. Requires an accessible label.

legendDefault undefined
string

Supplementary infotip text. Cannot be combined with href.

ariaLabelDefault undefined
string

Accessible description. Omit when the unlinked icon is decorative.