Side Navigation
side-navigation.Rmd
The side_navigation()
s used as a standard menu in applications. It consists of three containers: header (top-aligned), main navigation section (top-aligned) and the secondary section (bottom-aligned).
See the official documention for side_navigation, for all the correct props.
Examples
side_navigation(
"side",
side_navigation_item(
text = "Home",
icon = "home"
),
side_navigation_item(
text = "Group",
selected = TRUE
),
side_navigation_item(
text = "Home too"
),
side_navigation_item(
text = "A tab",
slot = "fixedItems",
value = "tab"
),
side_navigation_item(
text = "Another tab",
slot = "fixedItems"
)
)