inst/examples/boxes/close_box.R

close_box <- 'box(
  title = "Closable Box with dropdown", 
  closable = TRUE,
  width = 12,
  status = "warning", 
  solidHeader = FALSE, 
  collapsible = TRUE,
  dropdownMenu = boxDropdown(
    boxDropdownItem("Link to google", href = "https://www.google.com"),
    boxDropdownItem( "item 2"),
    dropdownDivider(),
    boxDropdownItem("item 3")
  ),
  p("Box Content")
)'

Try the shinydashboardPlus package in your browser

Any scripts or data that you put into this service are public.

shinydashboardPlus documentation built on Sept. 16, 2021, 1:06 a.m.