A utility-first CSS framework for building custom user interfaces directly in HTML and JSX with small single-purpose classes.
twbs/bootstrap
Popular front-end framework of HTML, CSS and Sass/JavaScript components for building responsive, mobile-first websites.
- Stars
- 175,003
- Forks
- 78,539
- Open issues
- 265
- Last commit
- 12 hours ago
What is it?
Bootstrap is a front-end framework for building responsive, mobile-first web pages. It ships a grid system, a set of reusable UI components such as navbars, modals, forms and cards, and utility classes for spacing, colour and layout, all written in CSS with optional JavaScript behaviour.
The distribution includes compiled and minified CSS and JS files, along with a Sass source tree for customising the framework through variables. Bundled JS builds include Floating UI and Vanilla Calendar Pro. CSS files support both left-to-right and right-to-left layouts through logical properties, so switching a page to RTL only requires setting dir="rtl".
This repository is the development branch for Bootstrap 6, currently at alpha. Bootstrap 5 source and docs live on the v5-dev branch. The framework can be installed via npm, Yarn, Bun, Composer, NuGet or downloaded directly.
Key features
- 01Responsive grid system and mobile-first breakpoints.
- 02Prebuilt components including navbars, modals, forms and cards.
- 03Utility classes for spacing, colour, and layout.
- 04Sass source for customising theme variables.
- 05CSS supports LTR and RTL layouts via logical properties.
Use cases
- Building responsive marketing sites or landing pages quickly.
- Creating admin dashboards and internal tools with standard UI components.
- Adding a consistent design system to server-rendered or static HTML projects.
Quick start
- 1
Install with npm
npm install bootstrap@6.0.0-alpha.1 - 2
Or install with yarn
yarn add bootstrap@6.0.0-alpha.1 - 3
Or clone the repository
git clone https://github.com/twbs/bootstrap.git
Things to know
- The default branch is Bootstrap 6, which is currently an alpha pre-release.
- Bootstrap 5 documentation and source are on a separate v5-dev branch.
Topics
FAQ
- What is bootstrap?
- Popular front-end framework of HTML, CSS and Sass/JavaScript components for building responsive, mobile-first websites. Bootstrap is a front-end framework for building responsive, mobile-first web pages. It ships a grid system, a set of reusable UI components such as navbars, modals, forms and cards, and utility classes for spacing, colour and layout, all written in CSS with optional JavaScript behaviour.
- Is bootstrap free to use? What license does it have?
- bootstrap is open source under the MIT license. Check the license terms before using it in commercial products.
- Is bootstrap still maintained?
- Actively maintained. The last commit to bootstrap was on Oct 20, 2026.
- What can I use bootstrap for?
- Building responsive marketing sites or landing pages quickly. Creating admin dashboards and internal tools with standard UI components. Adding a consistent design system to server-rendered or static HTML projects.
- How do I install bootstrap?
- Install with npm: npm install bootstrap@6.0.0-alpha.1 Or install with yarn: yarn add bootstrap@6.0.0-alpha.1 Or clone the repository: git clone https://github.com/twbs/bootstrap.git
- Where can I get bootstrap?
- The source code and installation instructions are on GitHub: https://github.com/twbs/bootstrap
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A 12-week, 24-lesson beginner curriculum teaching HTML, CSS and JavaScript through hands-on projects like a terrarium, typing game and space game.
A cross-platform terminal emulator built on web technologies, extensible through plugins and themes.
A Material Design UI component framework for Vue, providing handcrafted, responsive components for building web applications.
A performant, flexible CSS-in-JS library for styling apps with string or object styles and predictable style composition.
A JavaScript styling library from Facebook for defining optimized, atomic CSS styles in user interfaces.