template
Explore creation
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
A restrained project forge with repository files, commit messages and a working branch selector.
<!-- Original layout, SVG/CSS artwork and JavaScript © 2026 XXC Templates. MIT License.
Visual pattern references (original code, names and content; no affiliation):
SourceHut: https://sourcehut.org/
Text-first project tools, fine rules and a small functional palette.
Illustrative sample content and data; no real accounts, payments, reservations or messages. -->
<main>
<header>
<b>patchyard</b>
<nav><a href="#files">code</a><a href="#log">log</a><a href="#readme">readme</a></nav>
<span>~mira</span>
</header>
<div class="crumb">~mira / <strong>little-index</strong> <small>public</small></div>
<section class="project">
<div>
<h1>A small index for a large collection.</h1>
<p>A fictional search tool with no moving parts you don't need.</p>
</div>
<label
>branch
<select id="branch">
<option>main</option>
<option>work/search</option>
</select></label
>
</section>
<div class="commit" id="log">
<b id="commit-id">6b21ac0</b><span id="commit-message">mira — simplify document lookup</span
><small>2 days ago</small>
</div>
<div id="files" class="files">
<div><b>src/</b><span>make token boundaries explicit</span><small>3 days</small></div>
<div><b>tests/</b><span>add unicode fixture</span><small>4 days</small></div>
<div><b>README.md</b><span>document query syntax</span><small>2 days</small></div>
<div><b>Makefile</b><span>trim build options</span><small>1 week</small></div>
<div><b>LICENSE</b><span>MIT license</span><small>1 month</small></div>
</div>
<article id="readme">
<small>README.md</small>
<h2>little-index</h2>
<p>Plain text in. Useful answers out.</p>
<button id="change">Show quick start</button>
<pre id="quick" hidden>
index add ./notes
index find "a useful idea"</pre>
</article>
<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: #303332;
font: 12px Arial;
}
main {
max-width: 1000px;
margin: auto;
padding: 0 28px;
}
header {
display: flex;
align-items: center;
gap: 35px;
border-bottom: 1px solid #ced3cf;
padding: 18px 0;
}
header > b {
font:
24px Georgia,
serif;
color: #367055;
}
nav {
display: flex;
gap: 20px;
}
nav a {
color: #3d795c;
text-decoration: none;
}
header > span {
margin-left: auto;
font: 11px monospace;
color: #66766b;
}
.crumb {
font: 19px monospace;
margin: 23px 0;
}
.crumb small {
font: 9px Arial;
border: 1px solid #cad7cf;
padding: 3px 7px;
color: #66766b;
vertical-align: middle;
}
.project {
display: flex;
align-items: start;
justify-content: space-between;
gap: 25px;
}
h1 {
font-size: 16px;
font-weight: normal;
}
.project p {
font-size: 11px;
color: #798279;
margin-top: 7px;
}
label {
font: 10px monospace;
white-space: nowrap;
}
select {
display: block;
background: white;
border: 1px solid #b6c8bc;
padding: 5px;
font: 11px monospace;
margin-top: 5px;
}
.commit {
background: #edf4ef;
padding: 12px;
display: flex;
gap: 15px;
margin-top: 20px;
font-size: 10px;
}
.commit b {
font: 10px monospace;
color: #347551;
}
.commit small {
margin-left: auto;
color: #6c7b71;
}
.files > div {
display: grid;
grid-template-columns: 1fr 1.8fr 55px;
gap: 15px;
border-bottom: 1px solid #e5e9e6;
padding: 11px 12px;
font-size: 10px;
}
.files b {
font: 11px monospace;
color: #327853;
}
.files span {
color: #798279;
}
.files small {
text-align: right;
font-size: 9px;
color: #929a94;
}
article {
border: 1px solid #d7dfd9;
margin-top: 22px;
padding: 17px;
}
article > small {
color: #7f8b83;
font: 9px monospace;
}
h2 {
font:
23px Georgia,
serif;
margin: 12px 0;
}
article p {
font-size: 11px;
}
button {
background: #fff;
border: 1px solid #8faca0;
color: #376e52;
padding: 6px 10px;
margin-top: 12px;
font-size: 10px;
}
pre {
font: 11px/1.7 monospace;
white-space: pre-wrap;
}
@media (max-width: 500px) {
main {
padding: 0 18px;
}
.project {
flex-direction: column;
gap: 15px;
}
.files > div {
grid-template-columns: 1fr 60px;
}
.files span {
display: none;
}
.commit small {
display: none;
}
.crumb {
font-size: 16px;
}
}
(() => {
"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;
}),
);
}
$("#branch").addEventListener("change", () => {
const work = $("#branch").value !== "main";
$("#commit-id").textContent = work ? "a7c201e" : "6b21ac0";
$("#commit-message").textContent = work
? "mira — prototype prefix search"
: "mira — simplify document lookup";
status("Showing fictional branch " + $("#branch").value);
});
$("#change").addEventListener("click", () => {
const el = $("#quick");
el.hidden = !el.hidden;
$("#change").textContent = el.hidden ? "Show quick start" : "Hide quick start";
status(el.hidden ? "Quick start collapsed." : "Illustrative quick start expanded.");
});
})();
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…