La referencia de la API está disponible solo en inglés por ahora.

AnchoredSurfaceProps

interface
overlay/Popover.tsx:37

Props shared by the anchored surfaces.

Properties

NameTypeDescription
childrenReactNode
className?string
container?null | HTMLElement
labelstringThe accessible name of the surface. Not rendered; these have no header to name them.
offset?numberGap between anchor and surface, in px.
onClose() => void
openbooleanWhether the surface is on screen. Controlled, like the modal tier.
placement?PlacementPreferred side and alignment. Flipped only if that side does not fit.