Dev Design Library

Controlled open

Menu whose open/closed state is managed externally and reflected in the trigger label.

Controlled open preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Install
pnpm dlx shadcn@latest add @flx/dropdown-13
Files
  • registry/patterns/dropdown/dropdown-13.tsx
  • src/components/ui/button.tsx
  • src/components/ui/dropdown-menu.tsx
  • src/lib/utils.ts
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI