A toolbar is a set of actions related to a specific context that are grouped into a horizontal bar.
A toolbar organizes actions into a horizontal bar that is responsive. Its height changes to accommodate the height of the elements it contains. The toolbar always maintains the vertical alignment.
You only need to define the number of blocks or containers that you want to have in your toolbar, and place the elements inside it. These blocks or containers can be one of two different types:
Below are some example layouts that combine fields and contents:
Example 1: Three consecutive fields
Example 2: Three consecutive contents
Example 3: Field - Content - Field
The examples below show how these layouts are used for a management toolbar:
The horizontal distance between elements is always 16px. This changes to 8px on mobile devices.
The minimum vertical distance between elements is 16px. The search field is an exception to this rule. We want the search field, which has a height of 40px, to have more emphasis. In this case, the toolbar's top and bottom margins are 12px.