Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views 3D Carousel - Views Vanilla JavaScript 3D Carousel (VVJC)

Security covered Maintenance fixes only 129 sites

This module allows you to create interactive 3D carousels for displaying content within Drupal Views. It uses pure JavaScript for a lightweight experience and offers extensive customization options for appearance, responsiveness, and user interaction, including keyboard and touch support.

VVJC adds a 3D carousel format to Drupal Views. It is for site builders who want a view's results shown as cards in depth, on a rotating ring or a coverflow fan, without custom code.

Each result row becomes a card. What sets VVJC apart from the other VVJ formats is that it places cards in depth and shows one stage, sized by a max width and two heights, instead of a number of items per screen. It works with any Views row plugin. It requires VVJ Core, which holds the settings shared by all VVJ formats.

Start here

Features

VVJC has no settings page of its own. Open a view under Structure > Views, set "Format" to "Views Vanilla JavaScript 3D Carousel", then open "Settings".

  • "Dimensions settings": "Carousel style" is "Rotating ring (3D drum)", the default, or "Coverflow (angled cards)". "Max width" runs from 300 to 1000 pixels in steps of 100. "Large screen height" and "Small screen height" are presets. "Perspective (px)" at 0 sets the depth automatically. Defaults: ring style, max width 500 px, large screen height 400 px, small screen height 350 px.
  • "Behavior settings": "Auto-rotate interval" is "None" or a choice from "2 s" to "15 s". "Pause on hover", "Enable touch/swipe gestures" and "Enable keyboard navigation" are checkboxes. Keyboard navigation uses the arrow keys, Space, Home and End. The default interval is 5 s.
  • "Controls & navigation": "Show navigation arrows", "Show play/pause button", "Show slide counter", "Show progress bar", "Show dots navigation" and "Scrollable dots width (px)". The play/pause button is always shown while auto-rotation runs. The progress bar needs auto-rotation.
  • "Accessibility options": "Enable screen reader announcements" and "Respect reduced motion preference". With reduced motion, auto-rotation pauses.
  • "Style settings": "Background color" (default white, #ffffff), "Background color opacity" (0 to 1 in steps of 0.1) and "Disable background color".
  • "Responsive settings": "Responsive breakpoint", with the choices 576, 768, 992, 1200 and 1400 pixels.
  • Shared sections: "Deep linking settings", "Token documentation" and "Patterns" come from VVJ Core. Deep linking needs "Show dots navigation" to be on. A link such as #carousel3d-gallery-3 opens the third slide. The words carousel3d, carousel, slide, vvjc and vvj are reserved as identifiers. VVJC has no "Enable CSS library" checkbox.
  • Tokens: in the view header, footer or empty text, use [vvjc:field] or [vvjc:field:plain].
  • JavaScript API: Drupal.vvjc.goToSlide, nextSlide, prevSlide, pause, resume, pauseAll, resumeAll, getCurrentSlide, getTotalSlides, getInstance and getAllInstances.
  • Help page: read /admin/help/vvjc after you enable the module.
  • Example view: an optional view named "VVJC Example" is available at /vvjc-example.

Keep the slide count to about 30 for 3D performance.

Patterns

A Pattern is a ready-made design. Enable the VVJ Patterns submodule from VVJ Core, then choose a Pattern in the "Patterns" section. VVJC ships five:

  • Story reel: a coverflow fan of tall photo cards, with story bars on top that fill with time.
  • Orbit dock: a deep ring of wide photos with a caption chip and a floating dock with a progress ring.
  • Index split: a big counter and a numbered index on the left, a ring of text cards on the right. It has no autoplay.
  • Thumb rail: a wide coverflow fan with a caption bar and a rail of numbered tiles below.
  • Ambient stage: a ring of square cards on a soft glow, on a dark ground, with a big counter and a tick scrubber.

Each Pattern needs fields in this order where listed: image, kicker, title, summary and link. Give the field elements the classes vvj-media, vvj-kicker, vvj-title, vvj-summary and vvj-link. Story reel, Orbit dock and Thumb rail need only image, kicker and title. After you pick a Pattern, the list headed "To finish the Pattern" shows what is left to set. With vvj_patterns_demo enabled, demo pages appear at vvj/vvjc/story-reel, orbit-dock, index-split, thumb-rail and ambient-stage.

Installation: get started in 3 steps

  1. Install the module with Composer. This also installs VVJ Core:
    composer require 'drupal/vvjc:^2.0'
  2. Enable it on the Extend page, or with Drush:
    drush en vvjc
  3. Open a view under Structure > Views, set "Format" to "Views Vanilla JavaScript 3D Carousel", and open "Settings" to choose the carousel style and size.

To upgrade from VVJ 1.x, upgrade every installed VVJ module to 2.x together. Mixing 1.x and 2.x is not supported. The steps are on the VVJ Core page.

Requirements

  • Drupal ^11.3 || ^12
  • PHP 8.3 or later
  • VVJ Core
  • Views and Filter (both in Drupal core)

Sites on Drupal 10 or on Drupal 11.0 to 11.2, or on PHP 8.1 or 8.2, stay on VVJ 1.x.

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 11 · not 10 PHP 8.3

Ask your assistant about Views 3D Carousel - Views Vanilla JavaScript 3D Carousel (VVJC)

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

  • VVJ Core
  • filter 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
26
Tracked since
Jul 2024
Latest release
1 day ago
Releases (12 mo)
9 ▲ from 7
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.14 Stable 10–11 Nov 12, 2025
1.0.13 Stable 10–11 Jun 3, 2025
1.0.12 Stable 10–11 Jun 1, 2025
1.0.11 Stable 10–11 Mar 5, 2025
1.0.10 Stable 10–11 Mar 4, 2025
1.0.9 Stable 10–11 Jan 21, 2025
1.0.8 Stable 10–11 Nov 25, 2024
1.0.7 Stable 10–11 Aug 30, 2024
1.0.6 Stable 10–11 Aug 21, 2024
1.0.5 Stable 10–11 Aug 18, 2024