Learn R Programming

bs4Dash (version 2.3.4)

skinSelector: AdminLTE3 skin selector

Description

This creates a skin selector element.

Usage

skinSelector()

Arguments

Examples

Run this code
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) { }
 )
}

Run the code above in your browser using DataLab