© Jörg Krause 2020
J. KrauseIntroducing Bootstrap 4https://doi.org/10.1007/978-1-4842-6203-0_7

7. Components

Jörg Krause1 
(1)
Berlin, Germany
 

Components are the building blocks taken from the Bootstrap library, and they provide certain functionalities that go beyond the mere use of CSS. Components are made from CSS with a combination of HTML, JavaScript, and font libraries.

Requirements

Some of the components require support by JavaScript libraries. In the current version of Bootstrap, version 4.5, this is jQuery and popper.js. You must load the libraries in the required order to get it working.
1   <script src="assets/jquery.js"></script>
2   <script src="assets/popper.js"></script>
3   <script src="assets/bootstrap.js"></script>

This example assumes ...

Get Introducing Bootstrap 4: Create Powerful Web Applications Using Bootstrap 4.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.