Skip to content
oxidaseSign in

Iconography

Lucide glyphs at three sizes in the current text color, named whenever they act alone.

Sizes

Three sizes, drawn with a 1.75 stroke in the current text color. An icon never has its own color: it takes the color of the words beside it, so it follows hover, disabled and grounds without extra rules.

size="small"16pxMeta text, chevrons and controls inside fields and buttons.
size="regular"18pxMenu items and rows.
size="large"20pxNavigation destinations.
Code
<Button icon={<Icon icon={Search} size="small" />}>Search</Button>
<Button variant="primary" iconEnd={<Icon icon={ArrowRight} size="small" />}>
  Begin session
</Button>
<Button iconEnd={<Icon icon={ChevronRight} size="small" />}>
  All sessions
</Button>

Naming icons

An icon beside a word is decorative: Icon hides it from assistive technology by default. An icon that acts alone must be named. IconButton requires a label, which becomes the accessible name and the tooltip, and the label names the object as well as the action.

Search the design system
Code
<IconButton
  label="Close session details"
  icon={<Icon icon={X} size="small" />}
/>
<Tooltip content="Search the design system">
  <IconButton
    label="Search the design system"
    icon={<Icon icon={Search} size="small" />}
    variant="secondary"
  />
</Tooltip>

Do

Named "Close session details": a screen reader user knows which panel closes.

Avoid

A typed letter as a control: no name, no focus, and it changes with the font.

Libraries

  • Interface icons come from lucide-motion, which can animate a glyph under a pointer where the icon defines it. The app passes the member's reduced motion setting to it, so those animations stop when motion is reduced.
  • Static icons, such as the glyphs inside shared components and on these pages, come from lucide-react. Both draw the same Lucide shapes.
  • Arrows, check marks and crosses are icons, never typed characters or emoji, so they align, scale and carry a name.
  • The brand mark is not an icon. It appears only as the logo: beside the wordmark, alone in the landing bar, and as the favicon.