Magoo Component UI logo Magoo Component UI
← Catalog

Contact Hero

contact-hero organism experimental

A two-column contact call to action - heading, subheading and details on the left, a simple contact form on the right.

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default

Let's build something together

Tell us about your project and we'll get back to you within one business day.

EmailOnly

Have a brief in mind?

Send it over and we'll reply with next steps.

Props

NameTypeReq
heading string ✓
subheading string
email string
phone string

Related components

How to use

behavior.js listens for the form's submit, prevents the default navigation, collects the field values with FormData, and dispatches a bubbling "contact:submit" CustomEvent whose detail is the { name, email, message } map. It reads everything from the form itself - the portable self-init passes no props object - and removes the listener on cleanup.

Use cases

bannerhighlight WCAG AA SEO 55 dir: both ai-generated