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.

253 B
Raw Blame

Number

/// marimo-embed

@app.cell
def __():
    number = mo.ui.number(start=1, stop=20, label="Number")
    return

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

///

::: marimo.ui.number