Navigation Menu¶
marimo.nav_menu
¶
nav_menu(
menu: dict[str, JSONType],
*,
orientation: Literal[
"horizontal", "vertical"
] = "horizontal",
) -> Html
Navigation menu component.
This is useful for creating a navigation menu with hyperlinks,
most used when creating multi-page applications, with
marimo.create_asgi_app (docs).
| PARAMETER | DESCRIPTION |
|---|---|
menu
|
a dictionary of tab names to tab content; the content can also be nested dictionaries (one level deep) strings are interpreted as markdown
TYPE:
|
orientation
|
The orientation of the menu.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Html
|
An |