Cards

Builds one or more flexible content cards in a responsive row.

Use this page as both implementation documentation and a visual regression fixture. Compare the editor canvas with the published page at every responsive breakpoint.


Basic example

Card heading

Editable sample content for comparing the editor and front end.


Option examples

1 card

Responsive 1/1/1 columns at small, medium, and large widths.

Card 1

Example content for a 1-column card layout.

2 cards

Responsive 1/2/2 columns at small, medium, and large widths.

Card 1

Example content for a 2-column card layout.

Card 2

Example content for a 2-column card layout.

3 cards

Responsive 1/2/3 columns at small, medium, and large widths.

Card 1

Example content for a 3-column card layout.

Card 2

Example content for a 3-column card layout.

Card 3

Example content for a 3-column card layout.

4 cards

Responsive 1/2/4 columns at small, medium, and large widths.

Card 1

Example content for a 4-column card layout.

Card 2

Example content for a 4-column card layout.

Card 3

Example content for a 4-column card layout.

Card 4

Example content for a 4-column card layout.

No gutters and unequal height

Exercises gutter removal, centered alignment, bottom alignment, and natural card heights.

Short

Short content.

Long

Longer content that demonstrates the natural unequal-height option across the row.

Accent borders

Left and right accent borders using configured theme colors.

Primary left

Configured accent border.

Secondary right

Configured accent border.

Success left

Configured accent border.

Warning right

Configured accent border.

Alert left

Configured accent border.

Contrast right

Configured accent border.


Available options

OptionPurpose and values
CardsAdd, remove, and reorder nested cards.
ColumnsResponsive column count for small, medium, and large screens.
GuttersControls spacing between cards.
AlignmentHorizontal and vertical cell alignment.
Accent borderOptional left or right border using any configured theme color.
Card mediaImage or video at the top of an individual card.
Card divider/sectionStructured heading and body regions.
AdvancedHTML anchor and additional CSS classes are available when supported by the block.

Editor workflow

  • Select the outer component to configure system-wide behavior in the block sidebar.
  • Select a nested item to configure content-specific behavior.
  • Use List View to add, reorder, duplicate, or remove nested items.
  • Preview desktop, tablet, and mobile widths before publishing.

Verification checklist

  • Editor and front-end appearance match.
  • Keyboard navigation and visible focus states work.
  • Text, labels, and controls remain readable at 200% zoom.
  • Small, medium, and large layouts behave as documented.
  • Saved markup contains no unexpected inline styling or invalid blocks.