shiny.ui.panel_main#

shiny.ui.panel_main(*args, width=8, **kwargs)#

Create an main area 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 main area.

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

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

Return type

A UI element