Bootstrap

The world's most popular front-end framework for building responsive, mobile-first sites

Framework
npm
v5.3.8
175,005 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
98 /100 Excellent
Development Activity 100
Maintenance 96
Community 96
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
84 /100 Excellent
Architecture 85
Code Quality 82
Innovation 80
Learning Curve 90

Bootstrap is an open-source CSS and JavaScript framework created by Mark Otto and Jacob Thornton at Twitter and now maintained by a broad community of contributors. It bundles a responsive 12-column grid system, a comprehensive set of prebuilt UI components (navbars, modals, dropdowns, carousels, forms, cards), and vanilla-JS plugins for interactive behavior, all built on top of a Sass source that teams can customize via variables and mixins rather than overriding compiled CSS.

Since its 2011 release Bootstrap has become the default starting point for countless websites and internal tools, prized for letting small teams ship consistent, cross-browser, accessible-by-default interfaces without writing layout CSS from scratch. Version 5 dropped the jQuery dependency in favor of plain JavaScript, added RTL support, and introduced CSS custom properties throughout, keeping the framework relevant even as component-based JS frameworks have become dominant.

What You Get

  • A responsive, mobile-first 12-column grid system with breakpoint-aware utility classes for layout, spacing, and display
  • Dozens of prebuilt, accessible UI components: navbars, modals, offcanvas panels, dropdowns, carousels, accordions, tooltips, popovers, toasts, and forms
  • A dependency-free JavaScript plugin layer (no jQuery required since v5) with a consistent data-API and programmatic JS API for every interactive component
  • A Sass source tree of variables, functions, and mixins for theming colors, spacing, typography, and breakpoints without overriding compiled output
  • Built-in RTL (right-to-left) language support and dark-mode-ready CSS custom properties via data-bs-theme
  • Official Autoprefixer-processed, cross-browser-tested CSS covering all evergreen browsers plus legacy fallbacks

Common Use Cases

  • Standing up a production-ready marketing site or admin dashboard quickly without hand-writing layout and component CSS
  • Prototyping internal tools and MVPs where consistent, accessible UI matters more than a fully custom design system
  • Adding a responsive grid and component library to server-rendered apps (Rails, Django, Laravel, PHP) that don’t use a JS component framework
  • Building a custom design system by overriding Bootstrap’s Sass variables and maps rather than starting layout/typography from zero
  • Retrofitting legacy multi-page sites with consistent, mobile-friendly navigation, forms, and modals

Under The Hood

Architecture Bootstrap is split into two independent build pipelines that share only naming conventions: a Sass source tree (scss/) of partials (_grid.scss, _buttons.scss, _forms.scss, _reboot.scss, _root.scss for CSS custom properties) assembled by scss/bootstrap.scss and compiled via Dart Sass into dist/css/, and a JavaScript source tree (js/src/) of one ES module per component (modal.js, dropdown.js, carousel.js, tooltip.js, etc.) that each extend a shared BaseComponent class from base-component.js, which itself extends a Config class handling option merging, type-checking, and instance registration via dom/data.js. Rollup bundles the JS modules into standalone, ESM, and jQuery-free bootstrap.bundle.js variants under dist/js/. Components communicate with markup purely through data-bs-* attributes and a namespaced custom-event system (EventHandler in dom/event-handler.js), so the grid/CSS layer and the JS behavior layer are fully decoupled — either can be used without the other.

Tech Stack The CSS pipeline runs on Dart Sass with PostCSS/Autoprefixer for vendor prefixing and a custom RTLCSS step for right-to-left builds, then Clean-CSS for minification with source maps. The JS pipeline is plain ES2015+ modules (no framework, no jQuery dependency since v5) bundled with Rollup and minified with Terser; linting runs through ESLint and Stylelint. The documentation site (site/) is itself built with Astro and MDX, giving the project a real dogfooding testbed for its own components. Package management is npm with npm-run-all orchestrating dozens of granular build/lint/test scripts defined in package.json.

Code Quality The JS source has 27+ Karma/Jasmine spec files under js/tests/unit/, one per component plus shared utilities, exercising constructor options, public methods, and emitted events; CSS has its own Jasmine-based visual/functional test suite under scss/tests/. Code style is consistent and heavily commented with a repeated file-header banner, private methods prefixed with _, and static getters (NAME, DATA_KEY, EVENT_KEY) used to keep each component’s event namespace collision-free. Config’s _typeCheckConfig step gives every component light runtime validation of its options against a DefaultType map, an unusual amount of rigor for a CSS-first framework’s JS layer.

API Design Every interactive component follows one uniform pattern: a data-bs-toggle/data-bs-target markup convention for zero-JS usage, a new bootstrap.Modal(el, options) constructor for programmatic use, and static getInstance()/getOrCreateInstance() helpers to avoid re-initializing existing instances — this consistency is Bootstrap’s biggest developer-experience win, since learning one component’s API teaches you all of them. The tradeoff is verbose required markup structure per component (e.g., modals need a specific nested .modal > .modal-dialog > .modal-content skeleton) and a large Sass variable surface area that takes time to fully learn for deep customization, though the official docs and per-component examples make the common path very approachable.

Used by 25 apps in this directory

PHP
70%
AGPL 3.0

Pixelfed

Social Media

7,129

A decentralized, self-hosted photo sharing platform built on ActivityPub for the open Fediverse.

View details
94
Repo Health
68
Technical
66
Dependency
Built with
PHP 70%
Vue 21%
Updated 2 days ago
TypeScript
51%
ZLIB

Portainer

Devops

38,707

A lightweight, open-source web UI that puts Docker, Kubernetes, and Podman management within reach of any team—no CLI expertise required.

View details
93
Repo Health
79
Technical
65
Dependency
Built with
TypeScript 51%
Go 38%
Updated 2 days ago
Python
45%
Other

Redash

Analytics · Data Engineering

28,849

Redash lets anyone connect to 35+ SQL and NoSQL data sources, write a query in the browser, and turn the result into a shared dashboard — no separate BI suite required.

View details
91
Repo Health
74
Technical
61
Dependency
Built with
Python 45%
JavaScript 29%
TypeScript 19%
Updated 3 days ago
HTML
68%
AGPL 3.0

ToolJet

AI Agents · Low Code Platforms · No Code Platforms

41,123

Open-source AI-native platform to build and deploy internal tools, workflows, and AI agents with a visual drag-and-drop builder and 80+ data source integrations.

View details
94
Repo Health
81
Technical
63
Dependency
Built with
HTML 68%
JavaScript 20%
Updated yesterday
JavaScript
56%
MIT

Uptime Kuma

Monitoring

92,816

Self-hosted monitoring for every service you run — 23 monitor types, 95 notification channels, live dashboards, and public status pages with no vendor lock-in.

View details
92
Repo Health
81
Technical
62
Dependency
Built with
JavaScript 56%
Vue 41%
Updated yesterday
Python
92%
GPL 3.0

Weblate

Developer Tools

6,124

Continuous localization platform that commits translations directly into your version control system with full translator attribution.

View details
95
Repo Health
86
Technical
67
Dependency
Built with
Python 92%
Updated yesterday
PHP
71%
MIT

Yaffa

Invoicing Finance

112

Self-hosted personal finance app for long-term financial planning with AI-powered transaction parsing and investment tracking.

View details
80
Repo Health
78
Technical
67
Dependency
Built with
PHP 71%
Vue 24%
Updated 2 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers