Components
← All components

Popover

stimeo--popover

A non-modal floating panel toggled by a trigger, with focus management and dismissal.

The stimeo--popover controller implements the WAI-ARIA Dialog pattern run non-modally: no aria-modal, no focus trap, no scroll lock, so the background stays interactive. Clicking the trigger toggles aria-expanded and the panel's hidden attribute; opening moves focus to the first focusable element inside the panel. Esc and outside clicks close it and restore focus to the trigger, while tabbing focus out of the panel closes it without yanking focus back. Static placement is owned by this Playground's CSS; dynamic edge-collision avoidance is delegated to the opt-in stimeo-ui/positioning module. Behavior only — the look is yours.

running

Keyboard

KeyAction
Enter / Space Toggle the popover while the trigger is focused (native button).
Esc Close the popover and return focus to the trigger.
Tab / Shift+Tab Move within the panel; moving focus out of it closes the popover.