Business · Gutenberg

Contact Card block for WordPress

Business card block with photo, contact details, and social links. Multiple style variants.

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

Business card block with photo, contact details, and social links. Multiple style variants.

Inspector panels on this block: Identity, Contact Details, Social Links (, Appearance. Those titles come from index.js, not from a shared template.

Behavior controls: “Platform” options: LinkedIn, GitHub, Twitter/X, Instagram, YouTube; “Card style” options: Card (bordered + shadow), Flat (no shadow), Minimal (no border), Badge (accent header); “Orientation” options: Vertical (stacked), Horizontal (side by side); “Appearance — Alignment” options: Left, Center, Right.

Where to find it

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

How to use Contact 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 “Contact Card”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Identity. Set “Name”, “Job title”, “Company”, “Show photo”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
NameText field in the inspector. block.json default: Sarah Johnson. Saved as `name`.
Job titleText field in the inspector. block.json default: Lead Designer. Saved as `jobTitle`.
CompanyText field in the inspector. block.json default: Acme Studio. Saved as `company`.
Show photoOn/off toggle in the inspector. On by default. Saved as `showPhoto`.
Show linksOn/off toggle in the inspector. On by default. Saved as `showLinks`.
PlatformSelect control; the chosen value is saved on the block. Options: LinkedIn; GitHub; Twitter/X; Instagram; YouTube; Dribbble; Behance; Custom. Saved as `links`.
URLText field in the inspector. Saved as `links`.
Link label (for aria)Text field in the inspector. Saved as `links`.
Card styleSelect control; the chosen value is saved on the block. Options: Card (bordered + shadow); Flat (no shadow); Minimal (no border); Badge (accent header). block.json default: card. Saved as `style`.
OrientationSelect control; the chosen value is saved on the block. Options: Vertical (stacked); Horizontal (side by side). block.json default: vertical. Saved as `cardOrientation`.
Appearance — AlignmentSelect control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: center. Saved as `align`.
Max width (px)Numeric range control in the inspector. Range 200–700. block.json default: 380. Saved as `maxWidth`.
Avatar size (px)Numeric range control in the inspector. Range 48–140. block.json default: 88. Saved as `avatarSize`.
Border radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `borderRadius`.
Card padding (px)Numeric range control in the inspector. Range 12–60. block.json default: 28. Saved as `cardPadding`.
Show shadowOn/off toggle in the inspector. On by default. Saved as `showShadow`.
Show dividerOn/off toggle in the inspector. On by default. Saved as `showDivider`.
Name (Typo Name)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoName`.
Meta / DetailsShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoMeta`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `cardBorder`.
Accent (header / avatar bg)Color control in the inspector. block.json default: #6366f1. Saved as `accentBg`.
Name ColorColor control in the inspector. block.json default: #111827. Saved as `nameColor`.
Title ColorColor control in the inspector. block.json default: #6b7280. Saved as `titleColor`.
Detail TextColor control in the inspector. block.json default: #374151. Saved as `companyColor`.
Icon BackgroundColor control in the inspector. block.json default: #f1f5f9. Saved as `iconBg`.
Icon ColorColor control in the inspector. block.json default: #374151. Saved as `iconColor`.
Link Hover ColorColor control in the inspector. block.json default: #6366f1. Saved as `linkColor`.
Divider ColorColor control in the inspector. block.json default: #f1f5f9. Saved as `dividerColor`.

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 Contact Card block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Contact Card”. It sits under Business. After insert, open Identity and set “Name”, “Job title”, “Company”, “Show photo”.

What makes Contact Card different from other Blockenberg blocks?

Business card block with photo, contact details, and social links. Multiple style variants. Inspector labels on this block include “Name”, “Job title”, “Company”, “Show photo”.

Is the Contact Card Gutenberg block free?

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

Can I style Contact 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: Identity, Contact Details, Social Links (, Appearance).

Related business blocks

Get Blockenberg

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

Get Blockenberg