Menu
Navigation with one current item, optional section titles and optional nested groups. It owns its frame, unlike navbar and dock, which are placement only.
| Class | Effect | Type |
|---|---|---|
.menu | Navigation with one current item, optional section titles and optional nested groups. It owns its frame, unlike navbar and dock, which are placement only. | root |
.menu-horizontal | Sets direction, one class per value. | axis direction |
.menu-xs.menu-sm.menu-md.menu-lg.menu-xl | Sets size, one class per value. | axis size |
.menu-active | Where the visitor currently is. | part |
.menu-disabled | Unreachable, and drawn as such. | part |
.menu-item | One row. The component draws it as an <a> when the node has an href, a <button> otherwise. | part |
.menu-sub | The nested group itself. | part |
.menu-sub-closed | Collapsed. The animation is in the CSS; the component only swaps the class. | part |
.menu-title | A section heading between two groups. An empty <li> is a divider. | part |
.menu-toggle | A row that carries a nested group, and therefore opens it. | part |