Controlled open
- from @flx
Menu whose open/closed state is managed externally and reflected in the trigger label.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @flx/dropdown-13Registry dependencies2
- dropdown-menu
- button
Packages0
No npm packages are installed with it.
