Skip to content

IframeDetector

Render UI for iframe or standalone mode.

IframeDetector preview image 1

Summary

Render UI for iframe or standalone mode.

Description

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.

How to Use

  1. Add the component to your canvas

  2. Assign your iframe component

  3. Assign your top-level component (standalone experience)

Features

  • Automatic context detection

  • Zero loading states

  • Cross-origin iframe support

  • Renders immediately on load

  • No setup required

Rank history How rankings work →

120014001600166648/149/59/2710/1911/10
  • All · #6664

Details

More like this