--- title: Overview position: 1 seo_title: Overview of the ContextMenu Component seo_description: Learn about the basic features of the Telerik and Kendo UI ContextMenu component and its types, check out the extensive set of available options in its live demo, and change its appearance by setting the variant and the orientation of the component. --- ## ContextMenu Overview The ContextMenu component is a UI element that appears upon user interaction, typically a right-click on a webpage or application area. This component provides a list of menu items relevant to the selected object or area, making it a powerful tool for enhancing user efficiency and interaction. ContextMenus are context-sensitive, meaning they dynamically adapt their content to the current state or focus of the application, and provide options directly related to the user's activities or the element they are interacting with. They are commonly used to add functionality to elements without cluttering the main interface, allowing for a clearer and intuitive user experience. ### Live Demo ### Appearance ContextMenus provide built-in styling options that grant visually appealing and flexible rendering experience.  Apart from the default vision of the Telerik and Kendo UI Menu, the component supports alternative styling options that enable you to configure the individual aspects of its appearance. #### States Depending on the action you want to imply through its appearance, the items in the Telerik and Kendo UI ContextMenu can acquire the following states which you can set by using the following classes: * A submenu Item in its normal state appears usable and clickable. * `k-hover`—When a user hovers over a submenu item, it enters the hover state. This state indicates that the control is interactive, and that the user can click on it. * `k-focus`—When a user clicks or tabs into a submenu item, it enters the focus state. This state indicates that the control is active and ready to receive user selection and includes a visual indicator such as a highlighted border. * `k-active`—The active state is applied when a submenu item is activated upon user interaction. * `k-selected`—The selected state of a submenu item is activated after the user has selected it. * `k-disabled`—The disabled state indicates that a submenu item is temporarily unclickable and users cannot interact with it. To indicate that they are unavailable, submenu items in their disabled state are faded. #### Anatomy The anatomy of the ContextMenu summarizes the elements of the component: ![A Telerik and Kendo UI ContextMenu component showing the submenu item, label, icon, expand icon, and popup with submenu items.](images/components-contextmenu-overview-anatomy.png "Anatomy and elements of a Telerik and Kendo UI ContextMenu component") #### Size The ContextMenu provides the `size` configuration option that enables you to control how big or small the rendered submenu items in the popup will be. The ContextMenu also provides options for size customization. `size` provides the following available options: * `small`—Renders small submenu items, which are suitable for compact scenarios, where the available space is limited. * `medium` (default)—Renders medium submenu items. * `large`—Renders large submenu items, which are suitable for more spacious designs. * `none`—Does not set a `size` and allows you to add your own, custom value. ![Three Telerik and Kendo UI ContextMenu components demonstrating the small, default medium, and large sizes of the submenu items](images/components-contextmenu-overview-size.png "Available sizes of the submenu items in the Telerik and Kendo UI ContextMenu component including small, default medium, and large.") #### Variants Depending on the elements they display, the submenu items of the Telerik and Kendo UI ContextMenu can be any of the following types: * Label only * With icon before * With icon before and expand icon * With expand icon ![A Telerik and Kendo UI ContextMenu component and its possible variants including label only submenu item, submenu item with icon before, submenu item with icon before and expand icon, and submenu with expand icon.](images/components-contextmenu-overview-variants.png "The four possible variants of the Telerik and Kendo UI ContextMenu component") #### Separator The Telerik and Kendo UI ContextMenu can be rendered with separators to provide additional space between items and to improve visual clarity when used for grouping purposes. * ContextMenu * ContextMenu with separators ![A Telerik and Kendo UI ContextMenu component with and without separators.](images/components-contextmenu-overview-separators.png "A Telerik and Kendo UI ContextMenu component with and without separators.") ### Framework-Specific Documentation For specific information about the component, refer to its official product documentation: ![Kendo UI for Angular logo.](/images/angular-logo.svg) ![Telerik UI for Blazor logo.](/images/blazor-logo.svg) ![Kendo UI for jQuery logo.](/images/jquery-logo.svg) ![Kendo UI for React logo.](/images/react-logo.svg) ![Kendo UI for Vue logo.](/images/vue-logo.svg) ![Telerik UI for ASP.NET Core logo.](/images/core-logo.svg) ![Telerik UI for ASP.NET MVC logo.](/images/mvc-logo.svg)