The goal of {tremousser}
is to help you to build beautiful and
efficient Shiny applications.
{tremousser}
is a package that provides a set of functions around the
Tremor React library.
You can install the development version of tremousser from GitHub with:
# install.packages("devtools")
devtools::install_github("ThinkR-open/tremousser")
More examples to come
library(tremousser)
library(shiny)
shinyApp(
ui = tagList(
tags$body(
class = "flex gap-x-1 items-center justify-center h-screen bg-gray-100",
actionButton(
inputId = "button",
"Click me..."
),
actionButton(
inputId = "button2",
variant = "secondary",
"... or me"
),
actionButton(
inputId = "button3",
color = "pink",
"even me!"
),
)
),
server = function(input, output) {
observeEvent(input$button, {
print("You clicked me!")
})
observeEvent(input$button2, {
print("You clicked me too!")
})
observeEvent(input$button3, {
print("You clicked me as well!")
})
}
)
Please note that the {tremousser}
project is released with a
Contributor Code of
Conduct.
By contributing to this project, you agree to abide by its terms.