Skip to content

Conversation

@cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Dec 6, 2023

The current design of shiny.express.layout.sidebar() doesn't allow for inline sidebar layouts. This would make it a possibility with:

from shiny import ui
from shiny.express import layout

with layout.layout_sidebar():
    ui.sidebar(
        ui.div("Thing 1"), 
        ui.div("Thing 2")
    )
    ui.div("Thing 3")

TODO

Consider the direction proposed by @schloerke #847 (comment) (which would remove the need to have a layout_sidebar(), and would seemingly also allow for inline layouts). I'm not sure we currently have a technical foundation to easily accommodate for this though

@cpsievert
Copy link
Collaborator Author

Closing since layout_sidebar() was added somewhat recently

@cpsievert cpsievert closed this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants