bootstrap、bulma、purecss、tachyons、tailwindcss は、ウェブサイトのスタイル構築を支援する CSS ライブラリですが、それぞれ設計思想が異なります。bootstrap と bulma はすぐに使えるコンポーネントを提供するフレームワークです。purecss は軽量でモジュール化された CSS 基盤です。tachyons と tailwindcss はユーティリティファーストであり、クラス名でスタイルを直接制御します。これらはプロジェクトの規模、カスタマイズ要件、および保守方針に応じて選択されます。
bootstrap、bulma、purecss、tachyons、tailwindcss は、すべてウェブサイトの見た目を整えるためのツールですが、内部の仕組みと使い方が大きく異なります。エンジニアリングの観点から、これらがどのように違い、どのような場面で真価を発揮するかを比較します。
bootstrap と bulma はコンポーネントベースです。
btn)、見た目はテーマで一括変更します。<!-- bootstrap -->
<button class="btn btn-primary">送信</button>
<!-- bulma -->
<button class="button is-primary">送信</button>
tachyons と tailwindcss はユーティリティファーストです。
<!-- tachyons -->
<button class="btn bg-blue white pa2">送信</button>
<!-- tailwindcss -->
<button class="bg-blue-500 text-white px-4 py-2">送信</button>
purecss はモジュールベースです。
<!-- purecss -->
<button class="pure-button pure-button-primary">送信</button>
bootstrap は Sass 変数でテーマを変更します。
// bootstrap: _variables.scss
$primary: #563d7c;
@import "bootstrap";
bulma も Sass 変数を使いますが、よりシンプルです。
// bulma: custom.scss
$primary: #00d1b2;
@import "bulma/bulma";
purecss はカスタマイズより標準重視です。
/* purecss: 追加スタイル */
.pure-button-primary {
background-color: #000;
}
tachyons はクラス名自体が設定です。
<!-- tachyons: 色変更はクラス変更 -->
<button class="bg-red white">送信</button>
tailwindcss は設定ファイルで全てを制御します。
tailwind.config.js で色、スペース、フォントを定義します。// tailwindcss: tailwind.config.js
module.exports = {
theme: {
extend: {
colors: { primary: '#00d1b2' }
}
}
}
bootstrap は JavaScript を含みます。
// bootstrap: JS 機能の利用
const modal = new bootstrap.Modal(document.getElementById('myModal'));
modal.show();
bulma は CSS のみです。
// bulma: 自分で実装が必要
document.querySelector('.navbar-burger').addEventListener('click', () => {
// トグル処理を記述
});
purecss も CSS のみです。
// purecss: 独自 JS と組み合わせ
// 特定のクラスにイベントリスナーを付与するなどの処理を自行う
tachyons は CSS のみです。
// tachyons: ロジックは別途実装
// クラス名はスタイルのみを定義
tailwindcss は CSS 生成ツールです。
// tailwindcss: Headless UI などを併用
import { Menu } from '@headlessui/react';
// スタイルは Tailwind クラスで付与
bootstrap は活発に保守されています。
bulma も安定して保守されています。
purecss は安定していますが更新は緩やかです。
tachyons は開発が完了状態にあります。
tailwindcss は非常に活発に開発されています。
| 特徴 | bootstrap | bulma | purecss | tachyons | tailwindcss |
|---|---|---|---|---|---|
| タイプ | コンポーネント | コンポーネント | モジュール | ユーティリティ | ユーティリティ |
| JS 依存 | あり(標準) | なし | なし | なし | なし(ツール) |
| カスタマイズ | Sass 変数 | Sass 変数 | CSS 上書き | クラス選択 | 設定ファイル |
| 保守状況 | 活発 | 安定 | 安定 | 完了 | 活発 |
| 適した用途 | 企業システム | モダンな LP | 軽量サイト | 小規模運用 | 設計システム |
bootstrap は、標準的な部品と動作をすぐに欲しい時に最適です。特に、JavaScript によるインタラクションを最初から含めたい場合に便利です。
bulma は、CSS だけで綺麗なレイアウトを組みたい時に選びます。JS ライブラリを自分で選んで組み合わせたいプロジェクトに向いています。
purecss は、サイズを極限まで減らしたい場合に有効です。既存のスタイルを壊さずに、最小限の基盤を整えたい時に使います。
tachyons は、安定したクラス体系で小規模なサイトを維持する場合に適しています。ただし、大規模な拡張が必要な場合は他の選択肢を検討します。
tailwindcss は、独自のデザインシステムを構築したい場合に最も適しています。設定で細かく制御でき、大規模開発での一貫性を保つのに役立ちます。
最終的には、プロジェクトの規模とチームの習熟度に合わせて選びます。迅速な立ち上げなら bootstrap、自由度と拡張性なら tailwindcss が主な選択肢となります。
標準的な UI 部品と JavaScript 機能(モーダルやドロップダウンなど)が必要なら選びます。企業システムや迅速なプロトタイプ作成に適しており、ドキュメントが充実しています。
JavaScript 依存なしで綺麗なコンポーネントを使いたい場合に適しています。フレックスボックスベースで現代的なレイアウトが組みやすく、CSS のみで完結させたいプロジェクトに向いています。
極めて軽量なフットプリントが必要な場合に選びます。モジュールごとに導入できて無駄がなく、既存のデザインを壊さずに基盤だけ整えたい時に有効です。
機能する CSS の考え方で、安定したクラス体系を好む場合に適しています。大規模な変更よりは維持を重視し、追加の設定なしですぐに始めたい小規模プロジェクトに向いています。
高度なカスタマイズと設計システム構築が必要な場合に選びます。設定ファイルで細かく制御でき、重複する CSS を排除したい大規模開発や、独自のデザイン言語を作りたい時に最適です。
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
Explore Bootstrap docs »
Report bug
·
Request feature
·
Blog
Our default branch is for development of our Bootstrap 5 release. Head to the v4-dev branch to view the readme, documentation, and source code for Bootstrap 4.
Several quick start options are available:
git clone https://github.com/twbs/bootstrap.gitnpm install bootstrap@v5.3.8yarn add bootstrap@v5.3.8bun add bootstrap@v5.3.8composer require twbs/bootstrap:5.3.8Install-Package bootstrap Sass: Install-Package bootstrap.sassRead the Getting started page for information on the framework contents, templates, examples, and more.
Within the download you’ll find the following directories and files, logically grouping common assets and providing both compiled and minified variations.
bootstrap/
├── css/
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-grid.rtl.css
│ ├── bootstrap-grid.rtl.css.map
│ ├── bootstrap-grid.rtl.min.css
│ ├── bootstrap-grid.rtl.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ ├── bootstrap-reboot.min.css.map
│ ├── bootstrap-reboot.rtl.css
│ ├── bootstrap-reboot.rtl.css.map
│ ├── bootstrap-reboot.rtl.min.css
│ ├── bootstrap-reboot.rtl.min.css.map
│ ├── bootstrap-utilities.css
│ ├── bootstrap-utilities.css.map
│ ├── bootstrap-utilities.min.css
│ ├── bootstrap-utilities.min.css.map
│ ├── bootstrap-utilities.rtl.css
│ ├── bootstrap-utilities.rtl.css.map
│ ├── bootstrap-utilities.rtl.min.css
│ ├── bootstrap-utilities.rtl.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── bootstrap.rtl.css
│ ├── bootstrap.rtl.css.map
│ ├── bootstrap.rtl.min.css
│ └── bootstrap.rtl.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.js.map
├── bootstrap.bundle.min.js
├── bootstrap.bundle.min.js.map
├── bootstrap.esm.js
├── bootstrap.esm.js.map
├── bootstrap.esm.min.js
├── bootstrap.esm.min.js.map
├── bootstrap.js
├── bootstrap.js.map
├── bootstrap.min.js
└── bootstrap.min.js.map
We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). Source maps (bootstrap.*.map) are available for use with certain browsers’ developer tools. Bundled JS files (bootstrap.bundle.js and minified bootstrap.bundle.min.js) include Popper.
Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
Bootstrap’s documentation, included in this repo in the root directory, is built with Astro and publicly hosted on GitHub Pages at https://getbootstrap.com/. The docs may also be run locally.
Documentation search is powered by Algolia's DocSearch.
npm install to install the Node.js dependencies, including Astro (the site builder).npm run test (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets./bootstrap directory, run npm run docs-serve in the command line.Learn more about using Astro by reading its documentation.
You can find all our previous releases docs on https://getbootstrap.com/docs/versions/.
Previous releases and their documentation are also available for download.
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
Moreover, if your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.
Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at https://editorconfig.org/.
Get updates on Bootstrap’s development and chat with the project maintainers and community members.
irc.libera.chat server, in the #bootstrap channel.bootstrap-5).bootstrap on packages which modify or add to the functionality of Bootstrap when distributing through npm or similar delivery mechanisms for maximum discoverability.For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we adhere to those rules whenever possible.
See the Releases section of our GitHub project for changelogs for each release version of Bootstrap. Release announcement posts on the official Bootstrap blog contain summaries of the most noteworthy changes made in each release.
Mark Otto
Jacob Thornton
Thanks to BrowserStack for providing the infrastructure that allows us to test in real browsers!
Thanks to Netlify for providing us with Deploy Previews!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Thank you to all our backers! 🙏 [Become a backer]
Code and documentation copyright 2011-2025 the Bootstrap Authors. Code released under the MIT License. Docs released under Creative Commons.