Measured entry

hextaui-context-menu

dropdownminimal-flat

A client-side React context menu shipped as a shadcn registry TypeScript file. It wraps Radix Context Menu with styled triggers, nested menus, checkbox and radio items, labels, separators, shortcuts, and a destructive variant. It relies on Tailwind theme classes, Lucide icons, and a local cn utility.

Specimen
Harness screenshot of hextaui-context-menu at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-context-menu at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-context-menu at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for hextaui-context-menu
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal62.2 KB (127.7 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 920ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-dc77505d5908/src/cut/components/ui/context-menu.tsx".

Verdict

A credible, complete Radix wrapper for desktop-style contextual actions, with clean mounting and no detected accessibility violations. The menu is ready to adopt in a compatible Tailwind stack, but the supplied demo trigger should be made responsive before reuse in narrow layouts.

Use it if

  • You need a right-click menu with keyboard navigation and managed focus.
  • Your menu needs nested actions, selectable items, shortcuts, or destructive states.
  • Your React app already uses Tailwind theme tokens and Radix primitives.

Skip it if

  • Your primary actions must stay visible and obvious on touch-first interfaces.
  • Your project does not use Tailwind and you do not want to translate the component styling.
  • You want a native browser menu or a dependency-free custom menu.
  • You plan to copy the fixed-width demo trigger unchanged into narrow layouts.

Install

Installation record for hextaui-context-menu
Declared dependencies@radix-ui/react-context-menu, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Radix Context Menu and Lucide React, provide the cn helper with clsx and tailwind-merge, and map the Tailwind color, border, shadow, and animation classes to your theme. Keep the file as a client component.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-16

Alternatives

Other published entries for the dropdown pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.