Skip to content

Latest commit

 

History

History
 
 

ui

UI 🖱️

These examples showcase how to use marimo's built-in UI elements.

Tip

New to marimo? Run marimo tutorial intro and marimo tutorial ui at the command line first!

Looking for examples on making chatbots? Check out the ai/chat examples folder.

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