box | R Documentation |
This function creates a box which is collapsible.
box(..., title = NULL, footer = NULL, status = NULL,
solidHeader = FALSE, background = NULL, width = 12, height = NULL,
collapsible = TRUE, collapsed = FALSE)
... |
UI code that belongs inside of box. |
title |
Title of the box |
footer |
Text that should appear in the footer if desired |
status |
Status of the box (warning, normal, etc.) |
collapsible |
Whether the box is collapsible or not |
collapsed |
Whether the box is collapsed on page load by default |
box(title = "Test Title", collapsible = T, uiOutput("Some Output"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.