Learn R Programming

shinydashboardPlus (version 0.2)

dashboardLabel: AdminLTE2 label

Description

Create a label

Usage

dashboardLabel(..., status = "primary")

Arguments

...

any text.

status

label status: "danger", "success", "info", "primary", "warning".

Examples

Run this code
# NOT RUN {
if (interactive()) {
 library(shiny)
 library(shinydashboard)
 shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(),
    dashboardBody(
     dashboardLabel("Label 1", status = "info")
    )
  ),
  server = function(input, output) { }
 )
}

# }

Run the code above in your browser using DataLab