Embed a Retool App
Last updated
Last updated
With PixieBrix, you can embed a Retool App in any web application, providing context from the page.
The PixieBrix Sidebar with 400px wide. Therefore, Retool’s “Enable mobile layout” setting will take effect when your App is embedded in the PixieBrix Sidebar.
Read more about Retool’s mobile layout.
Locating the “Enable mobile layout” App Setting
Custom URL query parameters and hash parameters are used to pass information to the embedded Retool App. Follow Retool’s Configure Custom URL Parameters documentation
For example, to reference a URL query parameter, use the urlparams
variable:
Showing all urlparams
in a table
New to PixieBrix? See the Page Editorguide.
In the PixieBrix Page Editor, add a Sidebar Panel Starter Brick
Remove the default Render Document brick
Add the Construct URL Brick and IFrame Brick
Configure the Construct URL brick with your Retool App URL and URL Query Parameters:
URL
: the URL of your Retool App
URL Parameters
: the URL Query/Search Parameters. Include the _embed
URL parameter to hide non-app UI. See the Retool URL Query Parameter documentation for more built-in parameters
In the IFrame brick, provide the constructed URL:
If the “Enable mobile layout” setting is toggled on for your Retool App, components will only display if “Show on mobile” is set for the component.
The component setting is available under Appearance > Advanced > Appearance.
Locating the Component > Appearance > Advanced > “Show on mobile” setting