|Kit
Changelog

0.20.2

Popover.Group shares an actionable card across triggers; Popover and HoverCard share placement props

Popover.Group puts a row of triggers, such as avatars, on one shared card that slides from face to face, and a click, tap or Enter pins it so its buttons and links can be reached. Popover and HoverCard now take the same placement props: Popover gains the RTL-aware start and end sides, HoverCard gains hideWhenDetached and positioning.

Spotlight

One card across a row of faces

Put several triggers on one Popover.Group and they share a single card. Hover a face for a preview, move along the row and the same card slides across, with no delay replay. A click, tap or Enter pins it, so its copy button and profile link can be reached.

View Popover

Changes

  • added3
  • Popover

    New Popover.Group: several triggers share one card people can act on, sliding from trigger to trigger, with the same value contract as HoverCard.Group

    #420
  • Popover

    position accepts the RTL-aware start / end sides, like HoverCard, Menu and Tooltip

    #420
  • HoverCard

    hideWhenDetached and the positioning escape hatch, matching Popover

    #420
  • changed1
  • HoverCard

    A card hides once its trigger scrolls out of a clipping ancestor (hideWhenDetached now defaults to true); pass false to keep it following

    #420

On this page