dash-bootstrap-templates
A collection of Plotly figure templates with a Bootstrap theme
What it is and what it does
Dash Bootstrap Templates bridges the visual gap between Plotly figures and Bootstrap-themed Dash applications by providing pre-built figure templates that automatically apply Bootstrap color schemes and fonts. The package includes 54 themed templates (light and dark variants for each of 26 Bootstrap/Bootswatch themes, plus Vizro-based templates), two all-in-one components for theme switching within apps, and a CSS stylesheet that extends Bootstrap styling to Dash AG Grid, Dash Core Components, and DataTable.
The package is designed for developers building Dash applications who want cohesive theming across all UI elements without manual CSS work. It depends on dash, dash-bootstrap-components, plotly, and importlib utilities. The figure templates can be used standalone with any Plotly chart, independent of Dash or Dash Bootstrap Components, though full component theming requires Dash Bootstrap Components >= 1.0.0.
Use it for:
- Apply consistent Bootstrap theme colors to Plotly scatter, bar, and line charts without writing custom CSS or template JSON.
- Build a Dash app with a theme switcher that toggles between light and dark modes for both layout and all embedded figures.
- Style Dash AG Grid and DataTable components to match a selected Bootstrap theme automatically via the dbc.css stylesheet.
- Create multi-theme demo or template explorer apps where users can preview how figures and components render across all available Bootstrap themes.
- Generate themed Plotly charts for reports or dashboards that must match an existing Bootstrap design system.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Bootstrap-themed Plotly figure templates and Dash components for applying consistent styling across Plotly charts, AG Grid, and Dash DataTable within Bootstrap-based Dash applications.
Yes, if you are building Dash applications with Plotly figures and want Bootstrap theming without manual styling. The package has low install friction, no known vulnerabilities, and permissive licensing. However, note the aging maintenance status—547 days since last release—so verify compatibility with your specific Plotly and Dash Bootstrap Components versions before adopting it in new projects.
Install
dash-bootstrap-templates on PyPI
pip
pip install dash-bootstrap-templatesuv
uv add dash-bootstrap-templatespoetry
poetry add dash-bootstrap-templatesInstalling dash-bootstrap-templates
Before you install
Low install friction with a pure Python wheel. Maintenance status is aging—last release was 547 days ago—but the repository remains active with recent commits and no archived status.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install dash-bootstrap-templates
from dash_bootstrap_templates import load_figure_template
import plotly.express as px
load_figure_template(["bootstrap", "darkly"])
fig = px.scatter(x=[1, 2, 3], y=[4, 5, 6], template="bootstrap")
fig.show()
Requires Plotly >= 6.0 for version 2.1.0; use version 1.3.0 if your project requires Plotly 5. ThemeChangerAIO and dbc.css stylesheet require Dash Bootstrap Components >= 1.0.0.
Verify before relying
- Whether the 54 templates mentioned in the description are all available in version 2.1.0 or if some are from earlier releases
- Performance impact of loading multiple figure templates simultaneously on app startup time
- Compatibility details with Plotly versions beyond the stated Plotly >= 6.0 requirement for v2.0.0+
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — dash, dash-bootstrap-components, importlib_metadata, importlib_resources, numpy, plotly |
| Maintenance | aging — 547 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 84,435/month — #13,996 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dash_bootstrap_templates-2.1.0-py3-none-any.whl
Tags
More Visualization packages
matplotlib creates static, animated, and…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
plotlyPlotly is an interactive, browser-based…
permissive · top 1,000 on PyPI
graphvizGenerates DOT language source code for graph…
permissive · top 1,000 on PyPI
streamlitStreamlit transforms Python scripts into…
permissive · top 1,000 on PyPI
leatherLeather is a lightweight Python charting…
permissive · top 1,000 on PyPI
dash-bootstrap-componentsProvides Bootstrap v5 components for Plotly…
permissive · top 5,000 on PyPI
shinyswatchProvides 25 Bootswatch + Bootstrap 5 themes for…
permissive · top 15,000 on PyPI
dash-svgProvides SVG component primitives (Svg, G,…
permissive · top 15,000 on PyPI
dash-ag-gridDash AG Grid wraps the AG Grid JavaScript…
permissive · top 5,000 on PyPI
dash-iconifyDash Iconify is a Dash component library that…
permissive · top 15,000 on PyPI
plotly-resamplerAdds dynamic data aggregation to Plotly…
permissive · top 15,000 on PyPI
dash-core-componentsProvides a suite of React components for…
permissive · top 5,000 on PyPI
dash-tableProvides an interactive DataTable component for…
permissive · top 5,000 on PyPI
dash-cytoscapeDash Cytoscape wraps Cytoscape.js to let you…
permissive · top 15,000 on PyPI
ttkbootstrapApplies Bootstrap-inspired themes and a…
permissive · top 15,000 on PyPI