add_colored_box | R Documentation |
add_colored_box
returns a box component generated by htmltools
with specified color and styles.
add_colored_box(
type = "blue-default",
label = "",
info = "place details here using info option",
bgcolor = NULL,
width = 0.5,
halign = "c",
top = FALSE
)
type |
One of:
|
label |
One of:
|
info |
A string including the main message of the box |
bgcolor |
NA or a length 3 vector with integer elements between 0 to 255 |
width |
NA or a number between 0.25 to 0.95 |
halign |
One of:
|
top |
One of:
|
add_colored_box( type='blue-default', info='the document include information regarding...')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.