Context Menu
- from @fluid
The Dropdown opened where you right-click: a zero-size trigger placed at the pointer, so the items are the Dropdown's own (MenuItem, submenus, search, labels, separators) with its fluid hover, keys and motion. A filter picks which elements open it, text fields keep the browser's menu, Shift + F10 or the Menu key opens it from the keyboard, and focus returns where it was on close.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @fluid/context-menuLive preview
No live preview has been built for this component yet.
Registry dependencies3
- utils
- dropdown
- size-context
Packages0
No npm packages are installed with it.
