rstudio / rstudio/bslib

Sidebar navigation

Open
#585 14 comments 25 reactions 1 assignee View on GitHub

@gadenbuie is already working on this.

Since Jun 3, 2023.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

The underlying component-level API could be something like:

page_fillable(
  navset_sidebar(
    nav_panel("A", "a"),
    nav_panel("B", "b")
  )
)

And implementation wise could look quite similar to navset_pill_list() except uses layout_sidebar() for the layout. We'd also have to face a tough decision on whether to support nav_menu() (i.e., dropdowns) in this context, or maybe introduce something more general, like nav_group(), which would maybe avoid collapsing altogether)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.