Skip to content

Icons

Icons are graphical representations that symbolize objects, functions, processes, or concepts.

Usage

Icons are used to draw attention to high-priority elements or to convey information in a simple and recognizable manner. If the necessity or clarity of an icon is uncertain, it is better to omit it.

Icons

Visit the common actions for further definitions of a common icon usage.

Icons are available in three predefined sizes.

  • Small (16px): Used in dense UI or compact contexts, such as labels or inline helper actions (e.g., help button).
  • Default (20px): The most common size and pairs well with body and body-bold text.
  • Large (24px): Used for more prominent contexts and pairs well with body-lg and body-bold-lg text.

Additional sizes may be created in 4px increments only when necessary.

When to use icons

  • To draw attention to key elements of the interface, making them stand out.
  • To convey intuitive visual cues (e.g., a downward chevron for opening a menu).
  • To symbolically replace text when space is limited. For this use case, ensure that the icon is universally understood without labels.

Best practices

  • Icons should stay true to their meaning across the application.
  • Use icons sparsely on a page to not overwhelm users.
  • Avoid using icons as mere decorations; they must add functional value to the interface.
  • Prevent redundancy, such as adding icons to actions like "Save" and "Cancel," where the value of an icon is minimal.

Except where otherwise noted, content on this site is licensed under MIT License.