Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

W3CSS Paragraphs

Security covered Maintenance fixes only 250 sites

This module provides a collection of pre-designed content blocks, called paragraph bundles, that leverage the W3.CSS framework. These bundles allow users to quickly create various content layouts like slideshows, carousels, accordions, and multi-column sections. They also enable easy integration of text, images, blocks, links, and views.

W3CSS Paragraphs adds ready-made paragraph types built with the W3.CSS framework to the Paragraphs module.

It is for site builders who want layouts, media, tabs, accordions, forms and block displays that editors fill in from the Paragraphs form. The base module ships "Simple" and "Image". Every other type is an optional sub-module, so you enable only what the site uses.

Start here

See it working

These paragraph types each have a demo page on the live demo site.

Features

The editor chooses from 24 paragraph types. Four of them (Accordion, Parallax, Slideshow and Tabs) use a child type for each item.

  • Layout and content types: "Simple", "Image", "Card", "Hero", "Hero Full Width", "Image Overlay", "Parallax", "One Column", "Two Columns" and "Three Columns".
  • Interactive types: "Accordion", "Tabs" (horizontal or vertical, with six animation effects), "Slideshow", "3D Carousel", "3D Flip Box" and "Modal".
  • Responsive images: "Responsive Image Wide" and "Responsive Image Narrow".
  • Embedded content: "Drupal Block", "Block Content", "Contact", "Views", "Webform" and "Quicklinks".
  • Display tab: every paragraph form has a "Display" tab with Background, Text, Border and Spacing groups. They are closed by default. Options include 30 colors each for background, text and border (and their hover colors), 11 background opacity values from 5% to 95%, widths from 30% to 100%, borders, rounded corners, margin, padding and a card shadow. Not every type has every option. The "Simple" type also has a field for extra W3.CSS classes.
  • W3CSS Paragraphs Content node type: a content type for landing pages. It has the fields "Disabled regions", "Max content width", "Background color" and "Background color opacity". It always removes the left and right sidebars. Each ticked "Disable" option removes one more region, such as Main Navigation, Header, Breadcrumb or Footer Menu. Those region names come from the W3CSS Theme.
  • Heading level: the "Heading level of paragraph titles" setting picks h2 to h6 (default h3). Accordion item headings use the next level down, up to h6. The page is at /admin/config/content/w3css-paragraphs and needs the permission "administer site configuration".
  • Other themes: the module loads its own copy of W3.CSS when the active theme is not the W3CSS Theme or one of its sub-themes. The module CSS is unlayered, so it wins over theme layers, and the module needs no jQuery.
  • Accessibility and motion: focus stays visible inside clipped paragraphs, Parallax respects reduced motion, and the arrow keys on Tabs follow the layout.
  • Add dialog icons: each paragraph type shows the module logo as its icon in the add dialog.

Sub-modules

Each paragraph type except "Simple" and "Image" is its own sub-module. These need something extra:

  • Contact: needs the core Contact module. It shows the form itself, so Contact Formatter is not needed.
  • Block Content: needs the core Block Content module.
  • Responsive Image Wide and Narrow: need the core Responsive Image module.
  • Hero Full Width: needs the Responsive Image and Content Type sub-modules.
  • Quicklinks: needs Link Attributes.
  • Views: needs Views Reference Field.
  • Webform: needs Webform.

Installation: get started in 3 steps

  1. Install the module with Composer:
    composer require 'drupal/w3css_paragraphs:2.0.x-dev@dev'

    Version 2 has no tagged release yet. Until one is published, install the development release shown above.

  2. Enable it on the Extend page, or with Drush. Then enable the sub-modules for the paragraph types you want:
    drush en w3css_paragraphs
  3. Add a Paragraphs field to a content type and allow the W3CSS paragraph types you enabled. Optionally, open "W3CSS Paragraphs" under Administration → Configuration → Content authoring to change the "Heading level of paragraph titles" (default h3).

Updating

Run drush updb. The Menu paragraph type was removed. If a site had its sub-module enabled, the update uninstalls it. Existing Menu paragraphs stay in the site configuration. If the site used Contact Formatter only for this module, you can uninstall it after the update.

Requirements

The W3CSS Theme 3.x is suggested, not required. W3CSS Theme 2.x is not supported, and Composer refuses that pairing. Core modules the base module needs are listed in its .info.yml file.

Support and maintenance

Questions, ideas, and bug reports are welcome. Please use this project’s issue queue so discussions and solutions remain available to the Drupal community.

Maintainers monitor issues, but response times depend on availability.

Developed and maintained by Alaa Haddad of Flash Web Center, LLC.

AI disclosure: AI tools assisted with drafting and reviewing this project description. The maintainer verified the final content against the project source.

Drupal 10–11 PHP ^8.1

Ask your assistant about W3CSS Paragraphs

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • Entity Reference Revisions
  • Field Group
  • Paragraphs
  • block Drupal core
  • field Drupal core
  • file Drupal core
  • filter Drupal core
  • image Drupal core
  • link Drupal core
  • media Drupal core
  • media_library Drupal core
  • options Drupal core
  • system Drupal core
  • text Drupal core
  • user Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
11
Tracked since
Feb 2023
Latest release
3 weeks ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.x-dev Dev 11 PHP 8.3 Nov 5, 2026
1.0.20 Stable 10–11 PHP ^8.1 Oct 5, 2026
1.0.19 Stable 9–11 Jan 20, 2025
1.0.18 Stable 9–11 Oct 29, 2024
1.0.17 Stable 9–11 Aug 4, 2024
1.0.16 Stable 8–10 Dec 22, 2023
1.0.15 Stable 8–10 Dec 19, 2023
1.0.14 Stable 8–10 Sep 3, 2023
2.x-dev Dev 9–10 Sep 3, 2023
1.0.13 Stable 8–10 Feb 26, 2023