ContextMenu
A right-click menu over any content — opens the shared Menu at the pointer. Composes Menu + MenuItem[].
Right-click the area
Right-click anywhere in this box
Dynamic items (built from the target)
Pass items a function of the event: one ContextMenu serves many targets —
it reads the right-clicked element and returns that target's menu (return [] to show
nothing). This is how a Tree or file list drives a single wrapping menu.
report.pdf
photo.jpg
notes.txt
Right-click a file for its menu — or empty space for no menu.