Skip to content

Tones

mono follows the text colour, brand takes the accent, duo puts the accent stroke on the soft accent fill. Use brand or duo for the current item or a product mark, mono everywhere else.

  • Icon

PreviewLink to the section Preview

Live in all three themes. Everything here is interactive.

Light theme, Tones

  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat
  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat
  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat

Dark theme, Tones

  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat
  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat
  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat

High contrast theme, Tones

  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat
  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat
  • nav.dashboard
  • nav.pages
  • content.product
  • status.ok
  • status.warning
  • cinema.seat

UsageLink to the section Usage

tsx
import { Icon } from '@skribly/ui/icons'
tsx
<Icon name="nav.settings" />
<Icon name="status.ok" tone="brand" size="sm" />
<Icon name="cinema.seat" tone="duo" label="Seat" />

Every label is a prop, so the app passes its own words in its own language. See no built-in text.

AccessibilityLink to the section Accessibility

  • An icon with no label is aria-hidden: put a word beside it or name the control it sits in.
  • With label it is role="img" with that name.
  • The accent keeps 3:1 on every surface in each theme; in forced colours the fill drops and the stroke follows the system text colour.

This demo runs through axe in all three themes on every test run. See what the tests check.

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /