Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Bootstrap Examples

by The Bootstrap Authors

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

Website sections and blocks Code libraryOpen sourceminimalcorporate

GitHub repoWebsite
A page header, a top section with two buttons, three pricing cards and a footer, next to a sign-in form in dark mode, all with Bootstrap 5.3.8 and our own made-up product text.
Made by AgentGid with bootstrap-5.3.8-examples.zip (official release download, sha256 b851efe3...1782) with its bootstrap.min.css 5.3.8. Bootstrap code is MIT licensed; we used the example markup and classes with our own text, and left out the example photos, screenshots and the Bootstrap logo.

2. Commercial use: raw.githubusercontent.com

“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”

MIT allows use in whole or in part for commercial purposes.

raw.githubusercontent.com

License checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

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 you can use it

A landing page in an afternoon

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.

Bootstrap Examples popularity

70 / 100
Gid Score, same scale as developer tools
175,074
GitHub stars
7.5M
npm downloads, last 7 days
+16.1% in 4 weeks
26
AI-agent projects using it, from our repo scan of 4,817
Bootstrap Examples: downloads per weeknpm, bootstrap 7,548,178
Bootstrap Examples: GitHub starstwbs/bootstrap 175,074

Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“Build my landing page from the Bootstrap 5.3.8 examples (Headers, Heroes, Pricing, Footers): load bootstrap@5.3.8 with its integrity hashes, copy each example's own CSS file too, replace all example text and images with mine, and leave out the Bootstrap logo.”

Show code

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">

Mistakes to avoid

Copying an example's HTML without its own style file
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.

Loading bootstrap.min.js alone and then using dropdown menus or tooltips
Load bootstrap.bundle.min.js, or add Popper before bootstrap.min.js

Dropdowns, popovers and tooltips need Popper, which only the bundle file includes.

Following the newest Bootstrap docs (version 6) while copying 5.3 examples, or loading bootstrap@latest
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.

Shipping a page that still shows the Bootstrap logo or the example photos and screenshots
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.

Leaving out the viewport meta tag when copying only the body of an example
Keep <meta name="viewport" content="width=device-width, initial-scale=1"> in the head

Without it phones show a zoomed-out desktop page.

License

MIT 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.

Commercial use
Yes

“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” raw.githubusercontent.com

Credit
Not needed

“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” raw.githubusercontent.com

Inside your app or game
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” raw.githubusercontent.com

Pass the files on to your users
Allowed

“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” raw.githubusercontent.com

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Bootstrap Examples free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Bootstrap Examples. Paste them into your prompt or AGENTS.md.

License rules
- 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/)
Can an agent use it by itself?
Yes.

Agent downloads the files by URL (no account).

Install
npm install bootstrap
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.

Formats: html, css

Repository
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Layout based on Bootstrap examples (getbootstrap.com, MIT)
This card for machines

Alternatives

Bootstrap Examples This page

Free Commercial OK npm

Tailblocks

Pick Tailblocks when your site uses Tailwind CSS instead of Bootstrap and you want ready page blocks to copy.

Free Commercial OK Download

Nuxt UI

Pick Nuxt UI when you build with Vue or Nuxt and want page components and starter templates for that stack.

Free Commercial OK npm

Uiverse

Pick Uiverse when you only need single pieces like buttons, loaders or toggles, not whole page layouts.

Free Commercial OK Download

AdminLTE

Free Bootstrap 5 admin dashboard template (dashboards, forms, tables, auth pages); also React/Angular/Vue ports.

Free Commercial OK npm

shadcn-svelte

Svelte port of shadcn/ui with components and blocks (dashboards, sidebars, login); add them with the shadcn-svelte CLI.

Free Commercial OK npm

All website sections and blocks

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.