Skip to main content

jupyterlab-cell-navigation-rail

Build Binder

An opt-in, compact left-margin Cell Navigation Rail for JupyterLab 4 and Jupyter Notebook 7.

Try it online with Binder in JupyterLab or Jupyter Notebook 7.

Each cell in the notebook is represented by a uniform horizontal bar in a fixed-height rail on the left edge, inspired by margin bookmark indicators in ePub readers and compact overview rails. Hovering a bar previews the cell (code, Markdown, or error traceback) with native Jupyter typography, and clicking jumps straight to that cell.

Motivation

Navigating long notebooks to revisit a cell or spot failed runs usually means scrolling through the document or opening a side panel. Existing tools solve adjacent problems:

  • Table of Contents requires Markdown headings and opens a sidebar.
  • Show Minimap (View -> Appearance -> Show Minimap) shows a scrollable strip of scaled cell source previews along the right scrollbar.

Cell Navigation Rail focuses on a minimal, fixed-height glanceable margin rail:

  • Opt-in by default (default: false): Disabled until enabled in the View menu or Settings.
  • Uniform horizontal bars (14px x 2px): Neutral for idle cells, brand blue for the active cell, pulsing warning accent while running, and red when a cell output contains an error.
  • Hover preview tooltips: Previews cell code, Markdown text, or error messages using native JupyterLab tokens (--jp-cell-editor-*, --jp-content-font-*, --jp-rendermime-error-background).
  • One-click jump: Selecting any bar scrolls to and focuses that cell.
  • Works in JupyterLab 4 and Jupyter Notebook 7.

Screenshots

Light Theme — View Menu & Error Preview

View menu toggle

Light theme rail and error preview

Dark Theme & Native Token Adaptation

Dark theme rail and error preview

Comparison with Built-in Minimap

Cell Navigation Rail (compact fixed-height bars + hover preview on the left) alongside JupyterLab's scrollable code Minimap (on the right):

Navigation rail vs built-in minimap

Jupyter Notebook 7

Jupyter Notebook 7 navigation rail

Requirements

  • Python >= 3.10
  • JupyterLab >= 4.0.0 (or Jupyter Notebook >= 7.0.0)

Install

Install directly from GitHub:

pip install "git+https://github.com/saitejagirada/jupyterlab-cell-navigation-rail.git"

Usage

Toggle the rail from:

  • View -> Show Cell Navigation Rail
  • Command Palette: Show Cell Navigation Rail
  • Settings Editor: Cell Navigation Rail -> Show cell navigation rail

Development install

git clone https://github.com/saitejagirada/jupyterlab-cell-navigation-rail.git
cd jupyterlab-cell-navigation-rail

pip install -e .
jupyter labextension develop . --overwrite

Rebuild TypeScript and run checks:

jlpm
jlpm run lint:check
jlpm run test
jlpm build

Uninstall

pip uninstall jupyterlab-cell-navigation-rail

Metadata

Release files for jupyterlab-cell-navigation-rail 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-cell-navigation-rail 0.1.0
File Size Uploaded Provenance Actions
jupyterlab_cell_navigation_rail-0.1.0.tar.gz 143.3 kB With provenance Details for jupyterlab_cell_navigation_rail-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-cell-navigation-rail 0.1.0
File Interpreter ABI Platform Actions
jupyterlab_cell_navigation_rail-0.1.0-py3-none-any.whl Python 3 none any Details for jupyterlab_cell_navigation_rail-0.1.0-py3-none-any.whl

Total release size: 166.7 kB

Release files / jupyterlab_cell_navigation_rail-0.1.0.tar.gz

Download URL jupyterlab_cell_navigation_rail-0.1.0.tar.gz
Size 143.3 kB
Tags Source
SHA-256 checksum
How to use checksums
da43271a61397edd0ff74143fce6d44c4bc4c2d3d8f638fb6937d8e53a502259
BLAKE2b-256 checksum
How to use checksums
2a53bdda8fe32c01cd2b439b627c0293d0175033246330d793daf3ee848688d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / jupyterlab_cell_navigation_rail-0.1.0-py3-none-any.whl

Download URL jupyterlab_cell_navigation_rail-0.1.0-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60e6b5e5313326211a0bdfcd79d13f53733bbf0e301f0292a99d41f06fe6d6f0
BLAKE2b-256 checksum
How to use checksums
fcf9b04c0831644ad6b29f0fa2eb353522e24de6b7a1b6e7469f223e77683c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for jupyterlab-cell-navigation-rail 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jupyterlab_cell_navigation_rail-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page