DzinerHub

DzinerHub

Context Menu

A menu of actions relevant to the clicked item.

Context Menu

A menu of actions relevant to the clicked item.

In Pattern

What is a Context Menu component?

A Context Menu is a user interface element that provides a list of actions relevant to the item that was clicked. It typically appears upon right-clicking or tapping and offers options that are contextually appropriate for the selected item.

When to use Context Menu?

Context Menus are useful when you want to present a set of actions related to a specific item without cluttering the main interface. They enhance usability by providing a quick way to access functions that are relevant only when interacting with particular elements.

When not to use Context Menu?

Avoid using Context Menus in situations where actions are critical or frequently needed, as users may not discover them if they are not familiar with right-clicking or tapping. Additionally, if the actions require more visibility or explanation, consider using a standard toolbar or button interface instead.

What is the anatomy of a Context Menu?

A Context Menu generally includes a header (optional), a list of actionable items, and sometimes icons next to each action for better clarity. It may also contain separators to organize related actions, ensuring a clean and understandable layout for users.