A full-height page whose top bar carries a shad_tabs() strip: the standard
"app with a handful of top-level views" shell. input$<inputId> is the
active tab value; switch it from the server with update_shad_tabs().
Usage
shad_page_navbar(
...,
inputId = "navbar",
title = NULL,
selected = NULL,
header_end = NULL,
container = TRUE,
page_title = title,
theme_preset = NULL,
dark = NULL,
theme = NULL,
lang = "en"
)Arguments
- ...
One or more
shad_tab(), or named HTML attributes for the scope container.- inputId
Input id for the tab set.
- title
Optional brand/title shown at the start of the bar.
- selected
Initially active tab value (defaults to the first tab).
- header_end
Optional content pinned to the end of the bar.
- container
If
TRUE(default), wrap each panel's content in ashad_container(). Pass a list of arguments to configure it, orFALSE.- page_title, theme_preset, dark, theme, lang
Passed to
page_shad().
See also
Other shadshiny layout:
shad_container(),
shad_grid(),
shad_page_sidebar(),
shad_stack()