Upgrade Your Drupal Skills
We trained 1,000+ Drupal Developers over the last decade.
See Advanced Courses NAH, I know EnoughIntroduction To Bootstrap Paragraph Drupal 8
Paragraphs
Paragraphs are one of the modules that make site builder and end users more powerful. Paragraph module does this by replacing one big WYSIWYG with predefined paragraph types. Paragraph module utilizes entity reference field to reference paragraph types. Paragraphs are basically entities so users get control over fields and theming of the paragraph.
Bootstrap
Bootstrap is sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development. Bootstrap has become one of the most popular front-end frameworks and open source projects in the world.
A combination of these two is "Bootstrap Paragraph" module.
"The Bootstrap Paragraphs module provides a suite of content and layout Paragraph bundles made with the Bootstrap front-end framework."
Using bootstrap paragraph module, it is very easy to create features like an accordion, modals, tabs, multi column layouts, and many more things.
The module has multiple dependencies including paragraphs, Entity reference revisions, contact formatter to name a few. The module also needs Bootstrap framework’s js and CSS added in site theme. Installing this module via composer could be beneficial.
Module installation follows a standard process. The module comes with predefined paragraph bundles which can be accessed from /admin/structure/paragraphs_type. These paragraph bundles are divided into 2 main categories:
Content bundles
- Simple HTML
- Image
- Blank
- Contact Form
- Drupal Block
- View
Layout bundles
- Accordion
- Carousel
- Columns (Even, up to 6)
- Columns (3 Uneven)
- Columns (2 Uneven)
- Modal
- Tabs
Each paragraph type comes with 2 options:
Width and background color