plot_button <- function(id, text = "Generate Plot", icon_type= icon("rocket"),
style = "width: 100%; font-size: 16px;") {
actionButton(id, text, icon = icon_type,
class = "btn-primary", style = style)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.