Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

311 B
Raw Blame

Multiselect

/// marimo-embed

@app.cell
def __():
    options = ["Apples", "Oranges", "Pears"]
    multiselect = mo.ui.multiselect(options=options)
    return

@app.cell
def __():
    mo.hstack([multiselect, mo.md(f"Has value: {multiselect.value}")])
    return

///

::: marimo.ui.multiselect