streamlit-dimensions (pypi): A simple component that returns the dimensions of the container where it is rendered.
Keywords: streamlit