Switch between two components automatically when your code runs inside an iframe versus top-level. Pass one component for embedded contexts, another for standalone. The detector handles the logic. Your users see the right interface instantly.
Add the component to your canvas
Assign your iframe component
Assign your top-level component (standalone experience)
Automatic context detection
Zero loading states
Cross-origin iframe support
Renders immediately on load
No setup required