--- id: dash-bootstrap-templates version: "2.1.0" license: MIT license_treatment: permissive maintenance: aging --- # dash-bootstrap-templates — A collection of Plotly figure templates with a Bootstrap theme License: permissive · Maintenance: aging · Downloads: 84.4K/mo ## 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 above — 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 pip install dash-bootstrap-templates uv add dash-bootstrap-templates poetry add dash-bootstrap-templates ## Installing 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: unspecified - Install friction: low - Maintenance: aging - Downloads: 84.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags bootstrap plotly templates, dash theme switcher, plotly figure styling, bootstrap dash components, dark mode plotly charts, dash bootstrap themes, plotly template library, plotly-templates, dash-theming, bootstrap-styling [View on SkillFed](https://skillfed.io/packages/dash-bootstrap-templates) · [View on PyPI](https://pypi.org/project/dash-bootstrap-templates/)