shinyglide is an R package which provides carousel-like or assistant-like components to shiny applications, thanks to the Glide JavaScript library.

It allows to create this sort of app (live example) :

Or can be integrated into an existing app to create an “assistant-like” interface (live example):

The package is still in experimental stage, breaking changes could happen.

Features

  • Responsive, navigation by mouse, keyboard, swiping
  • Controls are completely customizable (live example)
  • Next and Back controls can be disabled until an input condition is met (same syntax as shiny::conditionalPanel)
  • “Screens” can be generated or hidden depending on user inputs. Loading time are taken into accounts (disabled Next button and customizable animation)
  • Integration with Shiny modal dialogs (live example)
  • Multiple glides per app (live example)

Installation

The package is not on CRAN yet. You can install the development version with :

remotes::install_github("juba/shinyglide")

Credits