Floating Portal
Unified infrastructure component for floating content. Handles portal registration, positioning, and lifecycle management. This is the base layer used internally by Select, Popover, DropdownMenu, Tooltip, HoverCard, and other overlay components.
Overview
FloatingPortal is a low-level infrastructure primitive used internally by components like Popover, Select, DropdownMenu, and Tooltip. It handles portal rendering via IPortalService and positioning via IPositioningService. You typically don't use this directly — use the higher-level components instead.
Portal Hosts
Place BbPortalHost at the end of the root layout. It combines BbContainerPortalHost for dialogs and sheets with BbOverlayPortalHost for floating controls. Applications needing separate placement can use the two category hosts instead. BbCategoryPortalHost selects either category explicitly; use one host per category to avoid duplicate content.
Loading example…