tab_box {semantic.dashboard} | R Documentation |
Create a tab box.
Description
Create a tab box with additional UI elements.
Usage
tab_box(
tabs,
title = NULL,
color = "",
ribbon = TRUE,
title_side = "top right",
collapsible = TRUE,
width = 8,
id = NULL,
...
)
tabBox(
tabs,
title = NULL,
color = "",
ribbon = TRUE,
title_side = "top right",
collapsible = TRUE,
width = 8,
id = NULL,
...
)
Arguments
tabs |
Tabs 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. |
... |
other elements of the box. |
Value
A box that can be passed to dashboardBody
Functions
-
tabBox
: Create a tab box (alias fortab_box
for compatibility withshinydashboard
)
Examples
tabBox(title = "Sample tab box", color = "blue", width = 5,
tabs = list(
list(menu = "First Tab", content = "This is first tab"),
list(menu = "Second Tab", content = "This is second tab")
))
[Package semantic.dashboard version 0.2.1 Index]