About
A radial context menu that fans out colored icon buttons in a circle from a central trigger with spring animations on right-click or tap.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Context Menu Radial Bubble to your project and fits it to your theme.
Code
How Context Menu Radial Bubble is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import ContextMenuBubble from "@/components/ui/context-menu-02";
import { Copy, Edit, Share2, Trash2, type LucideIcon } from "lucide-react";
interface DemoItem {
icon: LucideIcon;
label: string;
iconBg: string;
iconColor: string;
danger?: boolean;
}
const demoItems: DemoItem[] = [
{
icon: Edit,
label: "Edit",
iconBg: "bg-orange-400/10",
iconColor: "text-orange-400",
},
{
icon: Copy,
label: "Copy",
iconBg: "bg-blue-500/10",
iconColor: "text-blue-500",
},
{
icon: Share2,
label: "Share",
iconBg: "bg-teal-400/10",
iconColor: "text-teal-400",
},
{
icon: Trash2,
label: "Delete",
iconBg: "bg-red-500/10",
iconColor: "text-red-500",
danger: true,
},
];
export default function ContextMenuBubbleDemo() {
return <ContextMenuBubble items={demoItems} />;
}







