sphinx-inline-tabs
Add inline tabbed content to your Sphinx documentation.
What it is and what it does
sphinx-inline-tabs is a Sphinx extension that lets you embed tabbed content directly in your documentation markup. Once installed and added to your Sphinx conf.py extensions list, you can write inline tab blocks that render as interactive tab groups in the final HTML output. Tabs with matching labels automatically synchronize across the page—clicking one updates all others with the same label.
The extension is designed for minimal markup footprint and visual polish. All colors are configurable via CSS variables, making it easy to match your documentation theme. With active maintenance, MIT licensing, and a straightforward one-dependency install, it's a practical choice for documentation projects that need organized, space-efficient content presentation.
Use it for:
- Present code examples in multiple languages with synchronized tabs so readers see all variants at once.
- Document platform-specific instructions (Windows, macOS, Linux) in a single page with tab switching.
- Show different configuration options side-by-side without duplicating surrounding text.
- Organize API documentation by language or framework variant in a compact, navigable format.
- Create tabbed installation or setup guides that adapt to user choice.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds tabbed content blocks to Sphinx documentation with optional synchronization across pages.
Yes. Low install friction, active maintenance, MIT license, no known vulnerabilities, and a focused feature set make this a safe, practical addition to any Sphinx documentation project that would benefit from tabbed content organization.
Install
sphinx-inline-tabs on PyPI
pip
pip install sphinx-inline-tabsuv
uv add sphinx-inline-tabspoetry
poetry add sphinx-inline-tabsInstalling sphinx-inline-tabs
Before you install
Low friction install with a single runtime dependency on sphinx. Active maintenance with recent release and ongoing repository activity.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install sphinx-inline-tabs
Then add to conf.py:
extensions = [
"sphinx_inline_tabs",
]
Requires Python >=3.8 and an existing Sphinx documentation project.
Verify before relying
- Whether JavaScript is truly optional for all use cases or only for the synchronization feature
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — sphinx |
| Maintenance | actively maintained — 236 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 299,689/month — #7,855 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sphinx_inline_tabs-2025.12.21.14-py3-none-any.whl
Tags
More Sphinx packages
Parses Python docstrings in ReST, Google,…
permissive · top 1,000 on PyPI
SphinxSphinx generates professional documentation…
permissive · top 1,000 on PyPI
sphinxcontrib-serializinghtmlA Sphinx extension that outputs documentation…
permissive · top 1,000 on PyPI
alabasterAlabaster is a clean, responsive Sphinx theme…
permissive · top 1,000 on PyPI
sphinxcontrib-htmlhelpA Sphinx extension that generates HTML help…
permissive · top 1,000 on PyPI
sphinxcontrib-qthelpA Sphinx extension that converts documentation…
permissive · top 1,000 on PyPI
sphinx-tabsA Sphinx extension that adds tabbed content…
permissive · top 5,000 on PyPI
sphinx-panelsA Sphinx extension that adds directives for…
permissive · top 15,000 on PyPI
sphinx_tippyAdds interactive tooltips to Sphinx…
permissive · top 15,000 on PyPI
sphinx_designA Sphinx extension that adds responsive web…
permissive · top 5,000 on PyPI
sphinx-data-viewerAdds an interactive data viewer to Sphinx…
permissive · top 15,000 on PyPI
pymdown-extensionsPymdown Extensions provides a collection of…
permissive · top 1,000 on PyPI
sphinx-substitution-extensionsAdds substitution support to Sphinx directives,…
permissive · top 15,000 on PyPI
sphinx-copybuttonA Sphinx extension that adds a copy button to…
permissive · top 5,000 on PyPI
sphinxcontrib-confluencebuilderSphinx extension that converts reStructuredText…
permissive · top 15,000 on PyPI