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.

452 B
Raw Blame

Callout

/// marimo-embed

@app.cell
def __():
    callout_kind = mo.ui.dropdown(
        label="Color",
        options=["info", "neutral", "danger", "warn", "success"],
        value="neutral",
    )
    return

@app.cell
def __():
    callout = mo.callout("This is a callout", kind=callout_kind.value)
    return

@app.cell
def __():
    mo.vstack([callout_kind, callout], align="stretch", gap=0)
    return

///

::: marimo.callout