Animated context menu

Pro

A right-click and long-press menu that grows from the click point, flips at viewport edges and opens nested submenus with safe-triangle pointer intent, a gliding highlight, animated checks and radio dots.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • Grows from the click corner, even after flipping
  • Safe-triangle intent keeps submenus open on diagonals
  • Arrows, typeahead, Home, End, Escape and Shift+F10
  • Checkbox, radio, shortcuts, labels and destructive items
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/context-menu-animated

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/context-menu-animated.tsx.

More Pro components

Spotlight tour

A product tour whose spotlight flows between targets: the cutout morphs position, size and radius on one spring while the note follows, flips at edges and scrolls targets into view.

Pro

Photo lightbox

A gallery whose thumbnail grows into a full-screen viewer with the same crop and corners; pinch, wheel or double tap to zoom, swipe to the next photo, drag down to close.

Pro

Stories viewer

Phone-style stories: segmented progress bars fill per slide, taps step, a hold pauses, and a swipe turns a 3D cube to the next person; pull down and the viewer shrinks away.

Pro