Page History
(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)
IFrame
Link to Figma: tba
Overview
- The IFrame component embeds external web content inside your application.
- It keeps the embedded content separate from the main application for security.
- It supports HTML documents, websites, and full web applications.
- It is useful for integrating third-party tools, dashboards, or documentation.
...
- Size the frame to the embedded content’s expected viewport; use percentages for flexible layouts and pixels for fixed designs (
width,height). - Add breathing room so the frame doesn’t butt up against adjacent UI (
paddingClass). - For content that should fill the available area, set
width: "100%"and an appropriateheightto avoid double scrollbars.
Interactions & Events
- Bind lifecycle behaviors to events without duplicating state rules: use
ON_INITfor any setup (e.g., preparing dynamicsrccontext),ON_PAGE_LOADfor analytics or marking “ready,” andON_DESTROYfor teardown of timers/listeners.
Visibility & Authorization
...