button_app | R Documentation |
Creation of a bootstrap 5 button
button_app( id, color = "primary", href = NULL, outline = FALSE, shadow = TRUE, disabled = FALSE, size = "md", oc = FALSE, id_oc = NULL, text = NULL, icon = NULL, add_class = NULL )
id |
button id |
color |
button bootstrap color (primary, secondary, info, success, warning, danger, dark, light) |
href |
link to an external website (default = NULL) |
outline |
outline button ? (TRUE or FALSE) |
shadow |
shadow around button ? (TRUE/FALSE) |
disabled |
disabled state (TRUE or FALSE) |
size |
size of button (sm, md or lg) |
oc |
Trigger off canvas ? (TRUE or FALSE) |
id_oc |
if oc is TRUE id of the oc to trigger |
text |
Text label (default = NULL) |
icon |
Icon label (default = NULL) |
add_class |
button supplementary class |
a bootstrap 5 button
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.