ShadcnSpace

Context Menu Radial Bubble

Component

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} />;
}

Dependencies

More by ShadcnSpace

View all
  • Integration Card

    Integration Card

    1.9K
  • Stacked Card Carousel

    Stacked Card Carousel

    1.6K
  • Button witn Icon

    Button witn Icon

    1.5K
  • Orbiting Circles with Globe

    Orbiting Circles with Globe

    1.4K
  • Agency Hero Section

    Agency Hero Section

    1K
  • Testimonials Marquee

    Testimonials Marquee

    668
  • Shine Border

    Shine Border

    492
  • Range Select Calendar

    Range Select Calendar

    490

Explore more

Part of ShadcnSpace — browse the full library on 21st.dev.