Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

swiffy_slider

103 sites Security covered
View on drupal.org

Drupal integration of Swiffy Slider.

This module provides a field formatter for the field type entity_reference and a views format.

Swiffy Slider provides a lightweight slider/carousel solution. All the sliding, dragging, snapping etc. are native browser behavior and not Javascript. Swiffy Slider can even run in a simple mode with no JS at all. Support for any input device (including touch pads, pencils, assistive devices) and 100% WCAG compatible.

How to use it

Implementation

This module ships already the required library, but it is possible to override the used version.

1. Add the following snippet to your composer.json inside repositories

{
  "type": "package",
  "package": {
    "type": "drupal-library",
    "name": "dynamicweb/swiffy-slider",
    "version": "v1.6.0",
    "dist": {
      "url": "https://github.com/dynamicweb/swiffy-slider/archive/refs/tags/v1.6.0.zip",
      "type": "zip"
    }
  }
}

2. Download the dependency

composer require dynamicweb/swiffy-slider

3. Enable the module

Field formatter

Mise en place

  1. Build a multi-value media field, e. g. in the content type article
  2. Create a content with at least two images in that field
  3. Go to https://swiffyslider.com/configuration/ and customize the slider options, copy the "Perma link"

Configure the field formatter

  1. In your content type, go to "Manage display", spot the media field
  2. Under "Format", select "Swiffy Slider"
  3. Click settings (the gear icon) and paste the copied Perma link

No third-party calls. The field allows the complete URL for your convenience, all customized config will be handled locally.

Views display

Have some nodes at hand (e. g. articles) and make sure you have configured a suitable teaser display (e. g. title, body trimmed to 200 characters, teaser image).

  1. Add a display to a node-based view, e. g. to the frontpage view
  2. Use unformatted list with teasers or fields, as you like
  3. Select format: Swiffy Slider
  4. Go to https://swiffyslider.com/configuration/ and customize the slider options, copy the "Perma link"
  5. Paste the copied link in the Settings field "Configuration URL"

No third-party calls, as stated above.

Known issues

For some reason the loop (at the end of a list go to first item) does not work when snap behaviour is active. Any ideas welcome.

Why only a configuration URL?

Swiffy Slider has a lot of configuration options. We find it very convenient to configure everything on the Configuration page with a sample preview right in place.

Replicating all settings to the field formatter or views settings would add a lot of complexity to the Drupal back-end forms. If you think it would be worth the effort nevertheless, we'd recommend to build a complimentary module with all the settings in the Drupal back-end.

Activity

Total releases
2
First release
Jun 2025
Latest release
7 months ago
Release cadence
86 days
Stability
50% stable

Releases

Version Type Release date
1.4.0 Stable Aug 29, 2025
1.4.x-dev Dev Jun 4, 2025