Studiov0.6.0

ContextMenu

Tier 1shadcn
Menus

A right-click triggered menu for contextual actions on selectable elements.

Live Preview

Right click here

Code

import { ContextMenu } from "@regen/ui";

<ContextMenu />

Props Inspector

No configurable props for this component.

Documentation

Use Cases

  • Right-click on table rows
  • Canvas element context actions
  • File/folder operations

Do

  • Mirror common actions in visible UI as well
  • Add keyboard shortcuts where possible

Don't

  • Don't rely on context menu as the only way to trigger actions
  • Don't use on mobile — no right-click