What's happening with html/iframe components?

I noticed this somewhat humorously phrased change to the documentation for html/iframe components:

## streamlit.components.v1.html

*priority_high*

#### Warning

This method did not exist in version `1.0.0` of Streamlit.

Are they ever coming back? If so, when? I would really like to be able to implement Google Analytics. Previous approaches relied on these components. Are there any new methods?

Hi @fredzannarbor -

Unfortunately, I’m not quite following your question here. Nothing happened to iframe/html in version 1.0 of Streamlit.

Best,
Randy

I see it now…that appears to be a bug in our new documentation template, which we’ll resolve. Thanks for reporting!

1 Like

I also do not seem to be able to import st.components.v1.iframe or .html.

Works for me

Python 3.8.8 (default, Apr 13 2021, 19:58:26) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.23.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import streamlit as st

In [2]: from streamlit.components.v1 import html

In [4]: st.__version__
Out[4]: '1.0.0'
1 Like

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