Split contact section
Contact details on one side, the library's own contact form on the other.
Live preview
Source
This exact file renders the preview above.
components/blocks/sections/contact/split-form.tsx
components/blocks/forms/simple-contact.tsx
Demo source — adapt to your project. Foundry is not published as a package.
Usage
The form is the library's own SimpleContactForm rather than a re-implementation, which is the point of a section library: sections compose, they do not duplicate.
- Make email and phone real links; a copyable string is not an affordance.
- Say plainly that the details are fictional in a demo.
Variants and states
Every entry below is a genuine difference in behaviour or layout, and every one of them is visible in the preview above.
- Two-column at lg
- Working form
- Linked email and phone
Accessibility
- Definition list
- Contact details pair label and value programmatically.
- Reused form
- Validation, focus management and announcements come from the form component.
Foundry implements published ARIA patterns and is tested against them. No WCAG certification is claimed — see the accessibility documentation for what is and is not covered.
Related
All sectionsSimple contact
Three fields with a live character budget and both minimum and maximum length rules.
starterFeatured4 variantsOffice locations
Addresses with opening hours and a live open-or-closed status.
starter3 variantsRouted contact cards
Four routes with explicit response expectations instead of one form.
starter3 variants