Skip to content

Icons

Icons are used to visually communicate core parts of the product and available actions. They can help users understand where they are in the product and what common interaction patterns are available.

Relies on the third-party library Font Awesome SVG sprites (HTML and Twirl), or the Font Awesome javascript API (React).View all resources

We load the SVG icons on demand from an icon sprite sheet. The SVG symbol ID is the icon’s name the in FontAwesome’s library.

<svg class="icon">
<use aria-hidden="true" xlink:href="/assets/svg/light.svg#circle-check"></use>
</svg>

By default, icons size according to their inline content. Set icons to a specific size with these tokens.

VisualREMPXClassCopy

  • 1.5
    24
    .icon-24
  • 1.25
    20
    .icon-20
  • 1.125
    18
    .icon-18
  • 1
    16
    .icon-16
  • .875
    14
    .icon-14
  • 0.75
    12
    .icon-12
  • 0.688
    11
    .icon-11

By default, icons inherit colors from their parent context including pseudo states like :hover, :active, and :focus. Set a specific color by including one of these classes with icon. For example, class="icon icon-brand"

If there are interactive pseudo states that effect a change of text color (:hover, :active, :focus, etc.), this will cascade down into the SVG icon fill.

VisualValueClassCopy

  • Neutral

    gray-800
    .icon-neutral
  • Neutral subtle

    gray-500
    .icon-neutral-subtle
  • Neutral subtler

    gray-400
    .icon-neutral-subtler
  • Brand

    brand-700
    .icon-brand
  • Inverse

    white
    .icon-inverse
  • Success

    success-700
    .icon-success
  • Danger

    danger-700
    .icon-danger
  • Info

    info-700
    .icon-info
  • Warning

    warning-800
    .icon-warning
  • Accent orange

    orange-600
    .icon-accent-orange
  • Accent cyan

    cyan-600
    .icon-cyan-orange
  • Accent olive

    olive-700
    .icon-accent-olive
  • Accent magenta

    magenta-600
    .icon-accent-magenta