2022-12-30 05:59:33 +08:00
- category : Starters
external : true
2025-02-27 04:41:01 +08:00
description : 'Functional examples of using Bootstrap in common JS frameworks like Webpack, Parcel, Vite, and more you can edit in StackBlitz.'
2022-12-30 05:59:33 +08:00
examples :
- name : CDN starter
description : "Instantly include Bootstrap's compiled CSS and JavaScript via the jsDelivr CDN."
url : /examples/tree/main/starter
- name : Sass & JS
description : "Use npm to import and compile Bootstrap's Sass with Autoprefixer and Stylelint, plus our bundled JavaScript."
url : /examples/tree/main/sass-js
- name : Sass & ESM JS
description : "Import and compile Bootstrap's Sass with Autoprefixer and Stylelint, and compile our source JavaScript with an ESM shim."
url : /examples/tree/main/sass-js-esm
2023-04-05 14:10:47 +08:00
- name : Bootstrap color modes
description : "Import and compile Bootstrap's Sass with Stylelint, and the Bootstrap color modes."
url : /examples/tree/main/color-modes
- name : Bootstrap Icons
description : "Import and compile Bootstrap's Sass with Stylelint, PurgeCSS, and the Bootstrap Icons web font."
url : /examples/tree/main/icons-font
2022-12-30 05:59:33 +08:00
- name : Parcel
description : "Import and bundle Bootstrap's source Sass and JavaScript via Parcel."
url : /examples/tree/main/parcel
2023-04-05 14:10:47 +08:00
indexPath : src/index.html
- name : React
description : "Import and bundle Bootstrap's source Sass and JavaScript with React, Next.js, and React Bootstrap."
url : /examples/tree/main/react-nextjs
indexPath : src/pages/index.tsx
2022-12-30 05:59:33 +08:00
- name : Vite
description : "Import and bundle Bootstrap's source Sass and JavaScript with Vite."
url : /examples/tree/main/vite
2023-04-05 14:10:47 +08:00
- name : Vue
description : "Import and bundle Bootstrap's source Sass and JavaScript with Vue and Vite."
url : /examples/tree/main/vue
- name : Webpack
description : "Import and bundle Bootstrap's source Sass and JavaScript with Webpack."
url : /examples/tree/main/webpack
indexPath : src/index.html
2022-12-30 05:59:33 +08:00
2021-03-23 04:59:14 +08:00
- category : Snippets
2025-02-27 04:41:01 +08:00
description : 'Common patterns for building sites and apps that build on existing components and utilities with custom CSS and more.'
2021-03-23 04:59:14 +08:00
examples :
- name : Headers
2025-02-27 04:41:01 +08:00
description : 'Display your branding, navigation, search, and more with these header components'
2021-03-23 04:59:14 +08:00
- name : Heroes
2025-02-27 04:41:01 +08:00
description : 'Set the stage on your homepage with heroes that feature clear calls to action.'
2021-03-23 04:59:14 +08:00
- name : Features
2025-02-27 04:41:01 +08:00
description : 'Explain the features, benefits, or other details in your marketing content.'
2021-03-23 04:59:14 +08:00
- name : Sidebars
2025-02-27 04:41:01 +08:00
description : 'Common navigation patterns ideal for offcanvas or multi-column layouts.'
2021-06-23 10:15:02 +08:00
- name : Footers
2025-02-27 04:41:01 +08:00
description : 'Finish every page strong with an awesome footer, big or small.'
2021-06-23 10:15:02 +08:00
- name : Dropdowns
2025-02-27 04:41:01 +08:00
description : 'Enhance your dropdowns with filters, icons, custom styles, and more.'
2021-06-23 10:15:02 +08:00
- name : List groups
2025-02-27 04:41:01 +08:00
description : 'Extend list groups with utilities and custom styles for any content.'
2021-06-23 10:15:02 +08:00
- name : Modals
2025-02-27 04:41:01 +08:00
description : 'Transform modals to serve any purpose, from feature tours to dialogs.'
2023-02-15 12:58:39 +08:00
- name : Badges
2025-02-27 04:41:01 +08:00
description : 'Make badges work with custom inner HTML and new looks.'
2023-02-15 12:58:39 +08:00
- name : Breadcrumbs
2025-02-27 04:41:01 +08:00
description : 'Integrate custom icons and create stepper components.'
2023-02-15 12:58:39 +08:00
- name : Buttons
2025-02-27 04:41:01 +08:00
description : 'Create custom buttons for just about any use case with utilities.'
2023-02-15 12:58:39 +08:00
- name : Jumbotrons
2025-02-27 04:41:01 +08:00
description : 'Create modernized versions of the classic Bootstrap component.'
2021-03-23 04:59:14 +08:00
2019-01-09 00:33:28 +08:00
- category : Custom Components
2025-02-27 04:41:01 +08:00
description : 'Brand-new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework.'
2018-01-15 08:06:52 +08:00
examples :
- name : Album
2025-02-27 04:41:01 +08:00
description : 'Simple one-page template for photo galleries, portfolios, and more.'
2018-01-15 08:06:52 +08:00
- name : Pricing
2025-02-27 04:41:01 +08:00
description : 'Example pricing page built with Cards and featuring a custom header and footer.'
2018-01-15 08:06:52 +08:00
- name : Checkout
2025-02-27 04:41:01 +08:00
description : 'Custom checkout form showing our form components and their validation features.'
2018-01-15 08:06:52 +08:00
- name : Product
2025-02-27 04:41:01 +08:00
description : 'Lean product-focused marketing page with extensive grid and image work.'
2018-01-15 08:06:52 +08:00
- name : Cover
2025-02-27 04:41:01 +08:00
description : 'A one-page template for building simple and beautiful home pages.'
2018-01-15 08:06:52 +08:00
- name : Carousel
2025-02-27 04:41:01 +08:00
description : 'Customize the navbar and carousel, then add some new components.'
2018-01-15 08:06:52 +08:00
- name : Blog
2025-02-27 04:41:01 +08:00
description : 'Magazine like blog template with header, navigation, featured content.'
2018-01-15 08:06:52 +08:00
- name : Dashboard
2025-02-27 04:41:01 +08:00
description : 'Basic admin dashboard shell with fixed sidebar and navbar.'
2018-01-15 08:06:52 +08:00
- name : Sign-in
2025-02-27 04:41:01 +08:00
description : 'Custom form layout and design for a simple sign in form.'
2018-01-15 08:06:52 +08:00
- name : Sticky footer
2025-02-27 04:41:01 +08:00
description : 'Attach a footer to the bottom of the viewport when page content is short.'
2018-01-15 08:06:52 +08:00
- name : Sticky footer navbar
2025-02-27 04:41:01 +08:00
description : 'Attach a footer to the bottom of the viewport with a fixed top navbar.'
2021-03-23 04:59:14 +08:00
- name : Jumbotron
description : "Use utilities to recreate and enhance Bootstrap 4's jumbotron."
2018-01-15 08:06:52 +08:00
- category : Framework
2025-02-27 04:41:01 +08:00
description : 'Examples that focus on implementing uses of built-in components provided by Bootstrap.'
2018-01-15 08:06:52 +08:00
examples :
2025-02-27 04:41:01 +08:00
- name : 'Starter template'
description: 'Nothing but the basics : compiled CSS and JavaScript.'
2018-01-15 08:06:52 +08:00
- name : Grid
2025-02-27 04:41:01 +08:00
description : 'Multiple examples of grid layouts with all four tiers, nesting, and more.'
2020-06-09 21:44:20 +08:00
- name : Cheatsheet
2025-02-27 04:41:01 +08:00
description : 'Kitchen sink of Bootstrap components.'
2020-06-09 21:44:20 +08:00
- name : Cheatsheet RTL
2025-02-27 04:41:01 +08:00
description : 'Kitchen sink of Bootstrap components, RTL.'
2018-01-15 08:06:52 +08:00
- category : Navbars
2025-02-27 04:41:01 +08:00
description : 'Taking the default navbar component and showing how it can be moved, placed, and extended.'
2018-01-15 08:06:52 +08:00
examples :
- name : Navbars
2025-02-27 04:41:01 +08:00
description : 'Demonstration of all responsive and container options for the navbar.'
v5.2.0 design refresh, plus responsive offcanvas classes (#35736)
* Add responsive offcanvas classes
- Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now.
- Adds some JS to the offcanvas component to help with responsiveness
Co-Authored-By: GeoSot <geo.sotis@gmail.com>
* Redesign homepage, docs, and examples
Homepage:
- New Bootstrap purple navbar
- Redesigned masthead
- Rewrote and redesigned homepage content
- Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances
- Fixed padding issues in site footer
- Match homepage button styles to examples page, use gap instead of tons of responsive margin utils
Docs:
- New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles.
- New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings
- Sidebar navigation autoscrolls to active link for better usability
- Subnav and navbar padding issues ironed out
- Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version.
- Redesign callouts to add more color to our pages
- Collapse table of contents on mobile
- Cleanup and redesign button styles with CSS variables
- Update design for subnav version dropdown
- Update highlight and example to be full-width until md
- Improve the Added In badges
- Turn the ToC into a well on mobile
- Redesign code snippets to better house two action buttons
Examples:
- Redesign Examples page layout
- Add new example for responsive offcanvases in navbars
* Convert offcanvas to CSS vars
* Feat: add resize handler to Offcanvas.js.
If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector
The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior
The `aria-modal` addon is to protect us, selection backdrop elements
* Separate examples code, Add some selectors, fix stackblitz btn
Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-18 13:17:50 +08:00
- name : Navbars offcanvas
2025-02-27 04:41:01 +08:00
description : 'Same as the Navbars example, but with our offcanvas component.'
2018-01-15 08:06:52 +08:00
- name : Navbar static
2025-02-27 04:41:01 +08:00
description : 'Single navbar example of a static top navbar along with some additional content.'
2018-01-15 08:06:52 +08:00
- name : Navbar fixed
2025-02-27 04:41:01 +08:00
description : 'Single navbar example with a fixed top navbar along with some additional content.'
2018-01-15 08:06:52 +08:00
- name : Navbar bottom
2025-02-27 04:41:01 +08:00
description : 'Single navbar example with a bottom navbar along with some additional content.'
2021-03-03 01:10:10 +08:00
- name : Offcanvas navbar
description : "Turn your expandable navbar into a sliding offcanvas menu (doesn't use our offcanvas component)."
2019-06-30 21:59:58 +08:00
2020-06-09 21:44:20 +08:00
- category : RTL
description : "See Bootstrap's RTL version in action with these modified Custom Components examples."
examples :
- name : Album RTL
2025-02-27 04:41:01 +08:00
description : 'Simple one-page template for photo galleries, portfolios, and more.'
2020-06-09 21:44:20 +08:00
- name : Checkout RTL
2025-02-27 04:41:01 +08:00
description : 'Custom checkout form showing our form components and their validation features.'
2020-06-09 21:44:20 +08:00
- name : Carousel RTL
2025-02-27 04:41:01 +08:00
description : 'Customize the navbar and carousel, then add some new components.'
2020-06-09 21:44:20 +08:00
- name : Blog RTL
2025-02-27 04:41:01 +08:00
description : 'Magazine like blog template with header, navigation, featured content.'
2020-06-09 21:44:20 +08:00
- name : Dashboard RTL
2025-02-27 04:41:01 +08:00
description : 'Basic admin dashboard shell with fixed sidebar and navbar.'
2020-06-09 21:44:20 +08:00
2019-06-30 21:59:58 +08:00
- category : Integrations
2025-02-27 04:41:01 +08:00
description : 'Integrations with external libraries.'
2019-06-30 21:59:58 +08:00
examples :
2025-02-27 04:41:01 +08:00
- name : 'Masonry'
description : 'Combine the powers of the Bootstrap grid and the Masonry layout.'