
Contact Form — Details Split
A contact card with phone, email, address and hours beside a validated form. Inline errors, a spam trap, a success state and an optional endpoint.
New: the Goodwork Library. Build your own website with our templates, from £280.
Your own website, from £280.
See the LibraryLibrary →A two-tone headline over a pill email field that checks itself and thanks you in the same space, above a peek of the email.

A recording of the real preview. It runs live, and the code opens, once you are signed in. Sign in
The source is for customers
Sign in with your access key and it opens here, ready to copy. Library access also gives you every component as a paste-ready file, the offline gallery, and updates for 12 months.
£280 one-time for every component, the starter and the templates as they ship, with 12 months of updates and a commercial licence for finished sites.
Already bought it? Sign in to download.
In the bundle it's snippets/forms/heronewsletter.html. Once you're signed in you can also copy it from the Code tab.
Markup, styles and a small script in one self-contained block. There's no build step and no dependency, so it works in plain HTML, React, Vue or a CMS block.
Set the tokens below once on :root and every component follows. The brand tokens guide covers light themes and type.
It shows 5 demo photographs from goodworkagency.uk, so it works the moment you paste it. They're in your download too, under assets/media. Put your own in before launch.
The custom properties this snippet reads. Each has a fallback, so it renders before you set anything.
| Token | Used for | Fallback |
|---|---|---|
--accent | Brand colour: buttons, links, beams and focus | #3366FF |
--accent-2 | Second brand colour: gradients and glows | #7A5CFF |
--accent-3 | Third brand colour: the warm end of gradients | #FF2DB3 |
--accent-4 | Warm accent: the full stop, live dots and badges | #FF6B5E |
--accent-grad | The brand gradient: fills, borders and type | linear-gradient(135deg,#3366FF 0%,#7A5CFF 38%,#FF2DB3 74%,#FF6B5E 100%) |
--ink | Headings and strong text | #F4F0E8 |
--body | Body copy | #B6BDC8 |
--muted | Captions, labels and quiet detail | #8A93A2 |
--card | Raised surfaces: cards, pills, panels | #15181E |
--line | 1px borders and dividers | #262C34 |
--sans | Typeface | Poppins,system-ui,sans-serif |
snippets/forms/heronewsletter.html
A contact card with phone, email, address and hours beside a validated form. Inline errors, a spam trap, a success state and an optional endpoint.

A trade quote form: job chips, UK postcode check, timing, a description with photo drop zone and contact details. Photos preview and post with the form.

A three-step enquiry with option cards, a progress bar and a step rail that ticks off. Each step validates before moving on, and the last one sums up what you asked for.