A menu that opens where you click
Right-click (or press the keyboard menu key) on the wrapped area and the panel opens at the pointer, clamped to the viewport. It shares its entry model and styling with the dropdown menu: items, sections, shortcut hints, destructive and disabled states, and sub-menus. Use a dropdown menu when the menu opens from a visible trigger; a context menu when it belongs to the content itself.
Default
Groups and sub-menus
Compact
// From the npm package
import { ContextMenu } from 'rift-ds/components/ContextMenu/ContextMenu';
// Or as source you own, via the shadcn CLI
npx shadcn@latest add https://rift-ds.com/r/context-menu.json