Axon 911 Frontend DocsAxon 911 Frontend Docs
Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Primitives
  2. Portal
  3. Accessibility

Portal

Accessibility

Import Portal from @prepared911/ui/portal. Portal does not assign roles or labels; the portaled subtree keeps the semantics its children define. Direction for portaled content follows the owner document shell. When the mount node is outside the anchor's dir subtree, the display: contents wrapper forwards documentElement.dir so logical layout matches the shell. Popup-surface recipes keep a CanvasText border under forced colors and honor prefers-reduced-motion through Chroma motion tokens.
Previous
Portal / API and Development
Next
Scrollable / Usage