Effects · Gutenberg

Holographic Card block for WordPress

A card with an iridescent holographic foil surface effect that reacts to mouse movement with rainbow shimmer and 3D tilt.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

A card with an iridescent holographic foil surface effect that reacts to mouse movement with rainbow shimmer and 3D tilt.

Inspector panels on this block: Card Content, Card Size, Holographic Effect. Those titles come from index.js, not from a shared template.

Where to find it

Gutenberg inserter → Effects → search “Holographic Card” (block name `blockenberg/holographic-card` in block.json). Style it in the sidebar after insert.

How to use Holographic Card block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Holographic Card”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Card Content. Set “Badge text”, “Show badge”, “Link URL”, “Link text”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Badge textText field in the inspector. block.json default: ✦ Premium. Saved as `badge`.
Show badgeOn/off toggle in the inspector. On by default. Saved as `showBadge`.
Link URLText field in the inspector. Saved as `linkUrl`.
Link textText field in the inspector. block.json default: Explore Now. Saved as `linkText`.
Show link buttonOn/off toggle in the inspector. On by default. Saved as `showLink`.
Card width (px)Numeric range control in the inspector. Range 200–600. block.json default: 320. Saved as `cardWidth`.
Card height (px)Numeric range control in the inspector. Range 200–700. block.json default: 440. Saved as `cardHeight`.
Border radiusNumeric range control in the inspector. Range 0–60. block.json default: 20. Saved as `cardRadius`.
Tilt strength (°)Numeric range control in the inspector. Range 0–40. block.json default: 15. Saved as `tiltStrength`.
Shine opacity (%)Numeric range control in the inspector. Range 0–100. block.json default: 60. Saved as `shineOpacity`.
Glare opacity (%)Numeric range control in the inspector. Range 0–100. block.json default: 40. Saved as `glareOpacity`.
Foil hue offset (°)Numeric range control in the inspector. Range 0–360. block.json default: 0. Saved as `foilHue`.
Foil saturation (%)Numeric range control in the inspector. Range 20–100. block.json default: 80. Saved as `foilSaturation`.
Badge font sizeNumeric range control in the inspector. Range 9–20. block.json default: 12. Saved as `badgeFontSize`.
Link text sizeNumeric range control in the inspector. Range 11–22. block.json default: 14. Saved as `linkTextSize`.
Card backgroundColor control in the inspector. block.json default: #1a1035. Saved as `cardBg`.
Title colorColor control in the inspector. block.json default: #ffffff. Saved as `titleColor`.
Subtitle colorColor control in the inspector. block.json default: rgba(255,255,255,0.7). Saved as `subtitleColor`.
Badge backgroundColor control in the inspector. block.json default: rgba(255,255,255,0.15). Saved as `badgeBg`.
Badge textColor control in the inspector. block.json default: #ffffff. Saved as `badgeColor`.
Link backgroundColor control in the inspector. block.json default: rgba(255,255,255,0.15). Saved as `linkBg`.
Link textColor control in the inspector. block.json default: #ffffff. Saved as `linkColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Holographic Card block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Holographic Card”. It sits under Effects. After insert, open Card Content and set “Badge text”, “Show badge”, “Link URL”, “Link text”.

What makes Holographic Card different from other Blockenberg blocks?

A card with an iridescent holographic foil surface effect that reacts to mouse movement with rainbow shimmer and 3D tilt. Inspector labels on this block include “Badge text”, “Show badge”, “Link URL”, “Link text”.

Is the Holographic Card Gutenberg block free?

Yes. Holographic Card ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Holographic Card to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Card Content, Card Size, Holographic Effect).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Holographic Card from the Gutenberg inserter.

Get Blockenberg