Context Menu
A menu of actions opened by a right-click. It shares the `popup` and `menu` families with dropdown-menu: installed after it, it adds one file.
npx shadcn@latest add @fragiola/context-menuStyle families
context-menu renders from the same menu source as dropdown-menu. The only differences are Root, Trigger (which carries select-none — behavioural, not visual, so it does not come from a family) and the positioning defaults.
The select-none on ContextMenu.Trigger stops text selection on right-click. It is behavioural, not visual, so it does not come from a family — keep the distinction.
Distribution proof
Installing dropdown-menu pulls menu and popup. Installing context-menu afterwards writes one file — context-menu.tsx itself. The shared families are already on disk. This is the distribution-level proof that the duplication claim holds.
Parts
Identical to dropdown-menu — same factory, same members. See the dropdown-menu parts table.
Dropdown Menu
A menu of actions opened by a button. It shares the `popup` and `menu` families with context-menu, select and combobox, adding its own parts and positioning.
Dialog
A modal layer: a centred panel over a scrim. It shares the `layer` family with alert-dialog and drawer, declaring only Root, Trigger, Portal and centring.