accordionItem | R Documentation |
Embed an accordion item within an accordion
accordionItem(
...,
title = "A title",
status = c("default", "primary", "secondary", "info", "success", "danger", "warning"),
icon = NULL
)
... |
The elements to include within the body of the particular accordion |
title |
The title of the accordion item |
status |
Set the header background using either of "default", "primary", "secondary", "info", "success", "danger", "warning" |
icon |
Include an icon to the left of the title for the accordion item |
A list of properties for an accordion item
if (interactive()) {
accordionItem(
title = "Accordion 2",
icon = shiny::icon("cog"),
"Auctor neque etiam non."
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.