Component libraryPopover
Components/Feedback

Popover

Pro

An anchored dialog with form content, keyboard focus and bounded scrolling.

npx shadcn@latest add @tidal-pro/popover
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/popover

Import components/ui/tidal.css, components/ui/popover.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

Compound Radix Popover1.2.0 family. TidalPopover forwards Root open/defaultOpen/onOpenChange/modal (Radix default non-modal), with theme(light default) and dir(ltr default) for its Portal. Consumers own state, forms, validation, requests and permissions. Trigger forwards native button props/ref/disabled/asChild; Anchor forwards the Radix positioning anchor/asChild/ref. Content requires a visible title, supports optional description/footer/showClose(defaulttrue)/closeLabel(defaultClose popover), and forwards native Content positioning, events, focus and DOM ref, including React19 callback-ref cleanup and legacy null callbacks. Content owns its styled DOM and Portal, so asChild/forceMount are intentionally omitted and no extra Portal is needed. Its generated heading/description IDs compose with external aria-labelledby/aria-describedby. Use matching theme/dir explicitly on Root. Default sideOffset9 and collisionPadding12, bounded width and visual-viewport height; individual horizontal/vertical placement correction keeps a tall surface inside a phone keyboard viewport without replacing Radix entry transforms. Mounted surface/body ResizeObserver and scoped Popper-wrapper style observation/listeners clean up on close; ordinary pointer/touch body scrolling is not snapped back to focus. Resize preserves the focused body control inside its nearest scroller without scrolling the document. Fixed header/footer, internally scrolling body,44px trigger/dismiss/actions and visible focus. Optional modal=true traps focus; default non-modal permits outside interaction and focus-away dismissal. Enter/Space opens a button trigger, Tab follows native controls, Escape/outside/Close dismiss with Radix focus return; caller preventDefault handlers compose and can prevent dismissal. TidalPopoverClose forwards native button props/ref/asChild and introduces no confirmation or action. Required accessible naming, caller-owned keyboard behavior inside children and consumer form labels remain essential. Scoped tidal.css/popover.css and finite trigger/surface motion honor reduced motion. No sharing, email, invite, storage, entitlement or network operation is introduced. ## Theme and accessibility Override --t-* tokens. Use data-theme="dark" on the scope for dark surfaces. Respect prefers-reduced-motion. Preserve native keyboard behavior and visible focus. Demo data is sample data.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.