buttonGroup: Button Group

buttonGroupR Documentation

Button Group

Description

Group of buttons.

Usage

buttonGroup(..., class = "")

Arguments

...

Any shiny::actionButton().

class

Any additional class.

Examples

library(shiny)

ui <- fluidPage(
  theme = bslib::bs_theme(version = 5L),
  buttonGroup(
    actionButton("first", "First", class = "btn-primary"),
    actionButton("second", "Second", class = "btn-warning"),
    actionButton("third", "Third", class = "btn-success")
  )
)

server <- \(input, output, session){

}

if(interactive())
 shinyApp(ui, server)


JohnCoene/bsutils documentation built on June 15, 2024, 3:21 a.m.