Dropdown Menu
Composable dropdown menu that opens from its trigger, with a gliding highlight, submenus that stay open on a diagonal path, checkbox and radio items, shortcuts and full keyboard support.
componentregistry-item.json
Usage docs and preview are being generated by the coding agent. Registry metadata is shown meanwhile.
building preview…
The live preview has not been built yet.
See how it was built Installation
pnpm dlx shadcn@latest add @beui/dropdown-menu
Requires @beui in the registries of your components.json (shadcn adds official directory namespaces automatically).
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
prompt.md
Use the "Dropdown Menu" component (beui/dropdown-menu) from its shadcn registry.1. Install it with: npx shadcn@latest add @beui/dropdown-menu2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Files & dependencies
- components/motion/dropdown-menu.tsx→ @components/motion/dropdown-menu.tsx
- components/motion/popover-position.ts→ @components/motion/popover-position.ts
- components/motion/dropdown-menu/context.ts→ @components/motion/dropdown-menu/context.ts
- components/motion/dropdown-menu/item-base.tsx→ @components/motion/dropdown-menu/item-base.tsx
- components/motion/dropdown-menu/menu-panel.tsx→ @components/motion/dropdown-menu/menu-panel.tsx
- components/motion/dropdown-menu/placement.ts→ @components/motion/dropdown-menu/placement.ts
- components/motion/menu/use-menu-navigation.ts→ @components/motion/menu/use-menu-navigation.ts
- lib/ease.ts→ @lib/ease.ts
- lib/hooks/use-dismiss.ts→ @lib/hooks/use-dismiss.ts
- lib/merge-refs.ts→ @lib/merge-refs.ts
- lib/presence-gate.tsx→ @lib/presence-gate.tsx
- lib/sound.tsx→ @lib/sound.tsx
- lib/sounds/close.ts→ @lib/sounds/close.ts
- lib/sounds/open.ts→ @lib/sounds/open.ts
- lib/sounds/select.ts→ @lib/sounds/select.ts
- lib/utils.ts→ @lib/utils.ts
- components/motion/menu/menu-item-highlight.tsx→ @components/motion/menu/menu-item-highlight.tsx
- lib/layers.ts→ @lib/layers.ts
- lib/audio-context.ts→ @lib/audio-context.ts
- lib/sounds/engine.ts→ @lib/sounds/engine.ts
dependenciesclsxlucide-reactmotiontailwind-merge
registryDependencieshttps://beui.dev/r/theme.json
Looks similar, elsewhere
There is no screenshot of this item to compare yet.