Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Examples

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/.

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 marimo
  2. Install uv
  3. 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.

More examples 🌟

Every week, we highlight stellar examples and projects from our community. Check them out at our marimo spotlights repo!

Morty Proxy This is a proxified and sanitized view of the page, visit original site.