0

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 don't want a full sidebar the side of a minified one, either. In this way the tab name gets weird.

I want a sidebar that shows only the icon, has about 50px of width and show up the tab name when you hover the mouse over it in a nice way with a visible background, so anyone can read the tab name.

  • I don't understand the requirement. What is meant by " I don't want a full sidebar the side of a minified one, either". Also, add a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) and clarify how the expected output shall look like. – Jan Aug 10 '23 at 19:27

0 Answers0