Creates a full-width container for one or more buttons. The horizontal space will be evenly divided among any buttons that are added.

miniButtonBlock(..., border = "top")

Arguments

...

One or more shiny::actionButton() or shiny::downloadButton() objects.

border

Zero or more of c("top", "bottom"), indicating which sides should have borders, if any.

Details

When using miniButtonBlock with a miniTabstripPanel, consider passing the miniButtonBlock to miniTabstripPanel as the between argument.

See also

For more information, see the Designing Gadget UI article on shiny.rstudio.com.

Examples

library(shiny)

miniButtonBlock(
  actionButton("reset", "Reset to defaults"),
  actionButton("clear", "Clear all")
)
#> <div class="gadget-block-button gadget-block-button-top">
#>   <button id="reset" type="button" class="btn btn-default action-button">Reset to defaults</button>
#>   <button id="clear" type="button" class="btn btn-default action-button">Clear all</button>
#> </div>