skinSelector: AdminLTE3 skin selector

View source: R/skinSelector.R

skinSelectorR Documentation

AdminLTE3 skin selector

Description

This creates a skin selector element.

Usage

skinSelector()

Examples

if (interactive()) {
 library(shiny)
 library(bs4Dash)
 
 shinyApp(
   ui = dashboardPage(
     header = dashboardHeader(),
     sidebar = dashboardSidebar(
      sidebarMenu(
       menuItem(
        text = "Item 1"
       ),
       menuItem(
        text = "Item 2"
       )
      )
     ),
     body = dashboardBody(),
     controlbar = dashboardControlbar(skinSelector(), pinned = TRUE),
     title = "Skin Selector"
   ),
   server = function(input, output) { }
 )
}

bs4Dash documentation built on Sept. 11, 2024, 8:46 p.m.