Navbar {shiny.blueprint} | R Documentation |
Navbar
Description
Documentation: https://blueprintjs.com/docs/#core/components/navbar
Usage
Navbar(...)
NavbarGroup(...)
NavbarHeading(...)
NavbarDivider(...)
Arguments
... |
Component props and children. See the official Blueprint docs for details. |
Value
Object with shiny.tag
class suitable for use in the UI of a Shiny app.
Examples
library(shiny.blueprint)
library(shiny)
ui <- function(id) {
Navbar(
NavbarGroup(
NavbarHeading("Blueprint"),
NavbarDivider(),
Button(minimal = TRUE, icon = "home", text = "Home"),
Button(minimal = TRUE, icon = "document", text = "Files")
),
NavbarGroup(
align = "right",
Button(minimal = TRUE, icon = "user"),
Button(minimal = TRUE, icon = "refresh")
)
)
}
server <- function(id) {
moduleServer(id, function(input, output, session) {})
}
if (interactive()) shinyApp(ui("app"), function(input, output) server("app"))
[Package shiny.blueprint version 0.3.0 Index]