Back to Marimo

Layouts 📽️

examples/layouts/README.md

0.23.51.1 KB
Original Source

Layouts 📽️

These examples show how to use marimo's built-in features for laying out notebooks in interesting ways, such as presenting notebooks as slides, adding sidebars, and arranging cells into columns while editing.

[!TIP] Submit a pull request to add an example!

Running examples

The requirements of each notebook are serialized in them as a top-level comment. Here are the steps to open an example notebook:

  1. Install uv
  2. Open an example with uvx marimo edit --sandbox <notebook-url>

[!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, in which case you'll need to manually install marimo first. Then run marimo edit <notebook-url>; however, you'll also need to install the requirements yourself.