template
Explore creation
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
A public-service volunteer board with sharp blue rules, shift availability and a working local signup counter.
<!-- 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. -->
<main>
<header>
<div><b>good hours</b><span>TIME WELL SHARED.</span></div>
<a href="#shifts">Available shifts →</a>
</header>
<section class="hours-title">
<p>YOUR NEIGHBORHOOD NEEDS YOUR KIND OF GOOD.</p>
<h1>Two hours.<br />More possibilities.</h1>
<div>
<strong id="hours">0</strong><span>demo hours<br />you've committed</span>
</div>
</section>
<section id="shifts">
<div class="roster-head">
<h2>Pick a small place to start.</h2>
<span>THIS WEEK / SAMPLE SHIFTS</span>
</div>
<article>
<div class="day">TUE<b>01</b></div>
<div>
<h3>Library helpers</h3>
<p>Sort, shelve and share a good story.</p>
</div>
<span>16:00–18:00</span
><button id="change" data-shift="Library helpers">Count me in +</button>
</article>
<article>
<div class="day">THU<b>02</b></div>
<div>
<h3>Community kitchen</h3>
<p>Prep supper with a friendly team.</p>
</div>
<span>17:00–19:00</span><button data-shift="Community kitchen">Count me in +</button>
</article>
<article>
<div class="day">SAT<b>03</b></div>
<div>
<h3>Garden morning</h3>
<p>A little fresh air and a lot of weeds.</p>
</div>
<span>09:00–11:00</span><button data-shift="Garden morning">Count me in +</button>
</article>
</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: #f5f5ef;
color: #1b3155;
}
main {
max-width: 1000px;
margin: auto;
padding: 25px 35px;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 5px solid #274fc0;
padding-bottom: 20px;
}
header b {
font-size: 27px;
letter-spacing: -1.5px;
}
header div > span {
display: block;
font: 7px monospace;
letter-spacing: 3px;
}
header a {
font-size: 10px;
}
.hours-title {
position: relative;
padding: 28px 0;
border-bottom: 1px solid #bec9d4;
}
.hours-title > p {
font: 8px monospace;
letter-spacing: 1px;
}
h1 {
font-size: clamp(33px, 5.5vw, 56px);
line-height: 1.02;
letter-spacing: -2.5px;
margin-top: 20px;
}
.hours-title > div {
position: absolute;
right: 0;
bottom: 30px;
display: flex;
gap: 15px;
align-items: center;
}
.hours-title strong {
font-size: 64px;
color: #274fc0;
line-height: 1;
}
.hours-title span {
font-size: 9px;
}
.roster-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 15px;
margin: 25px 0 10px;
}
h2 {
font-size: 17px;
}
.roster-head span {
font: 7px monospace;
}
article {
display: flex;
align-items: center;
gap: 20px;
padding: 16px 0;
border-bottom: 1px solid #bec9d4;
}
.day {
font: 8px monospace;
min-width: 30px;
}
.day b {
display: block;
font: bold 22px Arial;
}
h3 {
font-size: 14px;
}
article p {
font-size: 10px;
margin-top: 4px;
}
article > span {
margin-left: auto;
font: 9px monospace;
}
button {
background: #274fc0;
color: white;
border: 0;
padding: 10px;
font-size: 9px;
}
button:disabled {
background: #d4decf;
color: #334d33;
}
@media (max-width: 520px) {
main {
padding: 20px;
}
.hours-title > div {
position: static;
margin-top: 22px;
}
.hours-title strong {
font-size: 40px;
}
.roster-head {
align-items: start;
flex-direction: column;
}
article {
flex-wrap: wrap;
gap: 12px;
}
article > div:nth-child(2) {
flex: 1;
}
article > span {
margin-left: 42px;
}
}
(() => {
"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;
}),
);
}
let hours = 0;
$$("[data-shift]").forEach((b) =>
b.addEventListener("click", () => {
hours += 2;
$("#hours").textContent = hours;
b.textContent = "You are on the demo list ✓";
b.disabled = true;
status(
"Added " +
b.dataset.shift +
". " +
hours +
" sample hours selected. No signup has been sent.",
);
}),
);
})();
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…