boxLabel: Create a label for box

Description Usage Arguments

View source: R/boxes.R

Description

boxLabel is inserted in the label slot of box.

Usage

1
boxLabel(text, status, style = "default")

Arguments

text

Label text. In practice only few letters or a number.

status

label color status. See https://adminlte.io/themes/AdminLTE/pages/UI/general.html. Valid statuses are defined as follows:

  • primary: \Sexpr[results=rd, stage=render]{shinydashboardPlus:::rd_color_tag("#3c8dbc")}

  • success: \Sexpr[results=rd, stage=render]{shinydashboardPlus:::rd_color_tag("#00a65a")}

  • info: \Sexpr[results=rd, stage=render]{shinydashboardPlus:::rd_color_tag("#00c0ef")}

  • warning: \Sexpr[results=rd, stage=render]{shinydashboardPlus:::rd_color_tag("#f39c12")}

  • danger: \Sexpr[results=rd, stage=render]{shinydashboardPlus:::rd_color_tag("#f56954")}

style

label border style: "default" (rounded angles), "circle" or "square".


shinydashboardPlus documentation built on Sept. 16, 2021, 1:06 a.m.