Bootstrap

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

Framework
npm
v5.3.8
174,610stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
98/100Excellent
Development Activity100
Maintenance96
Community96
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
84/100Excellent
Architecture85
Code Quality82
Innovation80
Learning Curve90

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 26 apps in this directory

Go
60%
Apache 2.0

Apache Answer

Community

15,652

Open-source Q&A platform for communities, help centers, and knowledge bases with AI assistant and plugin extensibility

View details
85
Repo Health
78
Technical
69
Dependency
Built with
Go60%
TypeScript36%
Updated 2 days ago
Go
86%
Apache 2.0

Authelia

Security · Authentication

28,626

OpenID Certified SSO and MFA portal for securing self-hosted web applications behind reverse proxies.

View details
91
Repo Health
81
Technical
77
Dependency
Built with
Go86%
TypeScript12%
Updated today
C#
83%
Other

Bitwarden Server

Password Manager · Security

19,899

Self-hosted, open-source password management backend with zero-knowledge encryption and enterprise-grade identity services

View details
93
Repo Health
82
Technical
82
Dependency
Built with
C#83%
TSQL10%
Updated today
Go
52%
MIT

Bytebase

Devops

14,396

An open-source database CI/CD and DevSecOps platform — schema migration review, GitOps-driven changes, data masking, and access control across MySQL, PostgreSQL, Oracle, Snowflake, MongoDB, and more.

View details
92
Repo Health
73
Technical
69
Dependency
Built with
Go52%
TypeScript39%
Updated today
TypeScript
45%
Other

Convex Backend

Developer Tools · Databases

12,394

Open-source reactive database that lets developers build live-updating apps with pure TypeScript, strong consistency, and real-time subscriptions—no separate API layer required.

View details
88
Repo Health
82
Technical
70
Dependency
Built with
TypeScript45%
Rust43%
Updated today
Shell
48%
MIT

Dokku

Devops · Hosting Control Panel

32,105

The smallest PaaS implementation you've ever seen — deploy apps via git push using Docker and Heroku buildpacks on your own server.

View details
93
Repo Health
85
Technical
75
Dependency
Built with
Shell48%
Go48%
Updated today
PHP
66%
AGPL 3.0

EspoCRM

Marketing · Ecommerce · CRM

3,259

Open-source CRM platform with metadata-driven customization, field-level permissions, and a full REST API — deploy on your own infrastructure.

View details
97
Repo Health
72
Technical
64
Dependency
Built with
PHP66%
JavaScript24%
Updated yesterday
Python
64%
BSD 3

Flagsmith

Developer Tools · Devops · Ab Testing Experimentation

6,518

Open-source feature flagging, remote config, and A/B/multivariate testing platform for web, mobile, and server-side apps — self-host or use the hosted SaaS.

View details
91
Repo Health
82
Technical
65
Dependency
Built with
Python64%
TypeScript31%
Updated today
TypeScript
74%
AGPL 3.0

Ghostfolio

Invoicing Finance

9,153

Track your stocks, ETFs, and crypto with a privacy-first, self-hostable wealth management platform built for data-driven investors.

View details
93
Repo Health
79
Technical
71
Dependency
Built with
TypeScript74%
HTML23%
Updated yesterday

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

Search