I created a small Streamlit component that allows users to insert scrollable text areas, to display large chunks of text while maintaining a desired app layout:
You can specify the height of the box, and whether you want to display a border around it or not.
The project is available on pypi:
pip install streamlit-scrollable-textbox
and the source code is available on my GitHub:
I hope it’s useful to others!