Get startedGet started for free

Header and sidebar functions

In the video, you have seen some functions that were added to dashboardHeader() and dashboardSidebar() in a modular manner. When rendered, these functions produce objects like dropdown lists, buttons, etc., that appear in the same sequence as they were placed in dashboardHeader() and dashboardSidebar(). Many of these functions are specific to each component of a shinydashboard UI.

Understanding where each function should go will help you better understand how you can set up the header and sidebar.

This exercise is part of the course

Building Dashboards with shinydashboard

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise