template
Explore creation
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
A task-first civic service portal with strong black rules, accessible search and plain-language service results.
<!-- Original layout, SVG/CSS artwork and JavaScript © 2026 XXC Templates. MIT License.
Visual pattern references (original code, names and content; no affiliation):
GOV.UK: https://www.gov.uk/
Task-led public information, clear headings, strong rules and direct service navigation.
Illustrative sample content and data; no real accounts, payments, reservations or messages. -->
<header><b>▰ NORTHBOROUGH</b><span>YOUR LOCAL COUNCIL / DEMONSTRATION</span></header>
<main>
<section class="civic-title">
<p>SERVICES FOR EVERYDAY LIFE</p>
<h1>What do you<br />need to do?</h1>
<div class="search">
<label class="sr-only" for="query">Find a service</label
><input id="query" placeholder="Search services" /><button id="change">Find housing →</button>
</div>
</section>
<section class="services">
<article data-search="housing repairs support">
<h2>Housing & your home →</h2>
<p>Repairs, housing advice and local support.</p>
</article>
<article data-search="bins recycling waste">
<h2>Bins & recycling →</h2>
<p>Collection days, missed bins and recycling.</p>
</article>
<article data-search="streets roads transport">
<h2>Streets & transport →</h2>
<p>Roads, parking and getting around.</p>
</article>
<article data-search="schools education">
<h2>Schools & learning →</h2>
<p>School places, term dates and adult learning.</p>
</article>
<article data-search="parks gardens">
<h2>Parks & public spaces →</h2>
<p>Local parks, allotments and shared places.</p>
</article>
<article data-search="help support">
<h2>Community support →</h2>
<p>Practical help when you need it.</p>
</article>
</section>
<aside>
<b>Need a different kind of help?</b>
<p>This is a fictional council website. No actual services or applications are provided.</p>
</aside>
<output data-status aria-live="polite"></output>
<footer class="demo-note">Fictional brand · local interface demo · no information is sent</footer>
</main>
* {
box-sizing: border-box;
}
html {
scrollbar-gutter: stable;
}
body {
margin: 0;
font:
14px/1.5 Arial,
Helvetica,
sans-serif;
background: #fff;
color: #202622;
}
h1,
h2,
h3,
p,
figure {
margin: 0;
}
main,
section,
article,
aside,
header,
nav {
min-width: 0;
}
button,
input,
select,
textarea {
font: inherit;
max-width: 100%;
min-width: 0;
}
button,
a,
input,
select,
summary {
touch-action: manipulation;
}
button {
cursor: pointer;
}
a {
color: inherit;
}
img {
display: block;
max-width: 100%;
object-fit: cover;
}
svg {
display: block;
max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
outline: 3px solid #2781da;
outline-offset: 3px;
}
[hidden] {
display: none !important;
}
[data-status] {
display: block;
min-height: 24px;
font-size: 12px;
margin-top: 14px;
}
.demo-note {
font:
9px/1.6 ui-monospace,
monospace;
padding: 16px 0;
opacity: 0.75;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
dialog {
max-width: calc(100vw - 32px);
width: 480px;
border: 1px solid #666;
padding: 25px;
background: #fff;
color: #202622;
}
dialog::backdrop {
background: #0008;
}
dialog h2 {
margin-bottom: 15px;
}
dialog p {
margin: 12px 0;
}
dialog button {
margin-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
*,
*:before,
*:after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
body {
background: #fff;
color: #172a36;
}
header {
background: #172a36;
border-bottom: 6px solid #d7ac3e;
color: #fff;
padding: 20px 35px;
display: flex;
align-items: center;
gap: 30px;
}
header > b {
font-size: 20px;
letter-spacing: -0.5px;
}
header > span {
font: 7px monospace;
letter-spacing: 1px;
margin-left: auto;
color: #aebec6;
}
main {
max-width: 1080px;
margin: auto;
padding: 30px 35px;
}
.civic-title > p {
font: 8px monospace;
letter-spacing: 1px;
color: #748a97;
}
h1 {
font-size: 49px;
line-height: 1;
letter-spacing: -2px;
margin: 20px 0;
}
.search {
display: flex;
gap: 0;
max-width: 570px;
margin-top: 22px;
}
input {
border: 2px solid #243f4f;
flex: 1;
padding: 12px;
font-size: 13px;
}
button {
background: #235f82;
color: #fff;
border: 0;
padding: 12px 18px;
font-size: 11px;
}
.services {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px 30px;
margin: 30px 0;
}
article {
border-top: 3px solid #243f4f;
padding-top: 13px;
}
h2 {
font-size: 16px;
color: #245b7c;
}
article p {
font-size: 11px;
line-height: 1.8;
color: #8c9ca6;
margin-top: 8px;
}
aside {
border-left: 5px solid #d8b450;
background: #f2f1e9;
padding: 15px 20px;
}
aside b {
font-size: 12px;
}
aside p {
font-size: 10px;
line-height: 1.7;
color: #919783;
margin-top: 6px;
}
@media (max-width: 530px) {
header {
padding: 18px;
}
header > span {
display: none;
}
main {
padding: 25px 20px;
}
h1 {
font-size: 44px;
}
.services {
grid-template-columns: 1fr;
gap: 23px;
}
button {
font-size: 9px;
padding: 10px;
}
.search input {
width: 50%;
font-size: 12px;
}
}
(() => {
"use strict";
const $ = (s) => document.querySelector(s),
$$ = (s) => [...document.querySelectorAll(s)];
const status = (text) => {
const el = $("[data-status]");
if (el) el.textContent = text;
};
const escapeText = (s) =>
String(s).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
function choose(selector, fn) {
$$(selector).forEach((b) =>
b.addEventListener("click", () => {
$$(selector).forEach((x) => x.setAttribute("aria-pressed", String(x === b)));
fn(b);
}),
);
}
function filter(selector, items, key) {
choose(selector, (b) => {
$$(items).forEach(
(el) => (el.hidden = b.dataset[key] !== "all" && el.dataset.kind !== b.dataset[key]),
);
status($$(items).filter((el) => !el.hidden).length + " results shown.");
});
}
function textList(target, values) {
$(target).replaceChildren(
...values.map((text) => {
const p = document.createElement("p");
p.textContent = text;
return p;
}),
);
}
function find() {
const q = $("#query").value.toLowerCase().trim();
$$(".services article").forEach((el) => (el.hidden = !el.dataset.search.includes(q)));
status($$(".services article").filter((el) => !el.hidden).length + " sample services found.");
}
$("#query").addEventListener("input", find);
$("#change").addEventListener("click", () => {
$("#query").value = "housing";
find();
});
})();
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
A warm paper diagram explaining sender, recipient and message relationships with key and envelope glyphs…
A pale violet delivery pipeline with branch and merge relationships, distinct gates and a selectable pro…