Context Menu

Displays a menu located at the pointer, triggered by a right-click or a long-press.

Source code

Click here to see the source code for this component on GitHub. Feel free to copy it and adjust it for your own use.

Installation

npx ui-thing@latest add context-menu

Usage

Basic

Right click to see basic context menu

Checkbox Items

Right click for check items menu

Radio Items

Right click for radio items context menu