Description Usage Arguments Author(s) Examples
Create a large button ideal for web applications but identical to the classic Shiny action button.
| 1 | 
| ... | Named attributes to be applied to the button or link. | 
| inputId | The  | 
| label | The contents of the button or linkâusually a text label, but you could also use any other HTML, like an image. | 
| icon | An optional  | 
| width | The width of the input, e.g.  | 
David Granjon, dgranjon@ymail.com
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | if (interactive()) {
 library(shiny)
 library(shinydashboard)
 shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(),
    dashboardBody(
     box(
      title = "App Buttons",
      status = NULL,
      appButton(
        inputId = "myAppButton",
        label = "Users", 
        icon = icon("users"), 
        dashboardBadge(textOutput("btnVal"))
      )
     )
    ),
    title = "App buttons"
  ),
  server = function(input, output) {
   output$btnVal <- renderText(input$myAppButton)
  }
 )
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.