OpenBridge
Design Guidelines

Menu button

The menu button are a button that expands a flyout with a group of related functions, like a stack of buttons.

Variations

The menu button can be used in three different variations:

Standard menu button

The normal styled version should be the most used in the interface. This is the standard state of the component.

Menu button with icon

To highlight a preferred action, use a raised styled version.

Icon menu button

To highlight a preferred action, use a raised styled version.

Specs

The next steps explains how all three types of the menu button are built up and styled.

Anatomy

The menu buttons are built up by a container, a label, an arrow icon, and an optional icon associated with the label.

Components
1
Button container
2
Icon
3
Label

Colors

The menu buttons are only displayed in a normal style.

Element
Color / Style name
1
Button container
style-normal-enabled
2
Text
color-on-background-normal
3
Icons
color-on-background-active

Typography and icons

The label text describes the button. The arrow icon is a part of the menu button, indicating that it expands a menu, and not should not be changed.

Text category
Text attributes
1
Button
Aa
Typeface: Open Sans
Weight: Semibold
Size: 16px
Line height: 24px
2
Icon
Aa
Icon name: chevron_right
Width: 24px
Height: 24px
3
Label
Aa
Typeface: Open Sans
Weight: Regular
Size: 12px
Line height: 24px

Measures and spacing

All of the menu buttons uses the button-height and the same container radius.

1
Component measures
2
Spacing
3
Border sizes

States

The look of the states are defined by the style.

Standard menu button
Enabled
Thumb
style-normal-enabled
Hover
Thumb
style-normal-hover
Pressed
Thumb
style-normal-pressed
Focused
Button container
style-normal-focused
Disabled
Button container
style-normal-disabled
Button text
color-on-background-disabled
Selected
Button container
style-selected-enabled
Button text and icon
color-on-primary-active
Icon menu button
Enabled
Thumb
style-normal-enabled
Hover
Thumb
style-normal-hover
Pressed
Thumb
style-normal-pressed
Focused
Button container
style-normal-focused
Disabled
Button container
style-normal-disabled
Button text
color-on-background-disabled
Selected
Button container
style-selected-enabled
Button icons
color-on-primary-active
Button text
Aa
Active label