Popover menu
A dropdown menu anchored to its trigger — account menus, action menus, context menus. Built on the native Popover API (top-layer and light-dismiss) + CSS anchor positioning (tethered to the trigger) +@starting-style for a native enter/exit animation. No JavaScript required — the trigger's popovertarget opens it declaratively.
Account menu
The canonical SaaS pattern: avatar → account/settings/sign-out.
Action menu
A compact actions menu — row-level actions in a data table.
Multiple menus
Each menu needs a unique anchor name — set --pl-c-menu-anchor per instance.
Keyboard interaction
This is a simple disclosure, not an ARIA menu: its links and buttons stay in the normal tab sequence, and the non-modal popover does not trap focus.
- Tab to the trigger, Enter/Space to open.
- Continue with Tab to move through the disclosed actions.
- Esc closes the popover.
- Click outside (light-dismiss) closes.