Skip to main content

Enables nested layout in streamlit.

Project description

streamlit-nested-layout

An unofficial monkey patch that enables streamlit columns and expanders to be nested.

- ⚠️Streamlit developers disallow this behavior by design, so you are on your own if you encounter issues using this package!⚠️

Last tested for streamlit==1.33.0 on Python 3.9.18.

Credits to streamlit PR #5266 by @ZeroCool940711.

Install

pip install streamlit-nested-layout

Usage

Just import this package once in your app.

import streamlit_nested_layout

Demo

Demo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-nested-layout-0.1.3.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

streamlit_nested_layout-0.1.3-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page