Mathias711
Mathias711

Reputation: 6658

Set title/header in Shiny Dashboard

I want to set the title of my Shiny dashboard to something reasonable and informative, but I cannot get that working. I know have got

tags$title("Dashboarding through the snow")

in my ui.R (within the dashboardPage environment if that makes a difference) and this results in this:

Snapshot of my title

How can I remove the <title> part and just have my text in the header?

Upvotes: 6

Views: 5866

Answers (1)

Buggy
Buggy

Reputation: 2100

You can set the title via:

ui <- dashboardPage(title="Browser tab title", 
   dashboardHeader(title = "Dashboard title"), 
   dashboardSidebar()
)

Upvotes: 11

Related Questions