Skip to main content

🪐 Cell Component

This component displays a Jupyter Cell.

With a Jupyter server

<Jupyter
jupyterServerUrl="https://oss.datalayer.run/api/jupyter-server"
jupyterServerToken="60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6"
>
<Cell />
</Jupyter>
Live Editor
Result
Loading...

With in-browser kernel

You can use an in-browser kernel by setting the lite property of Jupyter component:

<Jupyter
lite={true}
>
<Cell
source={`import sys
print(f"{sys.platform=}")

#...`}
/>
</Jupyter>