## How to set up a preloader

Pass the argument enable_preloader = TRUE to the dashboardPagePlus() function. You can also change the loading duration (2s by default): loading_duration = 5 for 5 seconds.

library(shiny)
library(shinydashboard)
library(shinydashboardPlus)

shinyApp(
ui = dashboardPagePlus(
)