Bubble Menu

Bubble Menu


Last updated: 9/17/21

Bubble Menus are nested menus that display a list of choices or links when it's parent element is interacted with.

Base

Use the base class pier-bubble-menu that wraps many elements with the class pier-bubble-menu__label or pier-bubble-menu__item. Use the modifier class pier-bubble-menu--open to reveal the Bubble Menu.

Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts

HTML markup

Sizes

Use the modifier classes pier-bubble-menu--sm, pier-bubble-menu--md, or pier-bubble-menu--lg to change the size of the Bubble Menu.

Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts
Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts
Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts

HTML markup

Position

Use the modifier classes pier-bubble-menu--top-left, pier-bubble-menu--bottom-left, pier-bubble-menu--top-right, or pier-bubble-menu--bottom-right to change the position of the Bubble Menu.

Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts
Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts
Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts
Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts

HTML markup

Dark

Use the modifier class pier-bubble-menu--dark to change the style of the Bubble Menu for dark UI themes.

Alerts
Alert 1
Alert 2
Alert 3
Clear Alerts

HTML markup


© 2021 Gumgum, Inc.