shiny.ui.panel_sidebar#

shiny.ui.panel_sidebar(*args, width=4, **kwargs)#

Create a sidebar panel

See layout_sidebar() for more information and an example.

Parameters
  • args (Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[ForwardRef]]]]) – UI elements to include inside the sidebar.

  • width (int) – The width of the sidebar (an integer between 1 and 12)

  • kwargs (Union[str, float, bool, None]) – Attributes to place on the sidebar tag.

Return type

A UI element