| navPieces | R Documentation |
UINav() puts these together for you. They're exported so you can build a
custom page from the same pieces.
navPadding()
navBar(..., barColor = NULL)
navDarkSwitch(mode = "dark")
navItem(...)
... |
Contents: tabs for |
barColor |
Background color of the bar. |
mode |
Starting mode for the switch: |
navPadding(): a small spacer above the navigation bar.
navBar(): the navigation bar itself, with the ID "root".
navDarkSwitch(): the light/dark mode switch.
navItem(): wraps anything (an image, a heading, a link) so it can sit in
the navigation bar or a tab strip without being a tab.
A 'shiny' tag or 'bslib' navigation object.
navItem(shiny::strong("Version 1.0"))
navDarkSwitch("light")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.