Sidebar¶
marimo.sidebar
¶
Bases: ContainerHtml
An Html object that displays content in a sidebar.
This is a special layout component that will display the content in a sidebar layout, rather than below/above the cell.
This component still needs to be the last expression in the cell, in order to display correctly.
You may use more than one mo.sidebar - they will be displayed in the
order they are called.
Examples:
| PARAMETER | DESCRIPTION |
|---|---|
item
|
The content to display in the sidebar.
TYPE:
|
footer
|
The content to display at the bottom of the sidebar.
TYPE:
|
width
|
The width of the sidebar when open. Can be any valid CSS width value (e.g. "300px", "20rem"). If not provided, defaults to the standard width.
TYPE:
|