# Popover _(no submodules)_ - popover.variants — `popoverContentVariants` is the…… - [popover.variants](./popover.variants.md) — `popoverContentVariants` is the cva configuration powering the `` floating panel. It is split from `pop… - popover.variants — `popoverContentVariants` is the…… - [popover.variants](./popover.variants.md) — `popoverContentVariants` is the cva configuration powering the `` floating panel. It is split from `pop… - popover.variants — `popoverContentVariants` is the…… - [popover.variants](./popover.variants.md) — `popoverContentVariants` is the cva configuration powering the `` floating panel. It is split from `pop… - popover.variants — `popoverContentVariants` is the… - [popover.variants](./popover.variants.md) — `popoverContentVariants` is the cva configuration powering the `` floating panel. It is split from `pop… - [popover.variants](./popover.variants.md) — `popoverContentVariants` is the cva configuration powering the `` floating panel. It is split from `pop… ## Purpose `` and its sub-components (``, ``, ``, ``, ``, ``) are the chassis floating-panel primitives built on `@radix-ui/react-popover`. Use this for non-modal ephemeral content — info bubbles, compact pickers, link previews — where focus does NOT need to be trapped. Distinct from `` and ``: a popover is non-modal so focus is not trapped, clicking outside dismisses it, and Escape dismisses it. There is no required title (popovers narrate their accessible name via their content). Radix handles the floating-UI math (avoid-collisions, sticky positioning, side/align resolution); the chassis adds the cva visual recipe. ## Features - Side / align positional API (`side`: top/right/bottom/left; `align`: start/center/end). - `sideOffset` / `alignOffset` numeric offsets pass through to Radix. - Self-portals via `` so consumers do not need to compose the portal manually. - Click-outside dismissal. - Escape closes. - Optional `` decoration pointing back at the trigger. - Optional `` lets the visual trigger differ from the popover anchor (e.g. anchor to a parent container). - Theme-driven cva via `useThemedVariants("PopoverContent")`. - All sub-components forward refs. - `motion-reduce:animate-none` collapses the open/close animations under `prefers-reduced-motion: reduce`. ## Usage: Basic Example ```tsx import { Popover, PopoverContent, PopoverTrigger, } from "@suaveplan/react-ui"; export function HelpBubble() { return ( Help Detailed help text for the focused control. ); } ``` ## Usage: Advanced Example ```tsx import { Popover, PopoverArrow, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, } from "@suaveplan/react-ui"; import { useState } from "react"; export function ColorPicker() { const [color, setColor] = useState("#3b82f6"); return ( setColor(e.target.value)} /> Done ); } ``` ## API Reference ### `` Wraps the Radix Popover Root. Same `open` / `defaultOpen` / `onOpenChange` lifecycle props as the other overlays. ### `` The visual trigger — a `