dash-bootstrap-components
Bootstrap themed components for use in Plotly Dash
What it is and what it does
dash-bootstrap-components wraps Bootstrap v5 into reusable Python components for Plotly Dash, eliminating the need to write HTML or CSS by hand when building web dashboards. It provides layout primitives (containers, rows, columns), navigation elements (navbars, breadcrumbs), and UI controls (cards, alerts, buttons, modals) that integrate directly into Dash's declarative layout system. The library does not bundle CSS; instead, it expects you to link a Bootstrap v5 stylesheet yourself, giving you freedom to choose themes or customize styling.
Typical workflow: import the library, pass a Bootstrap theme URL to your Dash app's external_stylesheets, then compose your layout using dbc components instead of raw html.Div. It has one runtime dependency on dash and supports Python 3.9 through 3.13. The package is maintained by the Dash community as of 2025 and carries no known vulnerabilities.
Use it for:
- Build a multi-page dashboard with responsive grid layouts and navigation without writing HTML.
- Add styled modals, alerts, and form components to a Dash app for consistent UI.
- Create a mobile-friendly admin panel using Bootstrap's responsive column system.
- Quickly prototype a data visualization dashboard with pre-styled cards and containers.
- Integrate navbar and breadcrumb navigation into a Dash application with minimal code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Bootstrap v5 components for Plotly Dash to build consistently styled, responsive web app layouts without writing raw HTML or CSS.
Yes. It is a well-established, low-friction library with permissive licensing and no known security issues. Install it if you are building a Dash app and want Bootstrap styling without writing HTML. The aging maintenance status is a minor concern but not a blocker, as the repository remains active and the library is stable for its intended use.
Install
dash-bootstrap-components on PyPI
pip
pip install dash-bootstrap-componentsuv
uv add dash-bootstrap-componentspoetry
poetry add dash-bootstrap-componentsInstalling dash-bootstrap-components
Before you install
Low install friction with a single pure-Python dependency on dash. Maintenance status is aging—last release was 359 days ago—but repository remains active with recent commits and community stewardship since 2025.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and note any modifications you make.
Quickstart
pip install dash-bootstrap-components
import dash
import dash_bootstrap_components as dbc
app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP])
app.layout = dbc.Container([dbc.Row([dbc.Col("Hello World")])])
You must link a Bootstrap v5 compatible stylesheet (via external_stylesheets or your own CSS) for components to render with styling.
Verify before relying
- Whether the 359-day release gap indicates ongoing maintenance or dormancy relative to dash's own release cycle.
- Compatibility with specific dash versions beyond the Python version support listed.
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — dash |
| Maintenance | aging — 359 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,741,048/month — #2,911 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dash_bootstrap_components-2.0.4-py3-none-any.whl
Tags
More Dynamic Content packages
MarkupSafe provides a text object that escapes…
permissive · top 100 on PyPI
Jinja2Jinja2 is a templating engine that renders…
permissive · top 100 on PyPI
soupsieveSoupsieve is a CSS selector library designed to…
permissive · top 100 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
MakoMako compiles Python-embedded templates into…
permissive · top 1,000 on PyPI
dash-bootstrap-templatesProvides Bootstrap-themed Plotly figure…
permissive · top 15,000 on PyPI
dash-core-componentsProvides a suite of React components for…
permissive · top 5,000 on PyPI
dash-mantine-componentsDash Mantine Components provides a library of…
permissive · top 15,000 on PyPI
dash-html-componentsProvides vanilla HTML components for use in…
permissive · top 5,000 on PyPI
dash-tableProvides an interactive DataTable component for…
permissive · top 5,000 on PyPI
dashDash is a Python framework for building…
permissive · top 5,000 on PyPI
stretchablestretchable is a Python layout engine that…
permissive · top 15,000 on PyPI
dash-cytoscapeDash Cytoscape wraps Cytoscape.js to let you…
permissive · top 15,000 on PyPI
jupyter-dashJupyter Dash lets you develop and run Plotly…
permissive · top 15,000 on PyPI
panel-material-uiPanel Material UI brings Material Design…
permissive · top 5,000 on PyPI