Dropdown Menu
Menu surface with `role="menu"` + `menuitem`, arrow key nav, type-ahead, and submenu support.
Preview
example.tsxtsx
Installation
Install the individual package:
snippet.bashbash
pnpm add @sisyphos-ui/dropdown-menu @sisyphos-ui/coreOr use the umbrella package that bundles everything:
snippet.bashbash
pnpm add @sisyphos-ui/uiUsage
Import the component styles and the component itself:
snippet.tsxtsx
import "@sisyphos-ui/dropdown-menu/styles.css";
import { DropdownMenu } from "@sisyphos-ui/dropdown-menu";API
Props table is being written. See the package README for the complete API surface.
The full API including refs, ARIA attributes, and HTML passthroughs lives in the package README.