# Context menu

::references
  :::ref-guide{link="/docs/guides/context-menu" title="Guide"}
  :::

  :::ref-github
  ---
  link: https://github.com/retejs/context-menu-plugin
  title: Plugin
  ---
  :::
::

This example demonstrates the use of a context menu presented as a separate plugin. It allows for the creation of a common context menu with a list of nodes to be created (including nested sub-items), as well as individual context menus for nodes with options for deletion and copying.

The provided functionality relies on a classic preset, but for enhanced customization, it can be substituted to facilitate more dynamic menu item generation.

::kit
::

::example{#rete-js-v2-context-menu-jcelzo module="/src/editor.ts"}
::