Skip to content

A st.group() or st.row() Container would be helpful. #1062

@cwerner

Description

@cwerner

Problem

I want to define a group of empty elements that may or may not be populated later with content. For instance, I might want to define a summary card containing a header, some markdown, a plot and a table... depending on some interactions I want to add swap elements of this group of elements.
Currently, I have to define a custom container class and instantiate a bunch of st.empty() as parameters (that I later fill with content) for all possible elements which is clunky.

Solution

Add a st.group() container element

Metadata

Metadata

Assignees

Labels

type:enhancementRequests for feature enhancements or new features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions