New Component: streamlit-iframe-autoresize allows the embedded subpage to automatically adjust its height

As a part of a series on sharing components, I will share a solution for automatically resize an iframe to fit its content.

Installation

pip install streamlit-iframe-auto-resize

Usage

import streamlit as st
st.write("## Demo")
st_iframe_autoresize("http://localhost:8502")
3 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.