Button groups can be laid in two directions, horizontal or vertical.
buttonGroupInput( .style %>% background("primary"), id = NULL, choices = c("Grape", "Raspberry", "Kiwi") )
Vertical button groups can help fill available space.
buttonGroupInput( .style %>% background("primary"), id = NULL, choices = c("Cherry", "Apple", "Pear") )
buttonGroupInput( id = "group1", choices = c("Once", "Twice", "Thrice"), values = c(1, 2, 3) )
buttonGroupInput( .style %>% background("primary"), id = "group2", choices = c("Button 1", "Button 2", "Button 3") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.