Text Looping

Hello Guys, i create a sidebar space with some text pass in loop with st.empty(), but the rest of the app doesn’t work while looping not over. I would like to know how to make app works normally while loop doesn’t stop.

Hi there,

Thanks for sharing your question with the community! Check out our guidelines on how to post an effective question here – can you share a code snippet so we can try to reproduce the issue?

1 Like

Hi @Tiago_Galvao, see if this marquee component works for you:

I made a streamlit marquee component and have published it to pypi - Streamlit Components - Streamlit


1 Like

Hello guys, thank you for our help, but I arrange other way to make this.
Just put a button, “Next New”, and when button as pressed the text would change