Learn R Programming

dashboardthemes (version 1.1.6)

shinyDashboardLogo: shinyDashboardLogo

Description

Calls a custom logo object created using shinyDashboardLogoDIY

Usage

shinyDashboardLogo(
  theme,
  boldText = "Shiny",
  mainText = "App",
  badgeText = "v1.1"
)

Value

HTML code. Logo for shinydashboard's sidebar.

Arguments

theme

String. Name of theme to be used

boldText

String. Bold text for the logo.

mainText

String. Main text for the logo.

badgeText

String. Text for the logo badge.

See Also

shinyDashboardLogoDIY, shinyDashboardThemes

Examples

Run this code
# \donttest{
#...
### ui
#ui <- dashboardPage(

  ### ui header
  #dashboardHeader(

    ### changing logo
    title = shinyDashboardLogo(
      theme = "blue_gradient",
      boldText = "Shiny",
      mainText = "App",
      badgeText = "v1.1"
    )
    #...
# }

Run the code above in your browser using DataLab