VerticalMenu
Group navigation links in a vertical list with expandable sections.
Basic usage
Use Item for pages and Branch for expandable groups. Set current from the active route and keep real destinations in href.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
Root.variant | plain | surface | plain |
Root.density | comfortable | compact | comfortable |
Link.href | string | — |
Link.current | boolean | false |
Branch.defaultOpen | boolean | false |