This folder contains example marimo notebooks.
- 🖱️
ui/
: marimo's many UI elements or widgets - 🛢️
sql/
: using marimo's SQL cells - 📽️
layouts/
: present notebooks as slides, add sidebars, and more - 🤖
ai/
: AI-related examples - 📦
third_party/
: using popular third-party packages in marimo - ☁️
cloud/
: using various cloud providers - 🧩
frameworks/
: integrating with different frameworks (web/ASGI) - ✨
misc/
: miscellaneous topical examples
Tip
New to marimo? Run marimo tutorial ui
at the command line first!
Note
Submit a
pull request to add an example!
We especially welcome library developers to add examples to third_party/
.
The requirements of each notebook are serialized in them as a top-level comment. Here are the steps to open an example notebook:
- Install marimo
- Install
uv
- Open an example with
marimo edit --sandbox <notebook-url>
.
For example:
marimo edit --sandbox https://github.com/marimo-team/marimo/blob/main/examples/ui/reactive_plots.py
Tip
The --sandbox
flag opens the notebook in an isolated virtual environment,
automatically installing the notebook's dependencies 📦
You can also open notebooks without uv
, with just marimo edit <notebook.py>
;
however, you'll need to install the requirements yourself.
Every week, we highlight stellar examples and projects from our community. Check them out at our marimo spotlights repo!