Menus

Menus are used to group interactions for an element. It's typically displayed in a popover to offer contextual interactions, but it can also displayed inside a box or card.

Usage

With a popover

Firstname Lastname
EMR
Ellie-May Rollins
Colleagues
41
Notifications
5

Storage Wi-Fi Access control

In a box

Firstname Lastname
EMR
Ellie-May Rollins
Colleagues
41
Notifications
5

Storage Wi-Fi Access control

Sizes

Medium (default)

Small

Firstname Lastname
EMR
Ellie-May Rollins
Colleagues
41
Notifications
5

Storage Wi-Fi Access control

Extra small



Last edited on 07/10/2020

States

Focus

Menu items should turn white on primary active when they have focus. Donc forget to add the tabindex attribute to enable focus.

Active state

You can force an active state by adding the is-active class to a menu item. This is useful when using keyboard (⬆️ / ⬇️) navigation.