API Reference#

Use the marimo library in marimo notebooks (import marimo as mo) to connect interactive components like sliders, dropdowns, and tables to Python, layout information with tabs or grids, output media like images and audio, express yourself with dynamically created markdown (parametrized by Python values!), and more.

Markdown

Write markdown with mo.md

Inputs

Connect sliders, dropdowns, tables, and more to Python

Layouts

Customize outputs with accordions, tabs, stacks, and more

Media

Output media like images, audio, and PDFs

HTML

Manipulate HTML objects

Control flow

Control how cells execute

State

Make stateful apps with mo.state

Debugging

Debugging utilities