{"id":13941158,"url":"https://github.com/rsquaredacademy/standby","last_synced_at":"2025-11-03T11:03:03.614Z","repository":{"id":84664357,"uuid":"520053135","full_name":"rsquaredacademy/standby","owner":"rsquaredacademy","description":"Loading screens, alerts and notifications for Shiny","archived":false,"fork":false,"pushed_at":"2024-10-31T07:33:54.000Z","size":795,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T20:51:29.934Z","etag":null,"topics":["alerts","loaders","modals","notifications","r-package","rstats","shiny","spinners","tooltips"],"latest_commit_sha":null,"homepage":"https://standby.rsquaredacademy.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsquaredacademy.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-01T09:52:40.000Z","updated_at":"2024-10-31T07:33:57.000Z","dependencies_parsed_at":"2023-03-13T00:00:18.985Z","dependency_job_id":"487b2b75-0e19-4c4c-b9c8-5468985db656","html_url":"https://github.com/rsquaredacademy/standby","commit_stats":{"total_commits":120,"total_committers":1,"mean_commits":120.0,"dds":0.0,"last_synced_commit":"32b8dcf709bd0f2f3d96bd25ffd3f52e64a13948"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rsquaredacademy/standby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsquaredacademy%2Fstandby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsquaredacademy%2Fstandby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsquaredacademy%2Fstandby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsquaredacademy%2Fstandby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsquaredacademy","download_url":"https://codeload.github.com/rsquaredacademy/standby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsquaredacademy%2Fstandby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282445596,"owners_count":26670239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-03T02:00:05.676Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alerts","loaders","modals","notifications","r-package","rstats","shiny","spinners","tooltips"],"created_at":"2024-08-08T02:01:12.565Z","updated_at":"2025-11-03T11:03:03.598Z","avatar_url":"https://github.com/rsquaredacademy.png","language":"JavaScript","funding_links":[],"categories":["UI Components","JavaScript"],"sub_categories":["Loader"],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# standby\n\n\u003c!-- badges: start --\u003e\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/standby)](https://cran.r-project.org/package=standby)\n[![cran checks](https://badges.cranchecks.info/summary/standby.svg)](https://cran.r-project.org/web/checks/check_results_standby.html)\n[![R-CMD-check](https://github.com/rsquaredacademy/standby/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rsquaredacademy/standby/actions/workflows/R-CMD-check.yaml) \n[![Codecov test coverage](https://codecov.io/gh/rsquaredacademy/standby/branch/master/graph/badge.svg)](https://app.codecov.io/gh/rsquaredacademy/standby?branch=master)\n[![status](https://tinyverse.netlify.com/badge/standby)](https://CRAN.R-project.org/package=standby) \n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n\u003c!-- badges: end --\u003e\n\nEasily create alerts, notifications, tooltips and loading screens in Shiny\n\n## Installation\n\n```{r cran-installation, eval = FALSE}\n# Install release version from CRAN\ninstall.packages(\"standby\")\n\n# Install development version from GitHub\n# install.packages(\"devtools\")\ndevtools::install_github(\"rsquaredacademy/standby\")\n```\n\n## Usage\n\n### Loading Screens\n\nTo use spinners/loaders from **standby** in your Shiny application, include the \nfollowing in the **UI** part of the app:\n\n- Include the dependencies using the appropriate `use*` functions \n(`useSpinkit()` in the below example).\n- Wrap the target output using corresponding rendering function \n(`spinkit()` in the below example).\n\n##### Example\n\n```{r standby, eval=FALSE}\nlibrary(shiny)\nlibrary(standby)\n\nui \u003c- fluidPage(\n\n  standby::useSpinkit(), # include dependencies\n  fluidRow(\n    standby::spinkit(plotOutput(\"plot1\")), # wrap output inside loader\n    actionButton(\"render\", \"Render\")\n  )\n\n)\n\nserver \u003c- function(input, output, session) {\n\n    output$plot1 \u003c- renderPlot({\n      input$render\n      Sys.sleep(3)\n      hist(mtcars$mpg)\n    })\n\n}\n\nshinyApp(ui, server)\n```\n\n#### Details\n\nThe below table displays the dependency and rendering functions along with references:\n\n| Index | Dependency       | Render        | Reference                                                                |\n| ------| -------------    | ------------- | -------------                                                            |\n| 1     | `useThreeDots()` | `threeDots()` | [Three Dots](https://github.com/nzbin/three-dots)                        |\n| 2     | `useSpinkit()`   | `spinkit()`   | [SpinKit](https://github.com/tobiasahlin/SpinKit)                        |\n| 3     | `useVizLoad()`   | `vizLoad()`   | [Loading Visualization](https://github.com/RIDICS/Loading-Visualization) |\n| 4     | `useSpinners()`  | `spinners()`  | [Spinners](https://github.com/lukehaas/css-loaders)                      |\n| 5     | `useLoaders()`   | `loaders()`   | [Loaders](https://github.com/raphaelfabeni/css-loader)                   |\n\n\n### Alerts and Notifications\n\nTo use alerts or notifications from **buzz** in your Shiny application, follow the below steps:\n\n- Include the dependencies in the **UI** part of the app using the appropriate\n`use*` functions (`useToast()` in the below example).\n- Include the corresponding rendering function in the **Server** part of the \napp (`toast()` in the below example).\n\n##### Example\n\n```{r buzz, eval=FALSE}\nlibrary(shiny)\nlibrary(standby)\nui \u003c- fluidPage(\n  useBootBox(), # include dependencies\n  actionButton(inputId = \"notify\",\n               label   = \"Show Notification\")\n)\nserver \u003c- function(input, output, session) {\n  observeEvent(input$pnotify, {\n    bootBox(class = \"rubberBand\") # display the alert\n  })\n}\nshinyApp(ui, server)\n```\n\n#### Details\n\nThe below table displays the dependency and rendering functions along with references:\n\n| Index | Dependency      | Render              | Reference                                                                   |\n| ------| -------------   | -------------       | -------------                                                               |\n| 1     | `useAlertify()` | `alertify_alert()`  | [Alertify](https://github.com/MohammadYounes/AlertifyJS)                    |\n| 2     | `useAlertify()` | `alertify_notify()` | [Alertify](https://github.com/MohammadYounes/AlertifyJS)                    |\n| 3     | `useBootBox()`  | `bootBox()`         | [BootBox](https://github.com/bootboxjs/bootbox)                           |\n| 4     | `useMicroTip()` | `microTip()`        | [MicroTip](https://github.com/ghosh/microtip)                               |\n| 5     | `useNS()`       | `notice()`          | [Notification Styles](https://tympanus.net/Development/NotificationStyles/) |\n| 6     | `useNotify()`   | `notify()`          | [PNotify](https://github.com/sciactive/pnotify)                             |\n| 7     | `useTingle()`   | `tingle()`          | [Tingle](https://github.com/robinparisi/tingle)                             |\n| 8     | `useToast()`    | `toast()`           | [iziToast](https://github.com/marcelodolza/iziToast)                        |\n\n## Getting Help\n\nIf you encounter a bug, please file a minimal reproducible example using \n[reprex](https://reprex.tidyverse.org/index.html) on github. For questions and clarifications, \nuse [StackOverflow](https://stackoverflow.com/).\n\n## Code of Conduct\n\nPlease note that the standby project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsquaredacademy%2Fstandby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsquaredacademy%2Fstandby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsquaredacademy%2Fstandby/lists"}