Overlays
v1.0.0Added in 1.0.0
Rich floating content anchored to a trigger, like a quick filter, form or share panel, that becomes a bottom sheet on phones.
Click the trigger and the panel grows out of it on a quick spring, pointing at the trigger when it has an arrow. It flips to the other side and slides along the edge when there is no room, and stays anchored while the page scrolls. Focus moves to the first field so you can type at once (on a touch screen the panel itself takes focus, so no keyboard pops up); Escape or a click outside closes it and focus returns to the trigger; Tab past the last control (or Shift+Tab past the first) leaves it in reading order and closes it. A modal popover keeps focus inside and blocks the page until it closes. A shortcut, when set, toggles it from anywhere. Below 768px the same content opens as a bottom sheet you can drag down: the header and footer stay pinned, the body scrolls, and the footer stacks full-width 48px buttons with the primary action on top. With reduced motion it only fades.
npx wingo-ui@latest add popoverNew York
585 listings

Sofa bed, gray
Astoria · today, 11:05 AM

City bike
Brooklyn · yesterdayfree

14″ Full HD laptop, with warranty
Harlem · yesterdayfree

iPhone 13 mini, 128 GB
Midtown · Sep 21, 2026
Click the price filter to open it. Esc, a click outside or tabbing away closes it. On a phone it opens as a bottom sheet. Without a title, screen readers would call it “Details”.
side=bottom align=center offset=8/0px