Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Swiper Cards

No security coverage Under active development 14 sites

This module provides a customizable block for easily adding responsive card-based sliders to your Drupal website. You can configure sliders with images, titles, descriptions, and other information, controlling their order and appearance with options for background color and custom CSS. The module also allows for extensive customization of the layout and behavior through Twig templates and JavaScript overrides.

Swiper Cards module lets you enter sliders from your drupal block configuration area. It is a customizable drupal slider module. Using this module lets you easily add sliders with card layout to your drupal website. This module prrovides a custom block functionality which helps to generate responsive and flexible touch sliders with predefined layouts and currently this module provides four layouts.

Wou can show card sliders with photo, a short blurb, title and other information related to the card. We can also use the slider order weight select option which can be used to provide customized sorting of sliders.

This module has simple options and the ability to choose the slider container backgraound color, add slider header text using formatted text editor. We can add the custom css for the header contents of the active theme css will be implemented.

We can also override the swiper cards template and css for design layout with abailable variables on the twig template.

We can copy the template file from templates/swiper-cards.html.twig to your theme file and customize the html and implement your own layout with custom css and also override the javascript with our custom js.

Available variables on the twig template:
Available variables:

- swiper_cards_data: Array of swiper cards data.
  - card_image
  - card_title
  - card_subtitle
  - card_description
  - weight
  - image_url
- swiper_card_layout: Swiper card layout
- default_data: Container backgraoud color

Support

Please post bug reports, feature requests and support requests to the Swiper Cards module issue queue.

Demo

Installation and download

Installation with Composer:

composer require 'drupal/swiper_cards'

Download latest version

Enable the module: Using the Drupal User Interface

  1. Navigate to the Extend page (admin/modules) via the Manage administrative menu
  2. Locate the Swiper Cards module and check the box next to the module
  3. Click Install to enable (turn on) the module

Looking for Swiper Cards support?

Free community support options
Developers can participate our support channels on a best-effort basis, Drupal Answers.

Drupal 9–11

Ask your assistant about Swiper Cards

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

  • block Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.1.x-dev Dev 9–11 Jan 26, 2025
1.1.0 Stable 9–11 Jan 26, 2025