SkillAgentSearch skills...

FlipCards

Rotating cards with Bootstrap

Install / Use

/learn @RinteRface/FlipCards
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

flipCards

CRAN status Travis build status AppVeyor build status

Rotating cards with Bootstrap

Demonstration

library(shiny)
library(flipCards)
 
 shinyApp(
  ui = fluidPage(
    flipCard(
      front = tagList(
        numericInput("n", "n", 1),
        plotOutput("plot")
      ),
      flip_cover = flipCover("https://image.flaticon.com/icons/svg/186/186236.svg"),
      flip_user = flipUser("https://image.flaticon.com/icons/svg/145/145867.svg"),
      front_footer = "I am the front footer",
      back = tagList(
        checkboxGroupInput(
          inline = TRUE,
          "variable",
          "Variables to show:",
          c("Cylinders" = "cyl",
            "Transmission" = "am",
            "Gears" = "gear")
        ),
        tableOutput("data")
      ),
      back_footer = "This is the back footer"
    )
  ),
  server = function(input, output) {
    output$plot <- renderPlot( plot(head(cars, input$n)) )
    output$data <- renderTable({
      mtcars[, c("mpg", input$variable), drop = FALSE]
    }, rownames = TRUE)
  }
 )
View on GitHub
GitHub Stars6
CategoryDevelopment
Updated6mo ago
Forks1

Languages

CSS

Security Score

62/100

Audited on Oct 6, 2025

No findings