Context Menu

Displays a menu of actions triggered by a right click.

Installation

$npx maddex add ContextMenu

Basic

Start with an uncontrolled context menu for quick actions on a single surface.

Preview

        
            
        
    

Controlled Submenu

Use the controlled open state when surrounding UI needs to react while the menu is visible.

Preview

        
            
        
    

Checkboxes And Radio Items

Combine checkbox items for persistent toggles with radio items for one-of-many layout choices.

Preview