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 HTML ID and matching popovertarget; no CSS anchor name is needed.

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.