shiny.ui.navset_pill_card#

shiny.ui.navset_pill_card(*args, id=None, selected=None, header=None, footer=None, placement='above')#

Render nav items as a pillset inside a card container.

Parameters
  • *args – A collection of nav items (e.g., shiny.ui.nav()).

  • id (Optional[str]) – If provided, will create an input value that holds the currently selected nav item.

  • selected (Optional[str]) – Choose a particular nav item to select by default value (should match it’s value).

  • header (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 to display above the selected content.

  • footer (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 to display below the selected content.

  • placement (Literal[‘above’, ‘below’]) – Placement of the nav items relative to the content.

See also

nav, nav_menu, nav_control, nav_spacer, navset_bar, navset_tab, navset_pill, navset_tab_card, navset_hidden

Example

See nav()

Return type

NavSetCard