How to add an icon in shinydashboard::box title

Hi,

Is it possible to include an icon (using the icon function or a tag) in the title argument of the shinydashboard::box?
I cannot manage to get this to work...

Sebastien

1 Like

Can you try:

box(
  title = span( icon("users"), "User Profile"),
  background = green,
  width = 4,
  textOutput("user")
)
2 Likes

Awesome !!!

Thanks @rjachuthan

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.