About
A bottom-anchored shortcut menu that fans actions along a configurable arc while its trigger shrinks and swaps from a shortcut grid to a close icon.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Arc Menu to your project and fits it to your theme.
Code
How Arc Menu is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { FileText, Folder, Image as ImageIcon } from "lucide-react";
import { ArcMenu, ArcMenuAction } from "@/components/ui/ericts-arc-menu";
const actions = [
{ label: "New document", icon: FileText },
{ label: "Add image", icon: ImageIcon },
{ label: "Open folder", icon: Folder },
] as const;
export default function Preview() {
return (
<div className="flex min-h-80 w-full items-center justify-center gap-28 pt-24">
<ArcMenu triggerCaption="Quick">
{actions.map(({ label, icon: Icon }) => (
<ArcMenuAction key={label} label={label} icon={<Icon />} />
))}
</ArcMenu>
<ArcMenu
triggerCaption="Quick"
triggerLabel="Open icon-only shortcuts"
showTriggerCaption={false}
>
{actions.map(({ label, icon: Icon }) => (
<ArcMenuAction key={label} label={label} icon={<Icon />} />
))}
</ArcMenu>
</div>
);
}















