bs_panel | R Documentation |
This function makes it a little easier to make Bootstrap-friendly panels;
it wraps htmltools::tags
for panels
bs_panel( id = NULL, panel_type = c("default", "primary", "success", "info", "warning", "danger"), heading = NULL, body = NULL, ..., footer = NULL )
id |
character, unique identifier |
panel_type |
character, one of the standard Bootstrap types |
heading |
character (HTML) or htmltools::tagList(), content for the heading |
body |
character (HTML) or htmltools::tagList(), content for the body |
... |
character (HTML) or htmltools::tagList(), other content |
footer |
character (HTML) or htmltools::tagList(), content for the footer |
Object with S3 class, shiny.tag
, <div/>
https://getbootstrap.com/docs/3.3/css/#panels
library("htmltools") bs_panel( panel_type = "primary", heading = tags$h3("title"), body = tags$p("Some very important content") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.