Skip to content

Configurable toolbar in iframe #9429

@AurumnPegasus

Description

@AurumnPegasus

Description

When marimo is embedded in an iframe in edit mode with show-chrome=false, the main marimo chrome is hidden, but the inline add-cell toolbar still appears between cells. This toolbar includes actions such as Python, SQL, and "Generate with AI".

For embedded/hosted use cases, it would be useful if this toolbar were configurable through supported marimo configuration or URL parameters.

Image

I am embedding marimo inside another application using an iframe:

http://localhost:<port>/?access_token=<token>&show-chrome=false

Desired behavior
Add supported configuration for the add-cell toolbar, for example:

  [tool.marimo.ui]
  add_cell_actions = ["python"]

  or:

  [tool.marimo.ui]
  disabled_features = ["ai", "sql"]

Alternatively, this could be exposed as an iframe/edit URL option, such as:

?show-chrome=false&add-cell-actions=python

Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)

  • Yes

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions