Add add check boxes.
bulmaCheckInput(inputId, choices, color = NULL, checked = NULL)
The input slot that will be used to access the value.
Vector of choices, named or unnamed.
Vector of colors.
Values of checked boxes.
if(interactive()){
shiny::shinyApp(
ui = bulmaPage(
bulmaTitle("Hello Bulma"),
bulmaCheckInput("select", c("Miles per galon" = "mpg", "Rear axle ratio" = "drat"),
checked = "mpg", color = c("danger", "info")),
verbatimTextOutput("selected")
),
server = function(input, output) {
output$selected <- renderText({
input$select
})
}
)
}