tab_box | R Documentation |
Create a tab box with additional UI elements.
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,
...
)
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. |
A box that can be passed to dashboardBody
tabBox()
: Create a tab box (alias for tab_box
for compatibility with
shinydashboard
)
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")
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.