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

TypeScript
98%
Other

GrowthBook

Ab Testing Experimentation · Analytics · Developer Tools

8,527

Open source feature flags, A/B testing, and warehouse-native experimentation that queries your existing data infrastructure—no data movement required.

View details
92
Repo Health
85
Technical
63
Dependency
Built with
TypeScript 98%
Updated yesterday
Java
56%
Apache 2.0

Kestra

Automation · Data Engineering · Devops

29,967

Event-driven orchestration platform for data, AI, and infrastructure workflows — define everything in YAML, run anywhere at scale.

View details
94
Repo Health
81
Technical
69
Dependency
Built with
Java 56%
TypeScript 29%
Vue 14%
Updated 2 days ago
PHP
87%
AGPL 3.0

Kimai

Invoicing Finance · Project Management

5,095

Professional open-source time tracking with invoicing, multi-user support, SAML/LDAP auth, and a full REST API—self-host it or use the cloud.

View details
94
Repo Health
78
Technical
64
Dependency
Built with
PHP 87%
Updated yesterday
JavaScript
42%
Other

LimeSurvey

Forms Surveys

3,778

The world's most flexible open-source survey platform with 900+ templates, conditional logic, 80+ languages, and full GDPR compliance for any scale.

View details
86
Repo Health
62
Technical
62
Dependency
Built with
JavaScript 42%
PHP 36%
CSS 12%
Updated yesterday
TypeScript
51%
Other

Mattermost

Collaboration · Devops · Team Chat

39,418

Open core, self-hosted team collaboration with chat, AI agents, voice calling, and deep DevOps integrations — all under your control.

View details
96
Repo Health
87
Technical
65
Dependency
Built with
TypeScript 51%
Go 40%
Updated yesterday
JavaScript
88%
GPL 3.0

NodeBB

Community

15,242

Modern Node.js forum software with real-time WebSockets, multi-database support, and a plugin ecosystem — the community platform built for the open web and the Fediverse.

View details
97
Repo Health
78
Technical
70
Dependency
Built with
JavaScript 88%
Go Template 11%
Updated yesterday
JavaScript
64%
AGPL 3.0

overleaf

Collaboration · Productivity

18,266

Open-source, real-time collaborative LaTeX editor with sandboxed compilation and full TeXLive support for self-hosted academic and research teams.

View details
84
Repo Health
80
Technical
59
Dependency
Built with
JavaScript 64%
TypeScript 30%
Updated 1 months ago
Python
63%
GPL 3.0

Paperless-ngx

Bookmarks Archiving

47,038

Turn your paper pile into a searchable digital archive with OCR, AI classification, and automated workflows — all running on your own server.

View details
91
Repo Health
88
Technical
67
Dependency
Built with
Python 63%
TypeScript 28%
Updated yesterday
TypeScript
91%
AGPL 3.0

PeerTube

Social Media

15,362

A federated, ActivityPub-based video hosting platform built by Framasoft — self-hostable instances interconnect into a network with no vendor lock-in, P2P-assisted streaming, and no ads.

View details
96
Repo Health
75
Technical
66
Dependency
Built with
TypeScript 91%
Updated 1 weeks 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