Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Boolean checkbox input
mo.ui.checkbox( value: bool = False, *, label: str = "", disabled: bool = False, on_change: Callable[[bool], None] | None = None )
import marimo as mo # Basic checkbox agree = mo.ui.checkbox(label="I agree to the terms") agree
# Use the value if agree.value: mo.md("Thank you for agreeing!")
# Multiple checkboxes options = mo.md( f""" Select your preferences: {mo.ui.checkbox(label="Email notifications")} {mo.ui.checkbox(label="SMS alerts")} {mo.ui.checkbox(label="Newsletter")} """ )