Skip to content

Getting started

1. Pick the minimum install for your case

See the install wizard for the full case-by-case picker. The shortest possible setup:

Terminal window
pnpm add @jupyter-kit/react @jupyter-kit/theme-default
import { Notebook } from '@jupyter-kit/react';
import { python } from '@jupyter-kit/core/langs/python';
import notebook from './example.ipynb.json';
import '@jupyter-kit/theme-default/default.css';
import '@jupyter-kit/theme-default/syntax/one-dark.css';
export default function App() {
return (
<Notebook
ipynb={notebook}
language="python"
languages={[python]}
/>
);
}

That’s it. The notebook renders with syntax highlighting, markdown, images, and Jupyter-style output formatting.

2. Add things as you need them

None of these are required. Pull them in only when you actually use the feature.