Learn R Programming

dashboardthemes (version 1.1.6)

shinyDashboardLogoDIY: shinyDashboardLogoDIY

Description

Creates a custom logo object for a shinydashboard application

Usage

shinyDashboardLogoDIY(
  boldText,
  mainText,
  textSize = 15,
  badgeText,
  badgeTextColor,
  badgeTextSize = 2,
  badgeBackColor,
  badgeBorderRadius = 3
)

Value

HTML code. Logo for shinydashboard's sidebar.

Arguments

boldText

String. Bold text for the logo.

mainText

String. Main text for the logo.

textSize

Numeric. Text size for the logo. Defaults to 15.

badgeText

String. Text for the logo badge.

badgeTextColor

String. Text color of the logo badge.

badgeTextSize

Numeric. Text color of the logo badge. Defaults to 2.

badgeBackColor

String. Background color of the logo badge.

badgeBorderRadius

Numeric. Border radius of the logo badge. Defaults to 3.

See Also

shinyDashboardLogo, cssGradientThreeColors

Examples

Run this code
# \donttest{
customLogo <- shinyDashboardLogoDIY(
  boldText = "SD"
  ,mainText = "Themes"
  ,textSize = 16
  ,badgeText = "v1.1"
  ,badgeTextColor = "white"
  ,badgeTextSize = 2
  ,badgeBackColor = "#40E0D0"
  ,badgeBorderRadius = 3
)
# }

Run the code above in your browser using DataLab