Effects · Gutenberg

Content Flip Box block for WordPress

A responsive grid of cards that flip on hover or click to reveal a styled back face — perfect for services, features, team, and more.

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 responsive grid of cards that flip on hover or click to reveal a styled back face — perfect for services, features, team, and more.

Inspector panels on this block: Items, ✏, Front Colors, Back Colors, Grid & Layout, Flip Settings, Button Style. Those titles come from index.js, not from a shared template.

Behavior controls: “Text Align” options: Left, Center, Right; “Flip Direction” options: Horizontal (Y-axis), Vertical (X-axis), Fade; “Flip Trigger” options: On Hover, On Click.

Where to find it

Gutenberg inserter → Effects → search “Content Flip Box” (block name `blockenberg/content-flip-box` in block.json). Style it in the sidebar after insert.

How to use Content Flip Box block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Content Flip Box”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Items. Set “✏ — Title”, “✏ — Text”, “Front Colors — Background”, “Text Color”.
  4. Check the published page. The view script reads HTML data attributes: data-trigger. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
✏ — TitleText field in the inspector.
✏ — TextText field in the inspector.
Front Colors — BackgroundColor control in the inspector.
Text ColorColor control in the inspector.
Front Colors — TitleText field in the inspector.
Front Colors — TextText field in the inspector.
Button TextText field in the inspector.
Button URLText field in the inspector.
Back Colors — BackgroundColor control in the inspector.
Button BackgroundColor control in the inspector.
ColumnsNumeric range control in the inspector. Range 1–6. block.json default: 3. Saved as `columns`.
Grid & Layout — GapNumeric range control in the inspector. Range 0–60. block.json default: 24. Saved as `gap`.
Card Height (px)Numeric range control in the inspector. Range 160–600. block.json default: 280. Saved as `cardHeight`.
Border RadiusNumeric range control in the inspector. Range 0–40. block.json default: 16. Saved as `borderRadius`.
Text AlignSelect control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: center. Saved as `textAlign`.
Flip DirectionSelect control; the chosen value is saved on the block. Options: Horizontal (Y-axis); Vertical (X-axis); Fade. block.json default: horizontal. Saved as `flipDirection`.
Flip TriggerSelect control; the chosen value is saved on the block. Options: On Hover; On Click. block.json default: hover. Saved as `flipTrigger`.
Flip Speed (ms)Numeric range control in the inspector. Range 200–1200. block.json default: 600. Saved as `flipSpeed`.
Icon SizeNumeric range control in the inspector. Range 20–80. block.json default: 48. Saved as `iconSize`.
Typography — TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoTitle`.
Typography — TextShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoText`.
Show Front TextOn/off toggle in the inspector. On by default. Saved as `showFrontText`.
Show Back ButtonOn/off toggle in the inspector. On by default. Saved as `showBackBtn`.
Button Font SizeNumeric range control in the inspector. Range 11–20. block.json default: 14. Saved as `btnFontSize`.
Button Border RadiusNumeric range control in the inspector. Range 0–50. block.json default: 50. Saved as `btnRadius`.
Button Padding HNumeric range control in the inspector. Range 6–40. block.json default: 12. Saved as `btnPadding`.

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 Content Flip Box block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Content Flip Box”. It sits under Effects. After insert, open Items and set “✏ — Title”, “✏ — Text”, “Front Colors — Background”, “Text Color”.

What makes Content Flip Box different from other Blockenberg blocks?

A responsive grid of cards that flip on hover or click to reveal a styled back face — perfect for services, features, team, and more. Inspector labels on this block include “✏ — Title”, “✏ — Text”, “Front Colors — Background”, “Text Color”.

Is the Content Flip Box Gutenberg block free?

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

Can I style Content Flip Box 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: Items, ✏, Front Colors, Back Colors).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Content Flip Box from the Gutenberg inserter.

Get Blockenberg