A Shiny input behaving similarly to actionButton. In addition to input$<inputId> you may use input$<inputId>_position, which returns a list

positional_input(inputId, label, icon = NULL)

Arguments

inputId

The input slot that will be used to access the value.

label

The contents of the positional input - usually a text label, but you could also use any other HTML, like an image.

icon

An optional icon() to appear on the button.