Reputation: 71
I know that shinydashboardPlus allows me to minified the sidebar like the example:
siderbar <- dashboardSidebar(width = 50,
collapsed = TRUE,
sidebarMenu(
id = 'sidebar', # Tab1
menuItem("Tab number One", tabName = 'tab1',
icon = shiny::icon('chart-area')
), # Tab2
menuItem("Tab number Two", tabName = 'tab2',
icon = shiny::icon('map')
)
)
)
What I can't find is a code that shows the sidebar always minified. I want only a sidebar with only the icons and the full information showing up only when hovering with the mouse.
I don't have a reproductive example, but I have some images to better clarify my question.
I cant have this kind of sidebar [1] [1]: https://i.sstatic.net/o6QMN.png
Only this kind [2] [2]: https://i.sstatic.net/YJuBV.png
I tried to remove the "hamburguer" icon so the client can't maximize the bar, but it makes the dash unusable in small screens.
Upvotes: 0
Views: 78