Custom components
Declare a component
Create and register a custom component.
st.components.v1.declare_component(
"custom_slider",
"/frontend",
)
HTML
Display an HTML string in an iframe.
st.components.v1.html(
"<p>Foo bar.</p>"
)
iframe
Load a remote URL in an iframe.
st.components.v1.iframe(
"docs.streamlit.io"
)
Still have questions?
Our forums are full of helpful information and Streamlit experts.