Skip to header Skip to main navigation Skip to main content Skip to footer
Cookies UI
Site branding
Alaa Haddad - Drupal Expert
Consultant • Architect • Developer • Themer - Expert Drupal Solutions
Main navigation
Alaa Haddad Offers Exceptional Drupal Custom Theming and Modules in Austin TX Alaa Haddad - Drupal Expert
  • Professional Profile
  • Drupal Services
    • Drupal Development
    • Drupal Developer
    • Drupal Themer
    • Drupal Architect
    • Drupal Consultant
  • My Drupal Modules & Themes
      • Cloudflare Purge
      • Solo Copy Blocks
      • W3CSS Paragraphs
      • Paragraphs Bundles
      • Acquia Purge Varnish
      • Reference Blocked Users
      • Module Matrix
      • Paragraphs Bundles Import
      • Selectify
      • Solo Utilities
      • Utilikit
      • Solo
      • Amun
      • Anhur
      • Amunet
      • W3CSS Theme
      • 3D Carousel
      • 3D FlipBox
      • Accordion
      • Carousel
      • Hero
      • Lightbox
      • Parallax
      • Reveal
      • Slideshow
      • Tabs
  • Blog
  • Videos
  • Contact
  • Hire Me (opens in new tab)

Views 3D FlipBox (Drupal Module)

Breadcrumbs

Breadcrumb

  • Home
  • Drupal Modules
  • Views 3D FlipBox (Drupal Module)

Main page content

Alaa Haddad, professional Drupal developer based in Austin, TX   Alaa Haddad
  10:43 PM CDT, Sun September 13, 2026
Share

Views 3D FlipBox (VVJF) renders each row of a Drupal Views listing as a two-sided card that flips on hover or click to reveal a back face, in vanilla JavaScript with no jQuery. It requires Drupal 11.3 or 12, and it is free on drupal.org.

What it does

VVJF adds a Views style plugin called 3D Flipbox. The first field in your row becomes the front of the card; every other field becomes the back. Hovering or clicking — your choice — flips the card in 3D to reveal that back content. It is a genuine Views style plugin, so filters, sorting and the pager all work exactly as they would with any other display format.

Requirements

VVJF requirements, from vvjf.info.yml
RequirementValue
Drupal core^11.3 || ^12
PHP8.3 or later
PackageVVJ
Core module dependenciesViews, Filter
Contributed dependencyVVJ Core — required, installed automatically

VVJF 2.x requires VVJ Core. composer require drupal/vvjf:^2.0 installs it for you. A manual, non-Composer download needs VVJ Core downloaded and enabled separately — VVJF's flip behaviour is built on the custom-element rendering VVJ Core provides, and the module will not function without it.

Setting up your view

Row style must be Fields, with at least two fields. The first field can be any field type and becomes the front card; every field after it renders on the back. If the first field contains a link, VVJF disables its click behaviour via JavaScript so it cannot fight with the flip trigger — on hover, links on the front are disabled while links on the back stay active; on click, links on both sides are disabled unless the card has collapsed to a regular block on a small screen, in which case they re-enable.

Configuring the flip

Flip trigger
Hover or click.
Flip direction
Horizontal (Y-axis) or vertical (X-axis).
Flip speed
Animation duration, for example 0.6s for a smooth transition.
Front / back background colours
Independent colours for each face of the card.
Perspective
Tunes the 3D depth of the flip for a more or less pronounced effect.
Available breakpoints
Responsive breakpoints, or "none" to keep the flip active at every screen size.
Box height and width
Height and minimum width for each card.

On small screens the card can collapse into a regular, non-flipping block instead of forcing a flip interaction that does not translate well to touch — configure this through the breakpoints setting rather than disabling the module for mobile.

Features

  • No jQuery. Pure vanilla JavaScript.
  • 3D perspective control for the depth of the flip effect.
  • Responsive collapse. Configurable breakpoints let the card fall back to a flat block on small screens rather than forcing a flip gesture on touch devices.
  • Accessibility-enhanced. ARIA roles and properties give context to screen readers, keyboard navigation works without a mouse, and focus management follows the currently displayed side.
  • Independent front/back styling, including separate background colours per face.

Custom tokens for view header and footer

Views header and footer fields set to Global: Text area or Global: Unfiltered text with "Use replacement tokens from the first row" enabled cannot resolve standard {{ title }}-style tokens. Use VVJF's own syntax instead: [vvjf:title], [vvjf:field_image], and so on. Append :plain to strip HTML — [vvjf:title:plain]. These pull directly from the rendered first row and do not support complex multi-token rewrites; use one token per field. In v2, resolution runs through the shared vvj_core.token_resolver service, with the same token syntax as v1.

Installation

composer require drupal/vvjf
drush en vvjf -y
drush cr

Then edit or create a view, set Row style to Fields with at least two fields, and under Format choose 3D Flipbox as the style. Set the number of items to display in the Pager settings.

Developer and site builder tips

  • Every view using this plugin carries the CSS class vvj-flipbox alongside Views' own js-view-dom-id.
  • A flipped card gets the class flipped.
  • Hover and click classes are added to the main view element, and vertical/horizontal classes are added to each side, so you can target flip state and orientation directly in CSS.
  • To use more than one field as the front card, mark the extra fields "Exclude from display" and combine them with a Custom Global Field (Text) using Views' replacement patterns, ordered before the visible fields.
  • The Grouping Field feature in Views is not supported and should be avoided on a view using this style.

3D FlipBox or a carousel?

A flip card works best when you have exactly two states to show for each item — a summary and a detail, a question and an answer, an image and a caption — and you want the reveal to feel deliberate rather than automatic. If you have more than two pieces of content per item, or want continuous rotation through a larger set, Views 3D Carousel or Views Carousel fit better. If the content reads better as an expanding list than a flipping card, see Views Accordion. All four run on the same VVJ Core foundation.

Common questions

Does the card flip on hover or on click?

Either — it is a Format Settings option. Hover suits desktop-first designs; click is generally the safer default because it also works on touch devices without relying on a synthetic hover event.

What happens on small screens?

You control this through the breakpoints setting. Configure the card to collapse into a regular, non-flipping block below a chosen width instead of forcing a flip gesture on touch.

Does VVJF need jQuery?

No. It is vanilla JavaScript. It does depend on Drupal core's Views and Filter modules, and on VVJ Core.

Will VVJF work on Drupal 12?

Yes. It declares core_version_requirement: ^11.3 || ^12 and PHP 8.3 or later.

Can the front card be an image?

Yes. The first field can be any field type, including an image field, and it becomes the front of the card.

Need a hand?

VVJF is free and GPL-licensed, like all my contributed work. If you want a flip card styled to match an existing design, a build that goes beyond what Format Settings expose, or a Drupal 10 to 11/12 upgrade so you can run version 2, that is my day job.

Read about my Drupal services, see what a Drupal developer brings to a project, or get in touch.

Views Vanilla JavaScript 3D FlipBox
Slide 1 of 27
Acquia Purge Varnish - API V2 (Drupal Module)
Slide 2 of 27
Amun - W3CSS Sub-Theme (Drupal Theme)
Slide 3 of 27
Amunet - W3CSS Sub-Theme (Drupal Theme)
Slide 4 of 27
Anhur - W3CSS Sub-Theme (Drupal Theme)
Slide 5 of 27
Cloudflare Purge (Drupal Module)
Slide 6 of 27
Module Matrix (Drupal Module)
Slide 7 of 27
Paragraphs Bundles (Drupal Module)
Slide 8 of 27
Paragraphs Bundles Import (Drupal Module)
Slide 9 of 27
Reference Blocked Users (Drupal Module)
Slide 10 of 27
Selectify (Drupal Module)
Slide 11 of 27
Solo (Drupal Theme)
Slide 12 of 27
Solo Copy Blocks (Drupal Module)
Slide 13 of 27
Solo Utilities (Drupal Module)
Slide 14 of 27
Utilikit (Drupal Module)
Slide 15 of 27
Views 3D Carousel (Drupal Module)
Slide 16 of 27
Views 3D FlipBox (Drupal Module)
Slide 17 of 27
Views Accordion (Drupal Module)
Slide 18 of 27
Views Carousel (Drupal Module)
Slide 19 of 27
Views Hero (Drupal Module)
Slide 20 of 27
Views Lightbox (Drupal Module)
Slide 21 of 27
Views Parallax (Drupal Module)
Slide 22 of 27
Views Reveal (Drupal Module)
Slide 23 of 27
Views Slideshow (Drupal Module)
Slide 24 of 27
Views Tabs (Drupal Module)
Slide 25 of 27
VVJ Core (Drupal Module)
Slide 26 of 27
W3CSS Paragraphs (Drupal Module)
Slide 27 of 27
W3CSS Theme (Drupal Theme)
1 of 27

Our mission is to make Drupal more accessible and user-friendly, empowering businesses of all sizes, especially small enterprises with powerful tools that streamline content customization and enhance digital experiences.

Need help with your Drupal project? Hire Me through Flash Web Center, LLC.

Search

The Drupal 11 Module and Theme Stack, With Versions Checked

ARIA Live Regions in Drupal 11: What Core Does, What You Add

Drupal Architect: The Decisions Expensive to Reverse

Drupal Services: Development, Theming, Upgrades | Austin TX

Paragraphs Bundles

Drupal Module - Paragraphs Bundles

Drupal Theme - Solo

Drupal Theme - Solo

Drupal Work List - Drupal Work

Reference Blocked Users (Drupal Module)

Solo Utilities (Drupal Module)

Views Hero (Drupal Module)

Solo (Drupal Theme)

Paragraphs Bundles Import (Drupal Module)

Drupal Theme - W3CSS Theme

Drupal Theme - W3CSS Theme

Drupal Module - W3CSS Paragraphs

Drupal Module - W3CSS Paragraphs

Inspiration

Inspiration is the fuel that powers our creative engine, often coming from our surroundings, experiences, or the works of others. It's that magical moment when something clicks inside your brain, and you suddenly see a path forward that you hadn't noticed before. Inspiration can strike at any time, providing the motivation and energy needed to explore new possibilities and bring your ideas to life.

Unique Ideas

Unique Ideas

Unique ideas are the seeds of innovation, representing original thoughts or concepts that stand out from the usual. They're the sparks that ignite the process of creating something new and different, often leading to unexpected and groundbreaking solutions or products. Whether in art, science, business, or technology, unique ideas challenge the status quo and pave the way for progress.

Brainstorming

Brainstorming

Brainstorming is a creative group activity designed to generate a large number of ideas or solutions to a problem. It's a free-flowing and open-ended discussion where every suggestion is welcomed and considered, no matter how outlandish it may seem. Brainstorming encourages thinking outside the box, fostering an environment where creativity and collaboration lead to innovative solutions.

Planning

Planning

Planning is the blueprint for turning your ideas into reality. It involves setting goals, outlining steps, and organizing resources in a way that makes achieving your objectives possible. Good planning considers potential challenges and opportunities, making it easier to navigate the journey from concept to completion. It's about preparing the groundwork so that your projects can grow and flourish.

Drupal Developer

A Drupal Developer stands as the technical powerhouse behind dynamic websites, wielding expertise in PHP, custom module development, and Drupal's sophisticated API ecosystem. This role transforms business requirements into functional, secure, and scalable web solutions that power everything from small business sites to enterprise platforms serving millions of users. A Drupal Developer's expertise spans the entire development lifecycle—from architecting custom modules and integrating third-party services to optimizing performance and ensuring security compliance. Discover the complete guide to Drupal Developer skills, career paths, and hiring strategies.

Drupal Themer

A Drupal Themer serves as the artistic craftsperson who transforms wireframes and design mockups into pixel-perfect, accessible, and responsive user experiences using Twig templates, CSS, and JavaScript. This specialized role bridges the gap between design vision and technical implementation, ensuring every website not only looks exceptional but performs flawlessly across all devices and meets WCAG accessibility standards. A Drupal Themer's work encompasses the entire front-end ecosystem—from creating custom theme architectures and optimizing Core Web Vitals to implementing complex responsive designs and ensuring seamless integration with Drupal's rendering system. Explore the comprehensive guide to Drupal Themer expertise, theming best practices, and career advancement.

Drupal Architect

A Drupal Architect emerges as the strategic visionary of web construction, armed with encyclopedic knowledge of enterprise architecture patterns, infrastructure design, and Drupal's extensive technological ecosystem. This senior role operates at the highest technical level, making critical decisions that determine whether complex implementations scale successfully or collapse under real-world demands. A Drupal Architect's responsibilities begin long before development starts—during strategic planning phases where the foundation for secure, performant, and maintainable systems is established through careful evaluation of technology stacks, integration strategies, and scalability requirements. Learn about Drupal Architect skills, enterprise architecture strategies, and career progression to principal roles.

Footer menu

  • Contact
  • Professional Resume
  • Resume Summary
  • Technical Skills
  • Privacy Policy
  • Terms & Conditions
  • Search
  • Login
  • Sitemap

Copyright © 2026 Flash Web Center, LLC - All rights reserved

Developed & Designed by Alaa Haddad