You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see sphinx-design ships something called dropdowns, but they seem to be what (at least Bootstrap) calls accordions (I am no UI developer, in case my ignorance needed revealing!).
I'm looking instead for dropdowns of the menu kind, where selecting an option changes what content you see -- i.e. a "souped up" version of tabs for when you have too many tab headings and don't want to display 20 of them next to each other to decide which content to show.
Instead I'd like a <select> where depending on which element is selected you get a different "tab" shown.
Filing this to hear what you think, thanks for the plugin!
Proposal
Add a .. select:: directive which shows one of N possible content tabs, corresponding to N options in a dropdown menu.
Additional "nice-to-have" would be if there was a way to have the dropdown be globally selectable -- i.e. if in one place on the page someone could select one of the N options, and that selection affected all of the selectable widgets on the page (think something like someone selects in one place on the page which programming language they want to see examples shown in, and then all the examples blocks on the page should sync to that selected language).
Closing as out of scope after the triage in #265: menu-style dropdowns are interactive navigation widgets rather than content components, and keeping this extension CSS-first (no JS-driven widgets beyond tab sync) is a deliberate constraint — nav menus are better served at the theme level. Related consolation: an accordion grouping for the existing dropdowns is planned (zero-JS via native <details name=…>), see #265 §5. Thanks for the suggestion and the clear write-up of the distinction!
Activity
chrisjsewell commentedon Jul 12, 2026
Closing as out of scope after the triage in #265: menu-style dropdowns are interactive navigation widgets rather than content components, and keeping this extension CSS-first (no JS-driven widgets beyond tab sync) is a deliberate constraint — nav menus are better served at the theme level. Related consolation: an
accordiongrouping for the existing dropdowns is planned (zero-JS via native<details name=…>), see #265 §5. Thanks for the suggestion and the clear write-up of the distinction!