Skip to content

Add options to customize sidebar collapse icon and location #598

@asbates

Description

@asbates

It would be great if we could change the look and location of the collapse icon for sidebars. More specifically I think it would be good if we could

  • change the icon
  • change the location of the icon

Maybe the sidebar could have an argument icon similar to many Shiny components. For the location, I think options of 'top', 'middle', and 'bottom' would suit most people's needs.

Example usage:

layout_sidebar(
  sidebar = sidebar("Sidebar"),
  icon = icon("bars"),
  icon_position = "top",
  "Main contents"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions