(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

IFrame

Overview

Example IFrame

Specs

Tokens

Token Description
displayName Sets the display name of the component shown in the structure panel
src URL or path of the content displayed in the IFrame
width Defines width of the IFrame (pixels or percentages)
height Defines height of the IFrame (pixels or percentages)
paddingClass Configures spacing around the IFrame using CSS classes
events Configures component events
ON_PAGE_LOAD (Events) Triggered when IFrame content has finished loading
ON_INIT (Events) Triggered when the IFrame component is initialized
ON_DESTROY (Events) Triggered when the IFrame component is removed from the DOM
visibilityPolicySetId Determines visibility of the component based on policy sets
displayConditions Conditions for showing or hiding the IFrame
id Unique identifier for programmatic access
dataTestId Testing hook ID for automated testing
enableAsHotspot Enables component as a guided tour hotspot
guidedTourHotSpotTitle Title for guided tour hotspot (supports translations)
guidedTourHotSpotDescription Description for guided tour hotspot (supports translations)

Structure

(Configured in General Properties)

(Configured in Visual Properties)

Configure URL

(Configured in Visibility Properties)

Styling

(Configured in Visual Properties)

Visual Properties tab

Actions & Variants

(Configured in Events)

Authorization

(Configured in Authorization)

Tests

(Configured in Testing Hooks)

Guidelines

Usage

Sizing & Layout

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Bind src to the exact page/app users need (static or via template). Point src to a generic landing page that forces extra navigation. src
Show the frame only when inputs exist (e.g., selected item). Render an empty frame that looks broken. displayConditions
Gate sensitive embeds with policies. Rely on the embedded site to block access after render. visibilityPolicySetId
Use percentages/pixels to size thoughtfully and avoid double scrollbars. Leave default sizes so content overflows or feels cramped. width, height
Add outer spacing so the frame doesn’t touch neighboring UI. Jam the frame edge-to-edge with no visual separation. paddingClass
Treat ON_PAGE_LOAD as the readiness signal. Guess readiness with arbitrary delays. events.ON_PAGE_LOAD
Clean up on unmount. Leave timers/listeners running after navigation. events.ON_DESTROY
Provide stable test hooks. Select the frame with brittle DOM selectors. id, dataTestId
Localize hotspot captions for onboarding. Ship English-only guidance. guidedTourHotSpotTitle, guidedTourHotSpotDescription
Give the instance a purposeful name for authors. Keep ambiguous defaults that hinder maintenance. displayName

Accessibility