bulmaButton | R Documentation |
Create a bulma button.
bulmaButton(
...,
color = NULL,
style = NULL,
class = NULL,
rounded = FALSE,
size = NULL,
display = NULL,
tag = shiny::tags$a
)
... |
button content. |
color |
a valid bulma color, i.e.: |
style |
can be set to either |
class |
additional CSS classes. |
rounded |
set to |
size |
size of button, |
display |
can be set to |
tag |
shiny tag to use. |
if(interactive()){
library(shiny)
ui <- bulmaPage(
bulmaContainer(
bulmaButton(
"Button",
color = "info",
rounded = TRUE
),
bulmaButton(
"Outline",
style = "outlined"
)
)
)
server <- function(input, output){}
shinyApp(ui, server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.