The Bootstrap Paragraphs module provides a suite of content and layout Paragraph bundles made with the Bootstrap (front-end framework.
Combine the power of the world's most popular front-end framework, Bootstrap with Drupal Paragraphs, the powerful module to allow content creators to build layouts and structured pages.
Using the Bootstrap Paragraphs Drupal module, you'll be able to create Bootstrap features like Accordions, Carousels, Modals, Tabs, and Multi-column layouts. You can also harness the power of Drupal to reference Text, Images, Blocks, and even Views!
Examples:
Visit the Bootstrap Paragraphs Demo Site
Bundle Types:
- Simple HTML
- Image
- Blank
- Accordion
- Carousel
- Columns (Even, up to 6)
- Columns (3 Uneven)
- Columns (2 Uneven)
- Column Wrapper
- Drupal Block
- Modal
- Tabs
- View
Backgrounds:
Each Paragraph has width and background color options. Included are over 50 background colors and five empty background classes for you to customize in your own theme.
Widths:
- Tiny - col-4, offset-4
- Narrow - col-6, offset-3
- Medium - col-8, offset-2
- Wide - col-10, offset-1
- Full - col-12
Installation:
- Install the module as you normally would.
- Verify installation by visiting /admin/structure/paragraphs_type and seeing your new Paragraph bundles.
- Go to your content type and add a new field of type Entity revisions, Paragraphs.
- Allow unlimited so creators can add more than one Paragraph to the node.
- On the field edit screen, you can add instructions, and choose which bundles you want to allow for this field. Check all but the Accordion Section and Tab Section. Those should only be used inside Accordions and Tabs.
- Arrange them as you see fit. I prefer Simple, Image, and Blank at the top, then the rest in Alphabetical order. Click Save Settings.
- Adjust your form display, placing the field where you want it.
- Add the field into the Manage display tab.
- Start creating content!
Submodules:
The module currently has two submodules included which add additional functionality.
The Contact Form functionality has been moved from to its own BP Contact module, and I've made a similar module, BP Webform which adds a Webform bundle.
Requirements:
- Entity Reference Revisions
- field
- file
- filter
- image
- options
- Paragraphs
- system
- text
- user
- views
- Views Reference Field
- Bootstrap (3.x or 4.x or 5.x) framework's CSS and JS included in your theme
What is the difference between the 8.2.x. and 5.x branches?
8.2.x should be used for Bootstrap 3 and 4 versions. Some modifications may be needed for 4.
5.x should be used for Bootstrap 5.
Attachment | Size |
---|---|
Bootstrap Paragraphs | 75.77 KB |
Project information
- Module categories: Content Display, Content Editing Experience
- Ecosystem: Paragraphs, Bootstrap
- 6,738 sites report using this module
- Created by albertski on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 5.0.x-dev updated 5 Apr 2024 at 13:39 UTC
General bug fixes for Drupal 10 for Bootstrap versions 3 and 4
Development version: 8.x-2.x-dev updated 9 Apr 2024 at 19:36 UTC