skillfed

dash-bootstrap-components

Bootstrap themed components for use in Plotly Dash

dash-bootstrap-components v2.0.4 2.7M downloads/30d#2,911 on PyPI1,197
Permissive 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) AGING released

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-components

uv

uv add dash-bootstrap-components

poetry

poetry add dash-bootstrap-components

Installing 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

Framework :: DashLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

bootstrap components for dashdash responsive layoutsplotly dash ui componentsbootstrap themed dash appsdash layout stylingdash navbar cards alertsresponsive dash dashboard
dash-frameworkbootstrap-uiweb-dashboard

More Dynamic Content packages