Shiny has a number of widgets that can be linked in our applications. For referring to the widget gallery go to https://shiny.rstudio.com/gallery/widget-gallery.html . Here, you can find widgets with sample output and a see code button. Have a look at a snapshot of the site:

For better understanding, we will build an application with a Shiny dashboard and integrate widgets into our app. Let's develop our app step by step:
- Develop a basic dashboard.
- Copy the code into an R Script file.
- If the shinydashboard package is not installed, install it.
- Execute the code by clicking on the run app button:
## app.R ##
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody()
)
server <- function(input, output) { }
shinyApp(ui, server...