Skip to content

ThinkR-open/tremousser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{tremousser}

Lifecycle: experimental R-CMD-check

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.

Installation

You can install the development version of tremousser from GitHub with:

# install.packages("devtools")
devtools::install_github("ThinkR-open/tremousser")

Example

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!")
    })
  }
)

Code of Conduct

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.

About

📦 R package to build charts and dashboards in Shiny

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages