Create a bulma button.
bulmaButton(
...,
color = NULL,
style = NULL,
class = NULL,
rounded = FALSE,
size = NULL,
display = NULL,
tag = shiny::tags$a
)
button content.
a valid bulma color, i.e.: white
, or primary
.
can be set to either interted
or outlined
.
additional CSS classes.
set to TRUE
for a rounded button.
size of button, small
, medium
, or large
.
can be set to fullwidth
.
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)
}