Dropdown menu
Table Row Menu
A context menu for a table row: the row takes focus and a highlight, and the call works both with the mouse and with the menu key, which carries no cursor coordinates.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- the table caption through caption and its hint tail through captionHint
- the rows through rows
- the column headings through columnText, the commands through actions and the delete caption through deleteLabel — Russian by default
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/contextmenu-006?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Contextmenu006
caption="March invoices"
rows={[{ name: "Polden LLC", status: "Paid", sum: "84 000 ₽" }]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Table caption
caption· default: March invoices- Accent
accent· default: theme colour- Background
background· default: theme colour
More in Dropdown menu
FAQ
- How do I add Table Row Menu with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Table Row Menu depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Table Row Menu?
- Adapt: the table caption through caption and its hint tail through captionHint; the rows through rows; the column headings through columnText, the commands through actions and the delete caption through deleteLabel — Russian by default. Keep as installed: the local --vibeui-contextmenu-006-* palette: the component must look the same in any project; the zero-coordinate branch: the menu key and Shift+F10 carry no cursor position, and the menu would fly into the corner; tabIndex and aria-selected on the row — without focus on the row there is no keyboard call.
- Is Table Row Menu free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/contextmenu-006.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
One file, zero dependencies, the --vibeui-contextmenu-006-* palette. Client component: useState holds the current row and the coordinates. The rows get a tabIndex and aria-selected, and the highlight lives while the popover is open and goes out on the toggle event. The menu key and Shift+F10 arrive through the same contextmenu event but with zero coordinates — in that case the menu lands at the bottom left edge of the row itself rather than in the corner of the screen. The menu is an HTML popover, so Escape and outside clicks come from the browser; the header carries the row name, and the deletion is set off by a line and coloured on its text. The theme comes from the surrounding color-scheme through light-dark(), and the table has no background of its own by default.
Tags
- contextmenu
- table
- row
- keyboard
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…