boxLabel: Create a label for box

View source: R/boxes.R

boxLabelR Documentation

Create a label for box

Description

boxLabel is inserted in the label slot of box.

Usage

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. 11, 2024, 8:07 p.m.