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.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
Dark theme, Tones
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
High contrast theme, Tones
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
nav.dashboardnav.pagescontent.productstatus.okstatus.warningcinema.seat
UsageLink to the section Usage
import { Icon } from '@skribly/ui/icons'<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.