The Controlled example from the Dropdown menu docs.
npx shadcn@latest add @hextaui/dropdown-menu-controlled
dropdown-menu-controlled