All Projects → juba → shinyglide

juba / shinyglide

Licence: other
Glide.js component for Shiny apps

Programming Languages

r
7636 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to shinyglide

Shinycssloaders
⌛ Add loading animations to a Shiny output while it's recalculating
Stars: ✭ 248 (+198.8%)
Mutual labels:  shiny
FastWaiMai
仿写美团外卖电商项目
Stars: ✭ 123 (+48.19%)
Mutual labels:  glide
charpente
Seamlessly design robust 'shiny' extensions
Stars: ✭ 36 (-56.63%)
Mutual labels:  shiny
echarty
Minimal R/Shiny Interface to ECharts.js
Stars: ✭ 49 (-40.96%)
Mutual labels:  shiny
SmaRP
Shiny app for projecting retirement funds / benefits
Stars: ✭ 17 (-79.52%)
Mutual labels:  shiny
MediaSliderView
Pure java based, highly customizable media slider gallery supporting both images and videos for android.
Stars: ✭ 85 (+2.41%)
Mutual labels:  glide
Shinymobile
shiny API for Framework7 (IOS/android)
Stars: ✭ 243 (+192.77%)
Mutual labels:  shiny
nytclient-android
This sample app is created to demonstrate the usage of Android Architecture Components with MVVM architecture
Stars: ✭ 24 (-71.08%)
Mutual labels:  glide
carbon-intensity-app
A web app showing how much electricity is made from renewable sources in different parts of UK
Stars: ✭ 22 (-73.49%)
Mutual labels:  shiny
EasyGlide
🐼基于Glide 4.12.0封装的 一键使用工具类。现已改为kotlin实现。支持HTTPS图片,可下载图片,可监听加载进度。包含常用变换:高斯模糊,圆角矩形,圆形,黑白,描边圆形,描边方形。
Stars: ✭ 121 (+45.78%)
Mutual labels:  glide
Pokedex
An application that uses Retrofit to consume the Pokeapi API, in addition to loading images with Glide.
Stars: ✭ 21 (-74.7%)
Mutual labels:  glide
grillade
Grid sytem for shiny apps or rmarkdown and to create htmlwidgets matrix
Stars: ✭ 16 (-80.72%)
Mutual labels:  shiny
shiny-react-example
Example of a Shiny app with a React front-end
Stars: ✭ 52 (-37.35%)
Mutual labels:  shiny
RagGrid
R interface to ag-grid.
Stars: ✭ 31 (-62.65%)
Mutual labels:  shiny
lineup htmlwidget
HTMLWidget wrapper of LineUp for Visual Analysis of Multi-Attribute Rankings
Stars: ✭ 51 (-38.55%)
Mutual labels:  shiny
Bs4dash
Bootstrap 4 shinydashboard using AdminLTE3
Stars: ✭ 248 (+198.8%)
Mutual labels:  shiny
shinyhttr
Give httr::progress the ability to talk to shinyWidgets::progressBar.
Stars: ✭ 32 (-61.45%)
Mutual labels:  shiny
shiny-apps
Some of my Shiny apps for fun
Stars: ✭ 54 (-34.94%)
Mutual labels:  shiny
tweet-conf-dash
A shiny twitter conference dashboard
Stars: ✭ 117 (+40.96%)
Mutual labels:  shiny
XinFramework
Android 快速开发框架 总结以往开发结合三方项目 不断更新
Stars: ✭ 21 (-74.7%)
Mutual labels:  glide

shinyglide

Lifecycle: stable CRAN status CRAN downloads R build status

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) :

presentation

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

modal

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

You can install the stable version with :

install.packages("shinyglide")

And the development version with :

remotes::install_github("juba/shinyglide")

Usage

A shinyglide component is created with the glide() function. This component is then divided intro screens with the screen() function.

Here is the code of a very basic app (live example):

library(shiny)
library(shinyglide)

ui <- fixedPage(style = "max-width: 500px;",
  titlePanel("Simple shinyglide app"),

  glide(
    height = "350px",
    screen(
      p("This is a very simple shinyglide application."),
      p("Please click on Next to go to the next screen.")
    ),
    screen(
      p("Please choose a value."),
      numericInput("n", "n", value = 10, min = 10)
    ),
    screen(
      p("And here is the result."),
      plotOutput("plot")
    )
  )
)


server <- function(input, output, session) {

  output$plot <- renderPlot({
    hist(
      rnorm(input$n),
      main = paste("n =", input$n),
      xlab = ""
    )
  })

}

shinyApp(ui, server)

For more information, see the three available vignettes :

Development notes

This package uses packer to manage JavaScript source code and dependencies. If you want to modify it, you'll need a working installation of Node.js.

After cloning this repository, run the following in a terminal at the project root :

npm install

Then, if you modify the JavaScript code in srcjs, you'll have to run the following command to bundle and update the widget JavaScript code :

packer::bundle_dev()

If you want to ship a minimized production version, use :

packer::bundle_prod()

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].