1. Learn
  2. /
  3. Courses
  4. /
  5. Creating Dashboards with shinydashboard

Exercise

Create Sidebar tabs

You can create tabs for you dashboard. First, create tabs on the sidebar using the sidebarMenu() function. You will create two tabs, one for the "Dashboard" and one for the "Inputs".

Instructions

100 XP
  • Use the sidebarMenu() to create a tab with text = "Dashboard" and tabName = "dashboard".
  • Create tab with text = "Inputs" and tabName = "inputs".
  • Use the new sidebar in the dashboardPage().
  • Rerun the shiny app with these updates.