# Bootstrap Examples — card for AI agents

Official Bootstrap 5 example snippets and layouts: heroes, features, pricing, headers, footers, dashboards; one zip download.

Category: Website sections and blocks (also: Page and site templates) · maker The Bootstrap Authors · checked 2026-11-05 · style: minimal, corporate

## Price
- Price: Free
- Free tier: Fully free.

## License
MIT — https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE

- commercial: **yes** (Commercial use OK)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE)
- attribution: **no** (No credit needed)
  > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  (https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE)
- in app: **yes** (Can ship inside your app)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE)
- redistribute: **yes** (Can pass the files on to your own users)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE)

## Rules to follow
- Keep the MIT copyright notice in the code if you redistribute it.
- No visible credit on the site is required by the licence.

## Can an AI agent use it by itself?
**Yes** · direct-download: Agent downloads the files by URL (no account)

## How an agent gets files
- Download https://github.com/twbs/bootstrap/releases/download/v5.3.8/bootstrap-5.3.8-examples.zip or copy HTML from the example pages; no account. (sign-in: none)
- Formats: html, css
- Not allowed: Bootstrap docs prose is CC BY 3.0; code is MIT

## How to connect
- Package (npm/PyPI)
- npm: `npm install bootstrap`
- Repository: https://github.com/twbs/bootstrap
- Website: https://getbootstrap.com/docs/5.3/examples/

## Notes
Site footer: 'Code licensed MIT, docs CC BY 3.0'.

## Numbers (AgentGid data)
- Gid Score: 70
- GitHub stars: 175,074
- Downloads last week: 7,548,178
- Used in 26 public projects set up for AI coding agents

## Lines to paste into your prompt or AGENTS.md

```
- Bootstrap Examples (Website sections and blocks, Page and site templates). Official Bootstrap 5 example snippets and layouts: heroes, features, pricing, headers, footers, dashboards; one zip download. Price: free; commercial use OK; no credit needed. Style: minimal, corporate.
  Connect: npm bootstrap.
  Get files: Download https://github.com/twbs/bootstrap/releases/download/v5.3.8/bootstrap-5.3.8-examples.zip or copy HTML from the example pages; no account (html, css).
  Not allowed: Bootstrap docs prose is CC BY 3.0; code is MIT
  Rule: Keep the MIT copyright notice in the code if you redistribute it.
  Rule: No visible credit on the site is required by the licence.
  License: https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/bootstrap-examples/)
```

## Links
- AgentGid page: https://agentgid.com/assets/bootstrap-examples/
- Is it free for commercial use? https://agentgid.com/assets/bootstrap-examples/commercial-use/
- Source: https://getbootstrap.com/docs/5.3/examples/
- Source: https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE


## Bootstrap Examples: ready page layouts to copy

Bootstrap Examples are free ready-made web pages and page parts from the Bootstrap team, such as page headers, pricing tables, checkout and sign-in forms, a blog and an admin dashboard. You or your AI assistant copy the code of the one you need and change the text and colors. They are built with Bootstrap 5.3 and may be used in paid projects.

### Where to use it
- A landing page in an afternoon: Start a home page from the page header, top section and footer pieces, then swap in your own words and buttons.
- A pricing page: Show your plans side by side as cards, with the recommended plan highlighted and a table that compares them.
- Sign-in and checkout forms: Get a tidy sign-in box or a checkout form with error messages for empty fields, and connect it to your own sign-in or payment service.
- An admin panel frame: Start an internal tool or admin area from the dashboard layout with a fixed side menu and top bar, then add your own tables.
- Dark mode for a page or one block: Turn the whole site or a single part, such as a sign-in panel, dark with one attribute.
- Sites in Arabic or Hebrew: Start from the right-to-left versions of the album, checkout, blog and dashboard examples for languages that read from right to left.

### How to start
- Browse the examples page, or download all of them as one archive from the download page.
- Make a page that loads Bootstrap from the shared download server, with the viewport tag for phones.

```
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
```

- Copy the example's HTML and its own small style file (for example pricing.css) into your project, then change the text.

### License
The example code is MIT licensed: free in personal and paid projects, and you may change it. Keep the license notice inside Bootstrap's CSS and JavaScript files, and do not use the Bootstrap logo to suggest they back your product.

### Good to know
- The examples are for Bootstrap 5.3. Version 6 is in the works and the newest docs already describe moving from 5 to 6, so pin 5.3.8 when you copy these examples.
- The code is MIT licensed, but the written docs are under a separate Creative Commons license that asks for credit.
- Some examples load outside files, such as a chart script for the dashboard and a Google font for the blog. Host them yourself or drop them.
- Menus that drop down, pop-up hints and tooltips need the bundled script file, which includes the small helper they rely on.

Checked 2026-11-09 against: https://getbootstrap.com/docs/5.3/examples/, https://getbootstrap.com/docs/5.3/getting-started/introduction/, https://getbootstrap.com/docs/5.3/getting-started/download/, https://getbootstrap.com/docs/5.3/about/license/, https://getbootstrap.com/docs/5.3/customize/color-modes/, https://getbootstrap.com/llms.txt, https://github.com/twbs/bootstrap/blob/main/README.md, https://github.com/twbs/bootstrap/blob/main/LICENSE, https://raw.githubusercontent.com/twbs/bootstrap/main/LICENSE, https://github.com/twbs/bootstrap/blob/v5.3.8/package.json, https://github.com/twbs/bootstrap/blob/v5.3.8/site/src/assets/examples/dashboard/index.astro, https://github.com/twbs/bootstrap/blob/v5.3.8/site/src/assets/examples/blog/index.astro, https://github.com/twbs/bootstrap/blob/v5.3.8/site/src/assets/examples/features/index.astro, https://github.com/twbs/bootstrap/blob/v5.3.8/site/src/assets/examples/heroes/index.astro, https://github.com/twbs/bootstrap/releases/download/v5.3.8/bootstrap-5.3.8-examples.zip, https://registry.npmjs.org/bootstrap

### Mistakes to avoid
- Don't: Copying an example's HTML without its own style file → Do: Copy the example's own CSS (pricing.css, dashboard.css, sign-in.css) next to the page and link it after bootstrap.min.css (Most examples add a small style file on top of Bootstrap; without it spacing and layout break.)
- Don't: Loading bootstrap.min.js alone and then using dropdown menus or tooltips → Do: Load bootstrap.bundle.min.js, or add Popper before bootstrap.min.js (Dropdowns, popovers and tooltips need Popper, which only the bundle file includes.)
- Don't: Following the newest Bootstrap docs (version 6) while copying 5.3 examples, or loading bootstrap@latest → Do: Pin bootstrap@5.3.8 and use the 5.3 docs for these examples (The examples page and archive are for 5.3.8, and the newest docs cover the move to version 6.)
- Don't: Shipping a page that still shows the Bootstrap logo or the example photos and screenshots → Do: Replace the logo, photos and screenshots with your own before going live (The license does not allow using Bootstrap's marks to suggest endorsement, and the example image files (for example unsplash-photo-1.jpg in Features) are not your content.)
- Don't: Leaving out the viewport meta tag when copying only the body of an example → Do: Keep <meta name="viewport" content="width=device-width, initial-scale=1"> in the head (Without it phones show a zoomed-out desktop page.)

### Questions
- Can I use the examples in a paid product or a client site? Yes. Bootstrap's code is MIT licensed and may be used in whole or in part for commercial purposes.
- Do I have to show a credit on my site? No visible credit is needed. The license only asks you to keep its notice inside Bootstrap's CSS and JavaScript files.
- Do I need a build tool? No. You can load the ready CSS and JavaScript from the jsDelivr download server; starter projects for Vite, Webpack, Parcel, React and Vue also exist.
- Is there a dark mode? Yes. Since version 5.3.0 there is a light and a dark mode, for the whole page or for single parts.
- Where do I get all examples at once? The download page links one archive with all built examples for version 5.3.8.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
