template
Explore creation
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
An understated neighborhood decision page with a horizontal ballot, honest sample results and a local vote interaction.
<!-- Original layout, SVG/CSS artwork and JavaScript © 2026 XXC Templates. MIT License.
Visual pattern references (original code, names and content; no affiliation):
Discourse Meta: https://meta.discourse.org/
Discussion rows with category markers, reply counts and activity metadata.
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. -->
<main>
<header>
<b>common<br />ground</b><span>SMALL DECISIONS.<br />SHARED PLACES.</span>
</header>
<section class="poll-title">
<small>NEIGHBORHOOD QUESTION / 014</small>
<h1>What should we do<br />with the old courtyard?</h1>
<p>
Three ideas from the community. One place to begin.<br />Explore a sample ballot and its
illustrative results.
</p>
</section>
<section class="ballot" aria-label="Sample choices">
<button id="change" data-choice="garden" aria-pressed="false">
<span>✿</span>
<h2>A pocket garden</h2>
<p>A little more green, a place to sit.</p>
<small>CHOOSE THIS IDEA →</small></button
><button data-choice="workshop" aria-pressed="false">
<span>⚒</span>
<h2>An open workshop</h2>
<p>Tools, skills and room to make.</p>
<small>CHOOSE THIS IDEA →</small></button
><button data-choice="market" aria-pressed="false">
<span>▤</span>
<h2>A Saturday market</h2>
<p>Good food and familiar faces.</p>
<small>CHOOSE THIS IDEA →</small>
</button>
</section>
<section class="results">
<div>
<h2>A starting conversation</h2>
<span id="total">120 sample votes</span>
</div>
<div class="result" data-result="garden">
<b>Garden</b><i style="--w: 45%"></i><span>45%</span>
</div>
<div class="result" data-result="workshop">
<b>Workshop</b><i style="--w: 35%"></i><span>35%</span>
</div>
<div class="result" data-result="market">
<b>Market</b><i style="--w: 20%"></i><span>20%</span>
</div>
</section>
<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: #eef1e7;
color: #3d5646;
}
main {
max-width: 1000px;
margin: auto;
padding: 25px 35px;
}
header {
display: flex;
align-items: center;
gap: 35px;
border-bottom: 1px solid #a8b8a1;
padding-bottom: 20px;
}
header > b {
font:
bold 25px/0.9 Georgia,
serif;
letter-spacing: -1px;
}
header > span {
font: 7px/1.8 monospace;
letter-spacing: 1px;
color: #8d9f85;
}
.poll-title {
margin: 27px 0;
}
.poll-title > small {
font: 7px monospace;
letter-spacing: 1px;
color: #8d9f85;
}
h1 {
font:
37px/1.1 Georgia,
serif;
letter-spacing: -1px;
margin: 17px 0;
}
.poll-title p {
font-size: 11px;
line-height: 1.9;
color: #869680;
}
.ballot {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.ballot button {
background: #e1e8d9;
color: inherit;
border: 1px solid #afbea7;
padding: 20px;
text-align: left;
}
.ballot button[aria-pressed="true"] {
background: #ccdaba;
border-color: #59774e;
box-shadow: inset 0 0 0 1px #59774e;
}
.ballot button > span {
font-size: 28px;
color: #7c946b;
}
.ballot h2 {
font:
19px Georgia,
serif;
margin: 12px 0;
}
.ballot p {
font-size: 9px;
line-height: 1.8;
color: #819173;
}
.ballot small {
display: block;
font: 6px monospace;
margin-top: 22px;
color: #6b8659;
letter-spacing: 0.5px;
}
.results {
margin-top: 27px;
border-top: 1px solid #a8b8a1;
padding-top: 20px;
}
.results > div:first-child {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 18px;
}
.results h2 {
font:
20px Georgia,
serif;
}
.results > div:first-child > span {
font-size: 8px;
color: #95a38c;
}
.result {
display: flex;
align-items: center;
gap: 20px;
margin-top: 10px;
}
.result > b {
font:
10px Georgia,
serif;
width: 65px;
}
.result i {
flex: 1;
height: 7px;
background: linear-gradient(90deg, #8eab78 var(--w), #dbe3d2 var(--w));
}
.result > span {
font: 9px monospace;
width: 30px;
text-align: right;
}
@media (max-width: 520px) {
main {
padding: 20px;
}
h1 {
font-size: 31px;
}
.ballot {
grid-template-columns: 1fr;
}
.ballot button {
display: grid;
grid-template-columns: 36px 1fr;
column-gap: 15px;
padding: 15px;
}
.ballot button > span {
grid-row: 1/3;
}
.ballot h2 {
margin: 0 0 5px;
}
.ballot p,
.ballot small {
grid-column: 2;
}
.ballot small {
margin-top: 10px;
}
.results > div:first-child {
align-items: start;
flex-direction: column;
gap: 7px;
}
}
(() => {
"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;
}),
);
}
choose("[data-choice]", (b) => {
const base = { garden: 54, workshop: 42, market: 24 };
base[b.dataset.choice]++;
const total = 121;
$$("[data-result]").forEach((el) => {
const value = (base[el.dataset.result] / total) * 100;
el.querySelector("i").style.setProperty("--w", value + "%");
el.querySelector("span").textContent = Math.round(value) + "%";
});
$("#total").textContent = "120 sample votes + your local selection";
status("Selected " + b.dataset.choice + ". This demonstration does not submit a real vote.");
});
})();
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…