Skip to main content

Examples

Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.

六角學院的 Bootstrap 5 課程上線囉,立即與萬人一同學習最專業、最深入的 Bootstrap 5 課程。

Snippets

Common patterns for building sites and apps that build on existing components and utilities with custom CSS and more.

Headers

Display your branding, navigation, search, and more with these header components

Heroes

Set the stage on your homepage with heroes that feature clear calls to action.

Features

Explain the features, benefits, or other details in your marketing content.

Sidebars

Common navigation patterns ideal for offcanvas or multi-column layouts.

Footers

Finish every page strong with an awesome footer, big or small.

Dropdowns

Enhance your dropdowns with filters, icons, custom styles, and more.

List groups

Extend list groups with utilities and custom styles for any content.

Modals

Transform modals to serve any purpose, from feature tours to dialogs.

Custom Components

Brand new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework.

Album

Simple one-page template for photo galleries, portfolios, and more.

Pricing

Example pricing page built with Cards and featuring a custom header and footer.

Checkout

Custom checkout form showing our form components and their validation features.

Product

Lean product-focused marketing page with extensive grid and image work.

Cover

A one-page template for building simple and beautiful home pages.

Carousel

Customize the navbar and carousel, then add some new components.

Blog

Magazine like blog template with header, navigation, featured content.

Dashboard

Basic admin dashboard shell with fixed sidebar and navbar.

Sign-in

Custom form layout and design for a simple sign in form.

Sticky footer

Attach a footer to the bottom of the viewport when page content is short.

Sticky footer navbar

Attach a footer to the bottom of the viewport with a fixed top navbar.

Jumbotron

Use utilities to recreate and enhance Bootstrap 4's jumbotron.

Framework

Examples that focus on implementing uses of built-in components provided by Bootstrap.

Starter template

Nothing but the basics: compiled CSS and JavaScript.

Grid

Multiple examples of grid layouts with all four tiers, nesting, and more.

Cheatsheet

Kitchen sink of Bootstrap components.

Cheatsheet RTL

Kitchen sink of Bootstrap components, RTL.

Taking the default navbar component and showing how it can be moved, placed, and extended.

Navbars

Demonstration of all responsive and container options for the navbar.

Navbar static

Single navbar example of a static top navbar along with some additional content.

Navbar fixed

Single navbar example with a fixed top navbar along with some additional content.

Navbar bottom

Single navbar example with a bottom navbar along with some additional content.

Offcanvas navbar

Turn your expandable navbar into a sliding offcanvas menu (doesn't use our offcanvas component).

RTL

See Bootstrap's RTL version in action with these modified Custom Components examples.

The RTL feature is still experimental and will probably evolve according to user feedback. Spotted something or have an improvement to suggest? Open an issue, we'd love to get your insights.

Album RTL

Simple one-page template for photo galleries, portfolios, and more.

Checkout RTL

Custom checkout form showing our form components and their validation features.

Carousel RTL

Customize the navbar and carousel, then add some new components.

Blog RTL

Magazine like blog template with header, navigation, featured content.

Dashboard RTL

Basic admin dashboard shell with fixed sidebar and navbar.

Integrations

Integrations with external libraries.

Masonry

Combine the powers of the Bootstrap grid and the Masonry layout.


Go further with Bootstrap Themes

Need something more than these examples? Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. They’re built as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools.

Browse themes
Bootstrap Themes