You are currently viewing outdated (<=3.x) Chameleon documentation on our old website. For version >=4.x, check out our new website.

Current release: 3.5.0 | hub

components

Icon (design)

Icons can be used to provide extra visual context for other items.

Usage

Chameleon icons should be used to communicate action, draw attention and convey more meaning. They should, when possible, always be paired with a text label.

Sizes

All icons are available in sets of four different sizes, where the default size is 24px x 24px.

  • Small: 16px x 16px
  • Medium: 24px x 24px
  • Large: 28px x 28px
  • xLarge: 32px x 32px
import { Brand } from '@mediahuis/chameleon-theme-wl/icons'
import { Icon, } from '@mediahuis/chameleon-react'

Color

Icons have access to the full Chameleon color palette, but need to pass a color contrast ratio of 4.5:1.

Guidelines

Fill vs. outlined

Switching between icon styles should always be intentionally. For example, indicating an active state by choosing for a filled icon and a deactivated state with the outlined style. We also recommend not to mix up styles when grouping icons.

Tooltips

Whenever you're desging icons without text labels, they should always be paired with a Tooltip component to provide the user more context and meaning.

When designing new icons

Icons should always be designed on a 24px art board with a padding of 2px.

Looking for icons?

© Copyright 2020 Mediahuis NV. All rights Reserved