bslib
bslib copied to clipboard
Add support for shinydashboard
I really like your package but I saw that it does not work for the dashboardPage of shinydashboard. Are you thinking to extend the package also for that? It would be very helpful! Thank you
Giada
Adding to this issue - I am able to use bslib::bs_theme()
from a module that is called in my shinydashboard, but it seems to break some components of the dashboard. Text sizes are very inconsistent across the dashboard (dropdown menu text & tab text is large, text beside radio buttons and checkboxes is unreadably small), and the dashboard bar across the top of the page becomes disjointed and very wide. I'm assuming this is because the themes are not designed/optimized for use with a Shiny dashboard?
Just adding a comment here for information for anyone in future, as I originally had the same (slightly naive) question. {shinydashboard} uses AdminLTE v2 which uses Bootstrap 3, so newer versions of Bootstrap - e.g. the default for bslib::bs_theme()
- are not compatible with {shinydashboard}.
i.e. see the note at the top of this page.
Edit: see also
The next upcoming release (0.5.0) takes a significant step towards providing a new toolkit for creating dashboards. See the new getting started article to learn more https://rstudio.github.io/bslib/articles/dashboards.html
Also, if you feel like there is anything critical that {shinydashboard}
provides that {bslib}
doesn't (yet) provide, please let us know!
Actually, instead of continuing this discussion in an issue thread, I'd like to welcome everyone to contribution here https://github.com/rstudio/bslib/discussions/618
(Closing this issue since we likely won't be aiming to support {shinydashboard}
, but instead supersede it)
This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. :raising_hand: Need help? Connect with us on Discord or Posit Community.