Skip to main content

Design system components

ContactPageContentEditorial

Editorial /contact page body: intro copy, address and direct contact lines, the inquiry panel with its form and success state, a New Business block and a pull quote.

Status: stable. Group: marketing. Markdown version: /design-system/components/contact-page-content-editorial.md

When to use

ContactPageContentEditorial assembles the editorial contact page: intro copy, an address and a description list of Email, Call and Chat direct lines (mailto, tel, WhatsApp and Signal links with copy buttons), ContactInquiryPanel with the message form and the post-submit success state, a New Business block with a portrait and a CTA plus a pull quote. The CTA labelled "Book a call" scrolls to the message form, not the booking tab. On mount, a #contact-form hash scrolls to the form. initialInquiryMode and bookingPackageId wire /pricing deep links through to the booking tab. Mount once per /contact route; the route provides metadata and page chrome.

When not to use

  • Do not mount more than once per /contact route. Each instance reacts to the #contact-form hash, and the route provides metadata and page chrome.

Look-alikes

The contract names no look-alike with a deciding condition.

Props

ContactPageContentEditorial props
PropTypeDefaultDescriptionRequired
classNamestringnoneCustom className.No
initialInquiryMode"message" | "book"noneDeep-link from /contact?mode=book.No
bookingPackageIdstringnoneDeep-link from /contact?package=ux-sprint.No
bookingConfigSiteBookingConfignoneServer-resolved booking embed config from env vars.No
calculatorSummarystringnoneThe pricing calculator choice the visitor arrived with, already worded.No

Variants

  • Allowed initialInquiryMode values: message, book.

Invalid combinations

The contract records no invalid combinations.

Keyboard

The contract records no keyboard interaction.

Rules

Every item under When not to use is a MUST NOT. MUST and SHOULD follow RFC 2119.

ContactPageContentEditorial rules
LevelRuleHow it is checked
MUSTARIA: Direct lines render as a description list: Email, Call and Chat are dt terms; their dd values hold mailto, tel, WhatsApp and Signal links plus CodeCopyButtons with translated labels. The WhatsApp and Signal links open with target=_blank.Not yet verified: no evidence record. WCAG 4.1.2.
MUSTARIA: The New Business CTA is an in-page anchor to #contact-form; activating it scrolls ContactInquiryPanel to its message form and rewrites the URL hash.Not yet verified: no evidence record. WCAG 4.1.2.
MUSTRequired stories produce no axe violations at the configured severity.Automated by npm run test:stories:matrix:ci. WCAG 2.5.8.
MUSTThe accessibility tree (role, name, state) matches the committed snapshot for every required story.Automated by npm run test:stories:matrix:ci. WCAG 1.3.1, 4.1.2.
MUSTThe component remains legible and operable under a real browser forced-colors: active pass.Automated by npm run test:stories:hc.
MUSTA human completed an end-to-end accessibility review of this component.Manual review, last on 2026-11-04.

Install and import

  • In-repo only. ContactPageContentEditorial is not exported from @digitaltableteur/react, so there is no public import path.