Layout
Toolbars are typically positioned at the top of your UI and remain fixed (do not move as the user scrolls). They span the entire width of the page and do not wrap to a single line.
Actions within a toolbar should be logically grouped to help users locate related subtasks. Use dividers and white space to indicate these groupings.
Destructive actions or ones that significantly impact a user's work (e.g., delete, remove) should be grouped separately from other options.
Color application
Small / Medium
|
Design token |
Value |
Extra info |
---|---|---|---|
(1) Container |
NeutralBackground1.Rest |
#FFFFFF |
|
(2) Dropdown |
|
|
|
(3) Icon buttons |
|
#295CAD |
|
(4) Divider |
NeutralStroke1.Rest |
#E4E7E7 |
|
(5) Input |
|
|
Large
|
Design token |
Value |
Extra info |
---|---|---|---|
(1) Container |
NeutralBackground1.Rest |
#FFFFFF |
|
(2) Dropdown |
|
|
|
(3) Icon buttons |
|
#295CAD |
|
(4) Divider |
NeutralStroke1.Rest |
#E4E7E7 |
|
(5) Input |
|
|
Size options
Delish has 3 size options for a toolbar: small, medium and large. Medium is the default size.
Specs by size
|
Design token |
Value |
Extra info |
---|---|---|---|
(1) Container |
|
Height: 32px Width: 100% of container |
|
(2) Container radius |
Global.Corner.Radius.20 |
2px |
|
(3) Dropdown |
|
|
|
(4) Icon buttons |
|
|
|
(5) Divider |
|
|
|
(6) Input |
|
|
|
Design token |
Value |
Extra info |
---|---|---|---|
(1) Container |
|
Height: 40px Width: 100% of container |
|
(2) Container radius |
Global.Corner.Radius.20 |
2px |
|
(3) Dropdown |
|
|
|
(4) Icon buttons |
|
|
|
(5) Divider |
|
|
|
(6) Input |
|
|
|
Design token |
Value |
Extra info |
---|---|---|---|
(1) Container |
|
Height: 48px Width: 100% of container |
|
(2) Container radius |
Global.Corner.Radius.20 |
2px |
|
(3) Button |
|
|
|
(4) Link with icon |
|
|
|
(5) Divider |
|
|
|
(6) Input |
|
|
Spacing by size
|
Design token |
Value |
---|---|---|
Padding between start and end content |
spacingHorizontalXL |
48px |
Container: padding top/bottom |
spacingVerticalXS |
4px |
Container: padding left/right |
spacingHorizontalXS |
4px |
1st dropdown: padding left / right |
spacingHorizontalSNudge |
6px |
Padding between subtle buttons |
spacingHorizontalNone |
0px |
Divider: padding top/bottom |
spacingVerticalSNudge |
6px |
End content: Search padding left/right |
spacingHorizontalSNudge |
6px |
|
Design token |
Value |
---|---|---|
Padding between start and end content |
spacingHorizontalXL |
48px |
Container: padding top/bottom |
spacingVerticalXS |
4px |
Container: padding left/right |
spacingHorizontalS |
8px |
1st dropdown: padding left / right |
spacingHorizontalSNudge |
6px |
Padding between subtle buttons |
spacingHorizontalNone |
0px |
Divider: padding top/bottom |
spacingVerticalSNudge |
6px |
End content: Search padding left/right |
spacingHorizontalSNudge |
6px |
|
Design token |
Value |
---|---|---|
Padding between start and end content |
spacingHorizontalXL |
48px |
Container: padding top/bottom |
spacingVerticalS |
8px |
Primary button: padding left |
spacingHorizontalMNudge |
16px |
Primary button: padding right |
spacingHorizontalS |
8px |
Padding between subtle buttons |
spacingHorizontalNone |
0px |
Divider: padding top/bottom |
spacingVerticalSNudge |
6px |
End content: Search padding right |
spacingHorizontalM |
16px |