Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

button

Create Semantic UI Button


Description

Create Semantic UI Button

Usage

button(input_id, label, icon = NULL, class = NULL, ...)

Arguments

input_id

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

label

The contents of the button or link

icon

An optional icon() to appear on the button.

class

An optional attribute to be added to the button's class. If used paramters like color, size are ignored.

...

Named attributes to be applied to the button

Examples

if (interactive()){
library(shiny)
library(shiny.semantic)
ui <- semanticPage(
  shinyUI(
    button("simple_button", "Press Me!")
  )
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}

shiny.semantic

Semantic UI Support for Shiny

v0.4.2
MIT + file LICENSE
Authors
Filip Stachura [aut], Dominik Krzeminski [cre], Krystian Igras [aut], Adam Forys [aut], Paweł Przytuła [aut], Jakub Chojna [aut], Olga Mierzwa-Sulima [aut], Ashley Baldry [ctb], Jakub Chojna [ctb], Olga Mierzwa-Sulima [ctb], Pedro Manuel Coutinho da Silva [ctb], Paweł Przytuła [ctb], Kamil Żyła [ctb], Rabii Bouhestine [ctb], Appsilon Sp. z o.o. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.