Nest an expander (st.beta_expander) within an expander?

Ahah nope sorry no hack for now :slight_smile: maybe in the future…

You could still get away with the “Hide with checkbox” though:

import streamlit as st

with st.beta_expander("Hi Charly"):
    if st.checkbox("Fake expand"):
        st.write("Hello world")

Fanilo

3 Likes