CONTACT SECTIONS / FREE HTML + ASTRO

Civic Help contact routing section

A contact routing section that separates your account, a local service, website help, general enquiry.

Try the design

Open demo ↗

Preview links stay in the example. Copy the source to use your own destinations. Form previews never send information.

Copy the source

<section
  class="fct-civic-help-contact-routing x-contact-routing"
  data-snippet="civic-help-contact-routing"
  aria-labelledby="fct-civic-help-contact-routing-title"
>
  <div class="x-wrap">
    <header class="x-contact-head">
      <p class="x-kicker">CIVIC HELP / CONTACT</p>
      <h2 class="x-title" id="fct-civic-help-contact-routing-title">Get to the right team.</h2>
      <p class="x-lead">Choose the right route for your question, idea or next project.</p>
    </header>
    <div class="x-contact-routes">
      <article data-topic="your account">
        <span class="x-route-number">01</span>
        <div>
          <h3>Your account</h3>
          <p>Start here for questions about this part of our work.</p>
          <a href="mailto:youraccount@example.com"
            >Contact this team <span aria-hidden="true">↗</span></a
          >
        </div>
      </article>
      <article data-topic="a local service">
        <span class="x-route-number">02</span>
        <div>
          <h3>A local service</h3>
          <p>A direct route for information and practical next steps.</p>
          <a href="mailto:alocalservice@example.com"
            >Contact this team <span aria-hidden="true">↗</span></a
          >
        </div>
      </article>
      <article data-topic="website help">
        <span class="x-route-number">03</span>
        <div>
          <h3>Website help</h3>
          <p>Find the details and people relevant to your enquiry.</p>
          <a href="mailto:websitehelp@example.com"
            >Contact this team <span aria-hidden="true">↗</span></a
          >
        </div>
      </article>
      <article data-topic="general enquiry">
        <span class="x-route-number">04</span>
        <div>
          <h3>General enquiry</h3>
          <p>For anything that does not fit the other routes.</p>
          <a href="mailto:generalenquiry@example.com"
            >Contact this team <span aria-hidden="true">↗</span></a
          >
        </div>
      </article>
    </div>
    <div class="x-contact-general">
      <p>Not sure where to start?</p>
      <a href="mailto:hello@example.com">hello@example.com ↗</a>
    </div>
    <p class="x-note x-sample">
      Illustrative organization, topics and contact destinations. Replace with your actual
      information.
    </p>
  </div>
</section>

Where this design fits

The layout routes visitors by the question they have rather than asking everyone to use one generic form. Replace the sample people, destinations and organization details with your own.

  • Distinct enquiry routes
  • Clear direct contact information
  • Readable no-JavaScript content

The real-site reference

GOV.UK services ↗

The reference informs service navigation and clear task grouping. This example uses original branding, copy, styling and code; it does not reproduce the reference product or its assets. Reference inspected 2 November 2026. This example has its own branding, content and code; it is not affiliated with the reference product.

What is included

The HTML ZIP includes a standalone demo, reusable markup, scoped CSS, a license and setup notes. The Astro ZIP includes Snippet.astro. It can be imported into an existing Astro page or layout.

Set the right destinations

Example navigation, policy and contact links must point to your actual pages. Update visible business details and telephone/email links together. Remove sections that your website does not need.

Add it to an HTML website

  1. Copy snippet.html into the relevant page section.
  2. Load snippet.css after your existing site stylesheet. The class prefix identifies this design.
  3. No JavaScript is needed for this design.
  4. Replace example content and check mobile widths, zoom, links and keyboard focus in your actual website.

Use it in Astro

Copy Snippet.astro into src/components/, import it into your page or shared layout, and insert the component where the section belongs. Keep each generated prefix unique if you duplicate a component on one page.

Keep the section maintainable

Start with the variables at the top of the CSS for background, text and accent colors. Preserve semantic labels and focus styles. Existing site selectors can still affect imported markup, so test the combined result. Read the complete setup notes.

GOOD DESIGN, OCCASIONALLY.

Your next idea
could start here.

New templates, useful guides, and updates from us.
A little inspiration for whatever you’re building.