Overflow Menu

Overview

'Overflow Menu's disabled menu item special highlight'

Overflow Menus contain a list of actions in a menu, that is hidden until the user clicks on the overflow menu button. Used throughout Arc Publishing, the overflow menu keeps key actions close by in a clean and unobtrusive menu.

Import

Arc UI exports 2 components for an overflow menu:

  • OverflowMenu: The wrapper component that provides
  • MenuItem: Trigger that handles selection. Must be a child of OverflowMenu.
import { OverflowMenu, MenuItem } from '@wpmedia/arc-ui-menu'

Usage

interfaceย MenuItemProps
PropsDescription
destroy
(optional)
undefined | false | true = false

Show destructive styling for this element

disabled
(optional)
undefined | false | true = false

Disables this menu item from being selected

Copy