Components

Tool Button

16min


This documentation is for the latter, if your case fits the former better, please look at Product Button instead.

Component Availability
Added
CET 15.0 Major and above


Anatomy

Default

Document image

  • 1 - Container
    • Background colour: Input/Dropdown/Background (#FFFFFF)
    • Border colour: Border/Border 2 (#E6E6E6)
    • Border weight: 1
    • Border radius: 4
  • 2 - Icon (optional)
    • Size: 16x16
  • 3 - Label (mandatory)
    • Text colour: Input/Text (#242424)

Layout & Spacing

Fit to grid rule

All tool buttons must follow the following rules:

  • All content (text and icon) within the button must be center-aligned.
  • Length of each button is determined by the total length of its content, as long as it fits the grid appropriately.
  • Buttons should be arranged according to the user flow if it is known.
  • Buttons that should be more prominent to the user are recommended to be the only button in the row.

Default

1 fixed button in a row

Document image


2 fixed buttons in a row

Document image


3 fixed buttons in a row

Document image


4 fixed buttons in a row

Document image


Without icon

Document image


Variation

Note that all sizes used below are for reference only, and are not prescriptive.

Flexible width per buttons in a row

Document image


The padding and margins are exactly the same as in the previous section, but as you can see, the buttons no longer share the same size. At first glance, the pixel widths of each button seems arbitrary, but if we overlay the toolbox's columns over the previous example, you can see that it follows the column grid:

Document image


As you can see, buttons must occupy a whole number of columns, and must begin and end inside a column. Buttons cannot start or end while in the gutter in between columns.

Document image


All tool button sizes can vary per row within a section as long as it uses 6px inner padding and the fit to grid rules.

Truncation

Unlike product buttons, tool buttons are not allowed to flow text onto the next line, and must truncate immediately.

Icon with long label

Document image


No icon with long label

Document image



Interaction

State

Default

Normal/Pressed

Document image


Hover

Document image

  • Border color: Primary/P600 (#306B97)


Other

Rules For Icon Use

While we don't generally have any restriction regarding when to use an icon, there are a few exceptions for Settings and Import/Export/Convert buttons. This can help reduce cognitive load, as users can quickly identify functionality through familiar visual cues.

Settings

Document image


Any tool button that represents some sort of setting or configuration window must use the gear icon.

Examples:

  • Settings
  • Pre-configurator
  • Floor properties
  • Text properties editor

Import/Export/Convert

Document image


Any tool button that represents an import or export or convert action must not use an icon.

Examples:

  • Import to drawing
  • Convert DWG
  • Export layout to Revit
  • Modify converted