Components Data display
Roadmap
Show what a team is working toward each quarter, from shipped initiatives to upcoming bets.
Form & Function
Studio roadmap
Q1
January – March
Build the collection
Give visitors a way to explore the studio’s materials and meet the people who work with them.
Material indexShipped
Pair each sample with a photograph, its source, and a handling note.
- Outcome
- The first 40 samples can be browsed by material.
- Owner
- Archive team
Maker profilesShipped
- Outcome
- Eight makers introduce a tool and the decision behind it.
- Owner
- Editorial team
No initiatives with this status.
Q2
CurrentApril – June
Open the studio
Let guests choose a workshop, reserve a place, and plan their visit.
Workshop bookingIn progress
- Outcome
- Visitors can find a session with space and book a seat.
- Owner
- Programme team
Access guidePlanned
Walk each route with local visitors and record entrances, quiet rooms, and seating.
- Outcome
- Guests can check access details before booking.
- Owner
- Visitor team
No initiatives with this status.
Q3
July – September
Take it on tour
Bring the collection to partner spaces that can host it in their own way.
Travelling editionPlanned
Pack a portable selection of the collection into a single touring crate.
- Outcome
- Two partner studios can host a week-long exhibition.
- Owner
- Exhibitions team
Host handbookPlanned
- Outcome
- Hosts can install the collection and run a material study with local groups.
- Owner
- Programme team
No initiatives with this status.
Usage
Set Title and supply Quarters in programme order. Subtitle and Period appear in the masthead. Give each quarter a Label such as Q2, then add its Range, Theme, and Goal. Set Current to true on the quarter you want to highlight. Each initiative has a Title and may include Status, Description, Outcome, Owner, URL, LinkLabel, and Open. Open expands its details initially. Shipped, In progress, and Planned have distinct status symbols. You can also supply your own labels. Initiatives with no status are listed as Unspecified. When at least two status labels are available, the status menu filters all quarters together. Changing the filter preserves open details. Every quarter and initiative is rendered by Go, and disclosures work with Enter or Space without JavaScript.
Register roadmap with Head and pass its properties to Render. Go setup guide
Schedule the tasks behind an initiative with the Gantt chart, or document releases in a Timeline.
Go usage
err := mono.UI.Render(w, "roadmap", mono.Props{
"Period": "2027 programme",
"Quarters": []any{
map[string]any{
"Goal": "Give visitors a way to explore the studio’s materials and meet the people who work with them.",
"Initiatives": []any{
map[string]any{
"Description": "Pair each sample with a photograph, its source, and a handling note.",
"Outcome": "The first 40 samples can be browsed by material.",
"Owner": "Archive team",
"Status": "Shipped",
"Title": "Material index",
},
map[string]any{
"Outcome": "Eight makers introduce a tool and the decision behind it.",
"Owner": "Editorial team",
"Status": "Shipped",
"Title": "Maker profiles",
},
},
"Label": "Q1",
"Range": "January – March",
"Theme": "Build the collection",
},
map[string]any{
"Current": true,
"Goal": "Let guests choose a workshop, reserve a place, and plan their visit.",
"Initiatives": []any{
map[string]any{
"LinkLabel": "View the studio calendar",
"Open": true,
"Outcome": "Visitors can find a session with space and book a seat.",
"Owner": "Programme team",
"Status": "In progress",
"Title": "Workshop booking",
"URL": "../components/event-calendar.html",
},
map[string]any{
"Description": "Walk each route with local visitors and record entrances, quiet rooms, and seating.",
"Outcome": "Guests can check access details before booking.",
"Owner": "Visitor team",
"Status": "Planned",
"Title": "Access guide",
},
},
"Label": "Q2",
"Range": "April – June",
"Theme": "Open the studio",
},
map[string]any{
"Goal": "Bring the collection to partner spaces that can host it in their own way.",
"Initiatives": []any{
map[string]any{
"Description": "Pack a portable selection of the collection into a single touring crate.",
"Outcome": "Two partner studios can host a week-long exhibition.",
"Owner": "Exhibitions team",
"Status": "Planned",
"Title": "Travelling edition",
},
map[string]any{
"Outcome": "Hosts can install the collection and run a material study with local groups.",
"Owner": "Programme team",
"Status": "Planned",
"Title": "Host handbook",
},
},
"Label": "Q3",
"Range": "July – September",
"Theme": "Take it on tour",
},
},
"Subtitle": "Form & Function",
"Title": "Studio roadmap",
})Rendered HTML
<section id="demo-roadmap" data-mono="roadmap" aria-labelledby="demo-roadmap-title">
<header class="mu-rm-mast">
<div><p class="mu-rm-kicker">Form & Function</p><h2 id="demo-roadmap-title">Studio roadmap</h2></div>
<span class="mu-rm-period"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" aria-hidden="true"><rect x="3.5" y="5" width="17" height="16" rx="2"/><path d="M3.5 10h17M8 3v4m8-4v4"/></svg>2027 programme</span>
</header>
<div class="mu-rm-tools" data-tools hidden>
<label for="demo-roadmap-status">Filter by status</label>
<span class="mu-rm-select"><select id="demo-roadmap-status" data-filter><option value="">All statuses</option></select><svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m4 6 4 4 4-4"/></svg></span>
</div>
<p class="mu-sr-only" data-announcement role="status" aria-atomic="true"></p>
<div class="mu-rm-board">
<section class="mu-rm-lane" data-quarter aria-labelledby="demo-roadmap-quarter-0">
<header class="mu-rm-quarter">
<div class="mu-rm-rail" aria-hidden="true"><span></span></div>
<div class="mu-rm-period-row"><h3 id="demo-roadmap-quarter-0">Q1</h3>
</div>
<p class="mu-rm-range">January – March</p>
<h4 class="mu-rm-theme">Build the collection</h4>
<p class="mu-rm-goal">Give visitors a way to explore the studio’s materials and meet the people who work with them.</p>
</header>
<div class="mu-rm-initiatives">
<details class="mu-rm-item" data-initiative data-status="Shipped">
<summary><span class="mu-rm-item-head"><strong>Material index</strong><span class="mu-rm-status" data-status-label="Shipped"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7.4"/><path d="m6.6 10.1 2.2 2.1 4.5-4.6"/></svg>Shipped</span></span><svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail"><p>Pair each sample with a photograph, its source, and a handling note.</p>
<dl><div><dt>Outcome</dt><dd>The first 40 samples can be browsed by material.</dd></div><div><dt>Owner</dt><dd>Archive team</dd></div></dl>
</div>
</details>
<details class="mu-rm-item" data-initiative data-status="Shipped">
<summary><span class="mu-rm-item-head"><strong>Maker profiles</strong><span class="mu-rm-status" data-status-label="Shipped"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7.4"/><path d="m6.6 10.1 2.2 2.1 4.5-4.6"/></svg>Shipped</span></span><svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail">
<dl><div><dt>Outcome</dt><dd>Eight makers introduce a tool and the decision behind it.</dd></div><div><dt>Owner</dt><dd>Editorial team</dd></div></dl>
</div>
</details>
<p class="mu-rm-empty" data-no-matches hidden>No initiatives with this status.</p>
</div>
</section>
<section class="mu-rm-lane" data-quarter data-current aria-labelledby="demo-roadmap-quarter-1">
<header class="mu-rm-quarter">
<div class="mu-rm-rail" aria-hidden="true"><span></span></div>
<div class="mu-rm-period-row"><h3 id="demo-roadmap-quarter-1" aria-current="step">Q2</h3>
<span class="mu-rm-current">Current</span></div>
<p class="mu-rm-range">April – June</p>
<h4 class="mu-rm-theme">Open the studio</h4>
<p class="mu-rm-goal">Let guests choose a workshop, reserve a place, and plan their visit.</p>
</header>
<div class="mu-rm-initiatives">
<details class="mu-rm-item" data-initiative data-status="In progress" open>
<summary><span class="mu-rm-item-head"><strong>Workshop booking</strong><span class="mu-rm-status" data-status-label="In progress"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7.4"/><path d="M10 2.6a7.4 7.4 0 0 1 0 14.8z" fill="currentColor" stroke="none"/></svg>In progress</span></span><svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail">
<dl><div><dt>Outcome</dt><dd>Visitors can find a session with space and book a seat.</dd></div><div><dt>Owner</dt><dd>Programme team</dd></div></dl>
<a href="../components/event-calendar.html">View the studio calendar<svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h9m-4-4 4 4-4 4"/></svg></a>
</div>
</details>
<details class="mu-rm-item" data-initiative data-status="Planned">
<summary><span class="mu-rm-item-head"><strong>Access guide</strong><span class="mu-rm-status" data-status-label="Planned"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7.4" stroke-dasharray="2.2 2.8"/></svg>Planned</span></span><svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail"><p>Walk each route with local visitors and record entrances, quiet rooms, and seating.</p>
<dl><div><dt>Outcome</dt><dd>Guests can check access details before booking.</dd></div><div><dt>Owner</dt><dd>Visitor team</dd></div></dl>
</div>
</details>
<p class="mu-rm-empty" data-no-matches hidden>No initiatives with this status.</p>
</div>
</section>
<section class="mu-rm-lane" data-quarter aria-labelledby="demo-roadmap-quarter-2">
<header class="mu-rm-quarter">
<div class="mu-rm-rail" aria-hidden="true"><span></span></div>
<div class="mu-rm-period-row"><h3 id="demo-roadmap-quarter-2">Q3</h3>
</div>
<p class="mu-rm-range">July – September</p>
<h4 class="mu-rm-theme">Take it on tour</h4>
<p class="mu-rm-goal">Bring the collection to partner spaces that can host it in their own way.</p>
</header>
<div class="mu-rm-initiatives">
<details class="mu-rm-item" data-initiative data-status="Planned">
<summary><span class="mu-rm-item-head"><strong>Travelling edition</strong><span class="mu-rm-status" data-status-label="Planned"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7.4" stroke-dasharray="2.2 2.8"/></svg>Planned</span></span><svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail"><p>Pack a portable selection of the collection into a single touring crate.</p>
<dl><div><dt>Outcome</dt><dd>Two partner studios can host a week-long exhibition.</dd></div><div><dt>Owner</dt><dd>Exhibitions team</dd></div></dl>
</div>
</details>
<details class="mu-rm-item" data-initiative data-status="Planned">
<summary><span class="mu-rm-item-head"><strong>Host handbook</strong><span class="mu-rm-status" data-status-label="Planned"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7.4" stroke-dasharray="2.2 2.8"/></svg>Planned</span></span><svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail">
<dl><div><dt>Outcome</dt><dd>Hosts can install the collection and run a material study with local groups.</dd></div><div><dt>Owner</dt><dd>Programme team</dd></div></dl>
</div>
</details>
<p class="mu-rm-empty" data-no-matches hidden>No initiatives with this status.</p>
</div>
</section>
</div>
</section>Go template
{{define "roadmap-status"}}{{if .}}<span class="mu-rm-status" data-status-label="{{.}}"><svg viewBox="0 0 20 20" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">{{if eq . "Shipped"}}<circle cx="10" cy="10" r="7.4"/><path d="m6.6 10.1 2.2 2.1 4.5-4.6"/>{{else if eq . "In progress"}}<circle cx="10" cy="10" r="7.4"/><path d="M10 2.6a7.4 7.4 0 0 1 0 14.8z" fill="currentColor" stroke="none"/>{{else}}<circle cx="10" cy="10" r="7.4" stroke-dasharray="2.2 2.8"/>{{end}}</svg>{{.}}</span>{{end}}{{end}}
{{define "roadmap-item-heading"}}<span class="mu-rm-item-head"><strong>{{.Title}}</strong>{{template "roadmap-status" (or .Status "Unspecified")}}</span>{{end}}
<section id="{{.ID}}" data-mono="roadmap" aria-labelledby="{{.ID}}-title">
<header class="mu-rm-mast">
<div>{{with .Subtitle}}<p class="mu-rm-kicker">{{.}}</p>{{end}}<h2 id="{{.ID}}-title">{{or .Title "Roadmap"}}</h2></div>
{{with .Period}}<span class="mu-rm-period"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" aria-hidden="true"><rect x="3.5" y="5" width="17" height="16" rx="2"/><path d="M3.5 10h17M8 3v4m8-4v4"/></svg>{{.}}</span>{{end}}
</header>
{{if .Quarters}}
<div class="mu-rm-tools" data-tools hidden>
<label for="{{.ID}}-status">Filter by status</label>
<span class="mu-rm-select"><select id="{{.ID}}-status" data-filter><option value="">All statuses</option></select><svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m4 6 4 4 4-4"/></svg></span>
</div>
<p class="mu-sr-only" data-announcement role="status" aria-atomic="true"></p>
<div class="mu-rm-board">
{{range $q, $quarter := .Quarters}}
<section class="mu-rm-lane" data-quarter{{if .Current}} data-current{{end}} aria-labelledby="{{$.ID}}-quarter-{{$q}}">
<header class="mu-rm-quarter">
<div class="mu-rm-rail" aria-hidden="true"><span></span></div>
<div class="mu-rm-period-row"><h3 id="{{$.ID}}-quarter-{{$q}}"{{if .Current}} aria-current="step"{{end}}>{{.Label}}</h3>
{{if .Current}}<span class="mu-rm-current">Current</span>{{end}}</div>
{{with .Range}}<p class="mu-rm-range">{{.}}</p>{{end}}
{{with .Theme}}<h4 class="mu-rm-theme">{{.}}</h4>{{end}}
{{with .Goal}}<p class="mu-rm-goal">{{.}}</p>{{end}}
</header>
<div class="mu-rm-initiatives">
{{range $i, $initiative := .Initiatives}}
{{if or .Description .Outcome .Owner .URL}}
<details class="mu-rm-item" data-initiative data-status="{{or .Status "Unspecified"}}"{{if .Open}} open{{end}}>
<summary>{{template "roadmap-item-heading" .}}<svg class="mu-rm-toggle" viewBox="0 0 20 20" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 8 5 5 5-5"/></svg></summary>
<div class="mu-rm-detail">{{with .Description}}<p>{{.}}</p>{{end}}
{{if or .Outcome .Owner}}<dl>{{with .Outcome}}<div><dt>Outcome</dt><dd>{{.}}</dd></div>{{end}}{{with .Owner}}<div><dt>Owner</dt><dd>{{.}}</dd></div>{{end}}</dl>{{end}}
{{with .URL}}<a href="{{.}}">{{or $initiative.LinkLabel "View initiative"}}<svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h9m-4-4 4 4-4 4"/></svg></a>{{end}}
</div>
</details>
{{else}}<div class="mu-rm-item mu-rm-static" data-initiative data-status="{{or .Status "Unspecified"}}">{{template "roadmap-item-heading" .}}</div>{{end}}
{{else}}<p class="mu-rm-empty">No initiatives scheduled.</p>{{end}}
{{if .Initiatives}}<p class="mu-rm-empty" data-no-matches hidden>No initiatives with this status.</p>{{end}}
</div>
</section>
{{end}}
</div>
{{else}}<p class="mu-rm-empty-board">No planning periods have been announced.</p>{{end}}
</section>Component CSS
[data-mono="roadmap"] {
--rm-paper: #f7f7f7;
--rm-ink: #181818;
--rm-rule: #ccc;
--rm-muted: #565656;
--rm-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
container-type: inline-size;
min-width: 0;
width: 100%;
padding-bottom: 1px;
color: var(--rm-ink);
background: var(--rm-paper);
}
.mu-rm-mast, .mu-rm-tools, .mu-rm-board, .mu-rm-empty-board { margin-inline: clamp(1rem, 3.4cqi, 3rem); }
.mu-rm-mast { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .9rem; padding-block: clamp(1.4rem, 2.2cqi, 2.35rem) 1.1rem; }
.mu-rm-kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 .45rem; font: 600 .66rem/1.35 var(--rm-mono); text-transform: uppercase; letter-spacing: .085em; }
.mu-rm-kicker::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.mu-rm-mast h2 { margin: 0; font: 500 clamp(2.65rem, 5.6cqi, 4.6rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.065em; overflow-wrap: anywhere; }
.mu-rm-period { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .22rem; color: #454545; font: .77rem/1.3 var(--rm-mono); }
.mu-rm-tools { display: flex; align-items: center; gap: .65rem; margin-top: .25rem; margin-bottom: .85rem; border-top: 1px solid var(--rm-rule); padding-top: .75rem; }
.mu-rm-tools label { color: var(--rm-muted); font-size: .77rem; }
.mu-rm-select { display: inline-flex; align-items: center; position: relative; }
.mu-rm-select select { appearance: none; background: #fff; border: 1px solid var(--rm-rule); border-radius: 1rem; padding: .34rem 1.7rem .34rem .67rem; font-size: .74rem; line-height: 1.25; }
.mu-rm-select svg { position: absolute; right: .52rem; pointer-events: none; }
.mu-rm-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .55rem; padding-bottom: clamp(1.25rem, 3cqi, 2.6rem); }
.mu-rm-lane {
--rm-panel: #fff;
display: flex; flex-direction: column; min-width: 0; padding: clamp(.95rem, 1.7cqi, 1.65rem);
border: 1px solid var(--rm-rule); border-radius: .9rem; background: var(--rm-panel); color: var(--rm-ink);
}
.mu-rm-lane[data-current] { --rm-panel: #191919; --rm-ink: #fff; --rm-rule: #484848; --rm-muted: #c6c6c6; border-color: #191919; }
.mu-rm-quarter { min-width: 0; padding-bottom: 1rem; }
.mu-rm-rail { display: flex; align-items: center; height: .8rem; margin-bottom: clamp(.7rem, 1.2cqi, 1.1rem); color: var(--rm-muted); }
.mu-rm-rail::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.mu-rm-rail > span { width: .68rem; height: .68rem; flex: none; border: 1px solid currentColor; border-radius: 50%; }
[data-current] > .mu-rm-quarter .mu-rm-rail { color: var(--rm-ink); }
[data-current] > .mu-rm-quarter .mu-rm-rail > span { background: currentColor; box-shadow: inset 0 0 0 2px var(--rm-panel); }
.mu-rm-period-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .45rem; }
.mu-rm-period-row h3 { margin: 0; font: 480 clamp(2.6rem, 4.9cqi, 4.2rem)/.94 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.085em; overflow-wrap: anywhere; }
.mu-rm-current { display: inline-flex; align-items: center; gap: .3rem; padding: .37rem .56rem; border-radius: 1rem; background: #fff; color: #191919; font: 600 .62rem/1 var(--rm-mono); }
.mu-rm-current::before { content: ""; height: .34rem; width: .34rem; background: currentColor; border-radius: 50%; }
.mu-rm-range { margin-top: .45rem; font: .69rem/1.3 var(--rm-mono); color: var(--rm-muted); }
.mu-rm-theme { margin: clamp(.85rem, 1.6cqi, 1.5rem) 0 0; font: 550 clamp(1.35rem, 2.25cqi, 2.15rem)/1.07 Georgia, "Times New Roman", serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.mu-rm-goal { margin: .45rem 0 0; font-size: .84rem; line-height: 1.5; color: var(--rm-muted); }
.mu-rm-initiatives { min-width: 0; }
.mu-rm-item { border-top: 1px solid var(--rm-rule); }
.mu-rm-item > summary, .mu-rm-static { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-block: .72rem; }
.mu-rm-item > summary { list-style: none; }
.mu-rm-item > summary::-webkit-details-marker { display: none; }
.mu-rm-item > summary:hover .mu-rm-item-head strong { text-decoration: underline; text-underline-offset: .16em; }
.mu-rm-item-head { min-width: 0; display: grid; gap: .3rem; }
.mu-rm-item-head strong { font: 600 clamp(.9rem, 1.25cqi, 1.04rem)/1.25 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; overflow-wrap: anywhere; }
.mu-rm-status { display: inline-flex; align-items: center; gap: .32rem; color: var(--rm-muted); font: .63rem/1.2 var(--rm-mono); }
.mu-rm-status svg, .mu-rm-toggle { flex: none; }
.mu-rm-toggle { color: var(--rm-muted); }
.mu-rm-item[open] > summary .mu-rm-toggle { transform: rotate(180deg); }
.mu-rm-detail { padding-bottom: .9rem; color: var(--rm-muted); font-size: .78rem; line-height: 1.45; }
.mu-rm-detail dl { margin: .5rem 0 0; display: grid; gap: .3rem; }
.mu-rm-detail dl:first-child { margin-top: 0; }
.mu-rm-detail dl > div { display: grid; grid-template-columns: 3.3rem minmax(0, 1fr); align-items: baseline; gap: .3rem; }
.mu-rm-detail dt { color: var(--rm-ink); font: .64rem/1.4 var(--rm-mono); }
.mu-rm-detail dd { overflow-wrap: anywhere; }
.mu-rm-detail a { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; font-weight: 600; color: var(--rm-ink); text-underline-offset: .2em; }
.mu-rm-empty { padding-top: .8rem; border-top: 1px solid var(--rm-rule); color: var(--rm-muted); font-size: .8rem; }
.mu-rm-empty-board { margin-bottom: 1.5rem; color: var(--rm-muted); }
@container (max-width: 46rem) {
.mu-rm-board { grid-template-columns: 1fr; gap: .75rem; }
.mu-rm-lane { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 1.2rem; }
.mu-rm-quarter { padding-bottom: 0; }
.mu-rm-initiatives { margin-top: 0; }
}
@container (max-width: 32rem) {
.mu-rm-lane { display: block; }
.mu-rm-quarter { padding-bottom: .9rem; }
.mu-rm-period { margin-bottom: 0; }
}
@media (forced-colors: active) {
.mu-rm-lane[data-current] { border: 2px solid Highlight; }
.mu-rm-current { border: 1px solid Highlight; }
.mu-rm-select select { appearance: auto; padding-right: .5rem; }
.mu-rm-select svg { display: none; }
}JavaScript module
export function mount(root) {
const filter = root.querySelector('[data-filter]');
if (!filter) return;
const quarters = [...root.querySelectorAll('[data-quarter]')].map(element => ({
items: [...element.querySelectorAll('[data-initiative]')],
empty: element.querySelector('[data-no-matches]')
}));
const statuses = new Set(quarters.flatMap(quarter => quarter.items.map(item => item.dataset.status).filter(Boolean)));
if (statuses.size < 2) return;
for (const label of statuses) {
const option = root.ownerDocument.createElement('option');
option.textContent = label;
option.value = label;
filter.append(option);
}
function apply() {
let total = 0;
for (const quarter of quarters) {
let count = 0;
for (const item of quarter.items) {
item.hidden = Boolean(filter.value && item.dataset.status !== filter.value);
if (!item.hidden) count++;
}
if (quarter.empty) quarter.empty.hidden = count > 0;
total += count;
}
root.querySelector('[data-announcement]').textContent = total + (total === 1 ? ' initiative shown.' : ' initiatives shown.');
}
filter.addEventListener('change', apply);
filter.form?.addEventListener('reset', () => setTimeout(apply, 0));
root.querySelector('[data-tools]').hidden = false;
}Use the HTML in a static site
Copy the rendered HTML above. Download these assets into the same folder as your page, then add the tags below to its head.
Shared CSS Component CSS Ready-to-use module
<link rel="stylesheet" href="./base.css">
<link rel="stylesheet" href="./roadmap.css">
<script type="module" src="./roadmap.js"></script>Copy into your project
Run this command from the Mono checkout. Set -out to the component directory in your application.
go run ./cmd/mono-ui add -out ./components roadmapExample properties (JSON)
{
"Period": "2027 programme",
"Quarters": [
{
"Goal": "Give visitors a way to explore the studio’s materials and meet the people who work with them.",
"Initiatives": [
{
"Description": "Pair each sample with a photograph, its source, and a handling note.",
"Outcome": "The first 40 samples can be browsed by material.",
"Owner": "Archive team",
"Status": "Shipped",
"Title": "Material index"
},
{
"Outcome": "Eight makers introduce a tool and the decision behind it.",
"Owner": "Editorial team",
"Status": "Shipped",
"Title": "Maker profiles"
}
],
"Label": "Q1",
"Range": "January – March",
"Theme": "Build the collection"
},
{
"Current": true,
"Goal": "Let guests choose a workshop, reserve a place, and plan their visit.",
"Initiatives": [
{
"LinkLabel": "View the studio calendar",
"Open": true,
"Outcome": "Visitors can find a session with space and book a seat.",
"Owner": "Programme team",
"Status": "In progress",
"Title": "Workshop booking",
"URL": "../components/event-calendar.html"
},
{
"Description": "Walk each route with local visitors and record entrances, quiet rooms, and seating.",
"Outcome": "Guests can check access details before booking.",
"Owner": "Visitor team",
"Status": "Planned",
"Title": "Access guide"
}
],
"Label": "Q2",
"Range": "April – June",
"Theme": "Open the studio"
},
{
"Goal": "Bring the collection to partner spaces that can host it in their own way.",
"Initiatives": [
{
"Description": "Pack a portable selection of the collection into a single touring crate.",
"Outcome": "Two partner studios can host a week-long exhibition.",
"Owner": "Exhibitions team",
"Status": "Planned",
"Title": "Travelling edition"
},
{
"Outcome": "Hosts can install the collection and run a material study with local groups.",
"Owner": "Programme team",
"Status": "Planned",
"Title": "Host handbook"
}
],
"Label": "Q3",
"Range": "July – September",
"Theme": "Take it on tour"
}
],
"Subtitle": "Form \u0026 Function",
"Title": "Studio roadmap"
}