I've made a dashboard with shinydashboard and really like the ease of making a layout with the package! However, I'd like to use one of the themes from the shinythemes package. I'm familiar with the shinydashboard skins, but they aren't nearly as cool or modern as shinythemes. The shinythemes seem to work well with just shiny, but not with shinydashboard.
Anyone know how to get shinythemes to work with shinydashboard?
Thanks very much!
ie: start of dashboard: doesn't work:
ui <- dashboardPage( theme = shinytheme("spacelab"),
dashboardHeader(title = "I want this to look awesome!"),
dashboardSidebar(sidebarMenu(
bs4Dash: A 'Bootstrap 4' Version of 'shinydashboard'Make 'Bootstrap 4' Shiny dashboards. Use the full power of 'AdminLTE3', a dashboard template built on top of 'Bootstrap 4' <https://github.com/ColorlibHQ/AdminLTE>. Version: 2.1.0.
If you want to quickly test out different themes with an application, you can simply add themeSelector() somewhere to the UI. This will add a select box which lets you choose the theme. It will change the theme without having to reload or restart your app. You can see the theme selector in action here.
There is a package (dashboardthemes) that allows modifying shinydashboard
themes. It is pretty straightforward to use.
One of the available skins:
Alternatively, if you want to try some new skins go for semantic.dashboard which offers Bootswatch and Semantic-UI themes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With