Examples¶
Runnable marimo notebooks are in the examples folder of the repository.
Each notebook wraps the same three widgets:
- a counter
- a form with a text, a number, a flag, and a list
Slider2Dfrom wigglystuff
Run one¶
Clone the repository, then from its root:
uv sync
uv run marimo edit examples/persisted/files.py
Persisted¶
| Notebook | Where the state lives |
|---|---|
| persisted/files.py | JSON files, with the built-in JsonFileStore |
| persisted/query_params.py | The URL, with a store written in the notebook |
| persisted/sqlite.py | A SQLite database, with a store written in the notebook |

Trrackable¶
| Notebook | Where the history lives |
|---|---|
| trrackable/files.py | JSON files, with the built-in JsonFileStore |
| trrackable/sqlite.py | A SQLite database, with a store written in the notebook |
