| box {semantic.dashboard} | R Documentation | 
Create a box.
Description
Create a box with additional UI elements.
Usage
box(
  ...,
  title = NULL,
  color = "",
  ribbon = TRUE,
  title_side = "top right",
  collapsible = TRUE,
  width = 8,
  id = NULL,
  collapse_icon = "minus",
  expand_icon = "plus"
)
Arguments
| ... | UI elements to include within the box. | 
| title | Label of the box. | 
| color | Color of the box. One of  | 
| ribbon | Should label be presented as ribbon. | 
| title_side | Side of a label. One of  | 
| collapsible | Should minimize button be added to label. | 
| width | Width of the box. | 
| id | ID of the box. | 
| collapse_icon | Icon class to be used for collapsing (when  | 
| expand_icon | Icon class to be used for expanding (when  | 
Value
A box that can be passed to dashboardBody
Examples
box(title = "Sample box", color = "blue", width = 11,
    "This is a box content"
)
[Package semantic.dashboard version 0.2.1 Index]