UI: Components
Menu
Used here with modifier --stretch
.
The menu works without JavaScript, if using <details>
-tags for dropdown-panels.
For a better user-experienece (click-outside, keyboard-navigation, auto-collapse), use custom element <ui-details>
with a small script.
Or use this version, using <input type="radio">
-tags to control the panels.