Iframe Installation
Integrating the widget as an Iframe
Last updated
Integrating the widget as an Iframe
Last updated
While the Squid Widget is primarily designed as a React component, you can integrate it into other frontend frameworks (such as Vue, Angular, etc.) using an iframe. This guide will walk you through the process of setting up and customizing the Squid Widget iframe.
Framework Compatibility: If you're not using React, NextJS, or Vite the iframe method allows you to integrate the Squid Widget into any web application.
Simplicity: Embedding an iframe is straightforward and doesn't require additional dependencies.
Isolation: The widget runs in its own context, minimizing potential conflicts with your existing code.
The base URL for the Squid Widget iframe is:
The config
parameter at the end of the URL will contain your custom configuration settings.
To customize your widget:
Visit the .
Adjust the widget settings to your preferences.
Click the "Get iframe" button when you're satisfied with the customization.
You'll be redirected to a standalone widget page with a URL that includes your custom configuration.
Once you have your customized iframe URL, you can embed it in your HTML like this:
Important notes:
Adjust the width
and height
attributes as needed to fit your layout.
Replace the src
URL with your customized URL from the which you can find when you click the export button.