Layouts#

marimo has higher-order layout elements. Unlike elements in marimo.ui, these don’t have any values associated with them but just render their children in a certain way.

marimo.accordion

Accordion of one or more items.

marimo.callout

Build a callout output.

marimo.center

Center an item.

marimo.hstack

Stack items horizontally, in a row.

marimo.left

Left-justify an item.

marimo.right

Right-justify an item.

marimo.vstack

Stack items vertically, in a column.

marimo.tabs

Tabs of UI elements.

marimo.tree

Render a nested structure of lists, tuples, or dicts as a tree.