About
A right-click context menu that opens at the pointer position over a target element, showing action items with icons and live status feedback below it. Ported from the original vanilla JS/HTML Matte UI component by SLtowl (MIT licensed).
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matte Context Menu to your project and fits it to your theme.
Code
How Matte Context Menu is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import MatteContextMenu from "@/components/ui/matte-context-menu";
export default function MatteContextMenuDemo() {
return (
<div className="w-full h-screen flex items-center justify-center bg-[#f5f4f2]">
<div className="w-full max-w-[288px]">
<MatteContextMenu onSelect={(values) => console.log(values)} />
</div>
</div>
);
}








