Components•Dropdown Menu
Components•Dropdown Menu
Dropdown Menu
A compact action menu for secondary commands tied to a button or row.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-dropdown-menuHow to use
import { BjorkDropdownMenu } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Dropdown Menu primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
itemsmenu actionsRender command rows, separators, and labels inside the menu content.
Action menu
Use for secondary row or toolbar actions.
<BjorkDropdownMenu> <BjorkDropdownMenuTrigger asChild><BjorkButton>Open</BjorkButton></BjorkDropdownMenuTrigger> <BjorkDropdownMenuContent>...</BjorkDropdownMenuContent></BjorkDropdownMenu>