bsicons not working with shinydashoard
Closed this issue · 1 comments
sanjmeh commented
Hi,
I think bsicons::bs_icon()
is not accepted in shinydashboard,
The following is extract of one of the menuItem, and the shiny app menu just stays with no icons.
menuItem(text = "ETL Health Tracker",icon = icon(bsicons::bs_icon("lungs-fill",size = "1.5em")),
menuSubItem("API Tracker",tabName = "apitrack",icon = icon(bsicons::bs_icon("bug"))),
menuSubItem("DB tracker",tabName = "dbtrack",icon = icon(bsicons::bs_icon("box2-heart")))
)
See output..
cpsievert commented
A fix for this would need to come from shinydashboard (it shouldn't be so overly strict about the icon type).
Feel free to post an issue with shinydashboard, but just as a heads up, a fix for this probably won't happen since shinydashboard will soon be superceded by {bslib}
's dashboarding tools