erictsai83

Arc Menu

Buttons

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

Dependencies

More by erictsai83

View all
  • Adaptive Drawer

    Adaptive Drawer

  • Status Button

    Status Button

  • Floating Shortcut Button

    Floating Shortcut Button

  • Filter Tags

    Filter Tags

  • Feedback Popover

    Feedback Popover

  • Expandable Toolbar

    Expandable Toolbar

  • Expandable Toggle Button

    Expandable Toggle Button

  • Multi-Step Flow

    Multi-Step Flow

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19