A context menu is a popup menu that appears when users right-click (desktop) or long-press (mobile) on an element, showing actions relevant to that specific item. Like right-clicking a file to see "Open," "Rename," "Delete." It keeps primary UI clean while making secondary actions discoverable. Common in desktop apps, file managers, and complex web apps.
Use context menus for secondary actions on items in lists, tables, or canvases where showing all action buttons would clutter the UI. Great for power users who learn keyboard shortcuts. However, don't rely on context menus for primary actions—many users (especially mobile) never discover right-click menus. Always provide alternative access to critical actions.
Navigation Patterns
Right-click menu—contextual actions, relevant to selection, power user tool, desktop pattern