Components Data display

Timeline

Follow milestones in a dated journal and open an entry for its notes, artwork, and related links.

Live previewGo + JavaScript

Form & Function

Studio journal

Spring 2027

5 entries
  1. 16:00 SGT

    Print roomThe first proof comes off the press Complete

    The print team pulled three impressions on uncoated paper. The lightest inking kept the counters open, so that proof became the reference for the exhibition labels.

    Carved letterpress blocks arranged in a type drawer.
  2. 10:30 SGT

    Material studyFrom a flat sheet to a standing form Current

    Jo Leone folded a single sheet of card into a bridge. Under a side light, its alternating ridges revealed the crease that carried most of the load.

    Open studio calendar
    A pleated white paper model casts alternating triangular shadows.
  3. 17:30 SGT

    Motion studyA mobile finds its balance Upcoming

    Sam Okafor will hang the wire studies in Studio A and record how long each one takes to settle after a single push.

  4. 09:00 SGT

    ConferenceThe tools go on stage Upcoming

    The paper bridge, the mobile, and a working desk lamp move to the main hall for two days of talks and demonstrations.

    View conference programme
  5. 17:00 SGT

    CourtyardAn edition changes hands Upcoming

    The studio closes its spring programme with a print exchange. Each maker brings a small edition and the story behind the impression.

Usage

Set Title, and optionally Subtitle and Period, above the journal. Supply Entries in the order they should appear. Each entry takes a Title. Use an ISO Date for the machine-readable date and DateLabel or TimeLabel for the visible date and time. Category and Status are optional. Complete, Current, and Upcoming have distinct markers; custom status labels also work. Add Description, ImageURL with ImageAlt, or URL with LinkLabel to make an entry expandable. Open displays its details initially. Entries with details can be opened using Enter or Space even when JavaScript is off. The optional browser module adds a status filter when entries have different statuses. Serve artwork from your application or copy the demo images from examples/components/events/form-function and adjust the URLs.

Register timeline with Head and pass its properties to Render. Go setup guide

Show work that spans several dates with the Gantt chart, or lay out future initiatives in a Roadmap.

Go usage
Go usage
err := mono.UI.Render(w, "timeline", mono.Props{
	"Entries": []any{
		map[string]any{
			"Category":    "Print room",
			"Date":        "2027-02-26",
			"DateLabel":   "26 February",
			"Description": "The print team pulled three impressions on uncoated paper. The lightest inking kept the counters open, so that proof became the reference for the exhibition labels.",
			"ImageAlt":    "Carved letterpress blocks arranged in a type drawer.",
			"ImageURL":    "../components/events/form-function/letterforms.webp",
			"Status":      "Complete",
			"TimeLabel":   "16:00 SGT",
			"Title":       "The first proof comes off the press",
		},
		map[string]any{
			"Category":    "Material study",
			"Date":        "2027-03-02",
			"DateLabel":   "2 March",
			"Description": "Jo Leone folded a single sheet of card into a bridge. Under a side light, its alternating ridges revealed the crease that carried most of the load.",
			"ImageAlt":    "A pleated white paper model casts alternating triangular shadows.",
			"ImageURL":    "../components/events/form-function/paper-study.webp",
			"LinkLabel":   "Open studio calendar",
			"Open":        true,
			"Status":      "Current",
			"TimeLabel":   "10:30 SGT",
			"Title":       "From a flat sheet to a standing form",
			"URL":         "../components/event-calendar.html",
		},
		map[string]any{
			"Category":    "Motion study",
			"Date":        "2027-03-10",
			"DateLabel":   "10 March",
			"Description": "Sam Okafor will hang the wire studies in Studio A and record how long each one takes to settle after a single push.",
			"Status":      "Upcoming",
			"TimeLabel":   "17:30 SGT",
			"Title":       "A mobile finds its balance",
		},
		map[string]any{
			"Category":    "Conference",
			"Date":        "2027-03-12",
			"DateLabel":   "12 March",
			"Description": "The paper bridge, the mobile, and a working desk lamp move to the main hall for two days of talks and demonstrations.",
			"LinkLabel":   "View conference programme",
			"Status":      "Upcoming",
			"TimeLabel":   "09:00 SGT",
			"Title":       "The tools go on stage",
			"URL":         "../components/event-schedule.html",
		},
		map[string]any{
			"Category":    "Courtyard",
			"Date":        "2027-03-30",
			"DateLabel":   "30 March",
			"Description": "The studio closes its spring programme with a print exchange. Each maker brings a small edition and the story behind the impression.",
			"Status":      "Upcoming",
			"TimeLabel":   "17:00 SGT",
			"Title":       "An edition changes hands",
		},
	},
	"Period":   "Spring 2027",
	"Subtitle": "Form & Function",
	"Title":    "Studio journal",
})
Rendered HTML
Rendered HTML
<section id="demo-timeline" data-mono="timeline" aria-labelledby="demo-timeline-title">
  <header class="mu-tl-header">
    <div><p class="mu-tl-kicker">Form &amp; Function</p><h2 id="demo-timeline-title">Studio journal</h2></div>
    <p class="mu-tl-period">Spring 2027</p>
  </header>
  
  <div class="mu-tl-bar">
    <span data-timeline-count role="status">5 entries</span>
    <label class="mu-tl-filter" data-timeline-filter hidden><span class="mu-sr-only">Filter timeline by status</span>
      <select><option value="">All statuses</option></select>
      <svg viewBox="0 0 16 16" width="14" height="14" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" aria-hidden="true"><path d="m4 6 4 4 4-4"/></svg>
    </label>
  </div>
  <ol class="mu-tl-list" role="list" aria-label="Timeline entries">
    <li class="mu-tl-entry" data-timeline-entry data-status="Complete">
      <div class="mu-tl-date"><time datetime="2027-02-26">26 February</time><small>16:00 SGT</small></div>
      <div class="mu-tl-rail" aria-hidden="true"><span></span></div>
      
      <details class="mu-tl-card">
        <summary><h3 class="mu-tl-entry-heading">
  <span class="mu-tl-title-stack"><span class="mu-tl-category">Print room</span><span class="mu-tl-title">The first proof comes off the press</span></span>
  <span class="mu-tl-tag">Complete</span>
  <span class="mu-tl-chevron" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7"><path d="m6 9 6 6 6-6"/></svg></span>
</h3></summary>
        <div class="mu-tl-body">
          <div><p>The print team pulled three impressions on uncoated paper. The lightest inking kept the counters open, so that proof became the reference for the exhibition labels.</p>
            </div>
          <img src="../components/events/form-function/letterforms.webp" alt="Carved letterpress blocks arranged in a type drawer." loading="lazy" decoding="async">
        </div>
      </details>
    </li><li class="mu-tl-entry" data-timeline-entry data-status="Current">
      <div class="mu-tl-date"><time datetime="2027-03-02">2 March</time><small>10:30 SGT</small></div>
      <div class="mu-tl-rail" aria-hidden="true"><span></span></div>
      
      <details class="mu-tl-card" open>
        <summary><h3 class="mu-tl-entry-heading">
  <span class="mu-tl-title-stack"><span class="mu-tl-category">Material study</span><span class="mu-tl-title">From a flat sheet to a standing form</span></span>
  <span class="mu-tl-tag">Current</span>
  <span class="mu-tl-chevron" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7"><path d="m6 9 6 6 6-6"/></svg></span>
</h3></summary>
        <div class="mu-tl-body">
          <div><p>Jo Leone folded a single sheet of card into a bridge. Under a side light, its alternating ridges revealed the crease that carried most of the load.</p>
            <a href="../components/event-calendar.html">Open studio calendar <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h9M8 4l4 4-4 4"/></svg></a></div>
          <img src="../components/events/form-function/paper-study.webp" alt="A pleated white paper model casts alternating triangular shadows." loading="lazy" decoding="async">
        </div>
      </details>
    </li><li class="mu-tl-entry" data-timeline-entry data-status="Upcoming">
      <div class="mu-tl-date"><time datetime="2027-03-10">10 March</time><small>17:30 SGT</small></div>
      <div class="mu-tl-rail" aria-hidden="true"><span></span></div>
      
      <details class="mu-tl-card">
        <summary><h3 class="mu-tl-entry-heading">
  <span class="mu-tl-title-stack"><span class="mu-tl-category">Motion study</span><span class="mu-tl-title">A mobile finds its balance</span></span>
  <span class="mu-tl-tag">Upcoming</span>
  <span class="mu-tl-chevron" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7"><path d="m6 9 6 6 6-6"/></svg></span>
</h3></summary>
        <div class="mu-tl-body">
          <div><p>Sam Okafor will hang the wire studies in Studio A and record how long each one takes to settle after a single push.</p>
            </div>
          
        </div>
      </details>
    </li><li class="mu-tl-entry" data-timeline-entry data-status="Upcoming">
      <div class="mu-tl-date"><time datetime="2027-03-12">12 March</time><small>09:00 SGT</small></div>
      <div class="mu-tl-rail" aria-hidden="true"><span></span></div>
      
      <details class="mu-tl-card">
        <summary><h3 class="mu-tl-entry-heading">
  <span class="mu-tl-title-stack"><span class="mu-tl-category">Conference</span><span class="mu-tl-title">The tools go on stage</span></span>
  <span class="mu-tl-tag">Upcoming</span>
  <span class="mu-tl-chevron" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7"><path d="m6 9 6 6 6-6"/></svg></span>
</h3></summary>
        <div class="mu-tl-body">
          <div><p>The paper bridge, the mobile, and a working desk lamp move to the main hall for two days of talks and demonstrations.</p>
            <a href="../components/event-schedule.html">View conference programme <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h9M8 4l4 4-4 4"/></svg></a></div>
          
        </div>
      </details>
    </li><li class="mu-tl-entry" data-timeline-entry data-status="Upcoming">
      <div class="mu-tl-date"><time datetime="2027-03-30">30 March</time><small>17:00 SGT</small></div>
      <div class="mu-tl-rail" aria-hidden="true"><span></span></div>
      
      <details class="mu-tl-card">
        <summary><h3 class="mu-tl-entry-heading">
  <span class="mu-tl-title-stack"><span class="mu-tl-category">Courtyard</span><span class="mu-tl-title">An edition changes hands</span></span>
  <span class="mu-tl-tag">Upcoming</span>
  <span class="mu-tl-chevron" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7"><path d="m6 9 6 6 6-6"/></svg></span>
</h3></summary>
        <div class="mu-tl-body">
          <div><p>The studio closes its spring programme with a print exchange. Each maker brings a small edition and the story behind the impression.</p>
            </div>
          
        </div>
      </details>
    </li>
  </ol>
  
</section>
Go template
Go template
{{define "tl-entry-heading"}}<h3 class="mu-tl-entry-heading">
  <span class="mu-tl-title-stack">{{with .Category}}<span class="mu-tl-category">{{.}}</span>{{end}}<span class="mu-tl-title">{{or .Title "Untitled entry"}}</span></span>
  {{with .Status}}<span class="mu-tl-tag">{{.}}</span>{{end}}
  {{if or .Description .ImageURL .URL}}<span class="mu-tl-chevron" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7"><path d="m6 9 6 6 6-6"/></svg></span>{{end}}
</h3>{{end}}
<section id="{{.ID}}" data-mono="timeline" aria-labelledby="{{.ID}}-title">
  <header class="mu-tl-header">
    <div>{{with .Subtitle}}<p class="mu-tl-kicker">{{.}}</p>{{end}}<h2 id="{{.ID}}-title">{{or .Title "Timeline"}}</h2></div>
    {{with .Period}}<p class="mu-tl-period">{{.}}</p>{{end}}
  </header>
  {{with .Entries}}
  <div class="mu-tl-bar">
    <span data-timeline-count role="status">{{len .}} {{if eq (len .) 1}}entry{{else}}entries{{end}}</span>
    <label class="mu-tl-filter" data-timeline-filter hidden><span class="mu-sr-only">Filter timeline by status</span>
      <select><option value="">All statuses</option></select>
      <svg viewBox="0 0 16 16" width="14" height="14" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" aria-hidden="true"><path d="m4 6 4 4 4-4"/></svg>
    </label>
  </div>
  <ol class="mu-tl-list" role="list" aria-label="Timeline entries">
    {{range .}}<li class="mu-tl-entry" data-timeline-entry data-status="{{.Status}}">
      <div class="mu-tl-date">{{if .Date}}<time datetime="{{.Date}}">{{or .DateLabel .Date}}</time>{{else}}{{with .DateLabel}}<span>{{.}}</span>{{end}}{{end}}{{with .TimeLabel}}<small>{{.}}</small>{{end}}</div>
      <div class="mu-tl-rail" aria-hidden="true"><span></span></div>
      {{if or .Description .ImageURL .URL}}
      <details class="mu-tl-card"{{if .Open}} open{{end}}>
        <summary>{{template "tl-entry-heading" .}}</summary>
        <div class="mu-tl-body">
          {{if or .Description .URL}}<div>{{with .Description}}<p>{{.}}</p>{{end}}
            {{if .URL}}<a href="{{.URL}}">{{or .LinkLabel "Read more"}} <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h9M8 4l4 4-4 4"/></svg></a>{{end}}</div>{{end}}
          {{if .ImageURL}}<img src="{{.ImageURL}}" alt="{{.ImageAlt}}" loading="lazy" decoding="async">{{end}}
        </div>
      </details>{{else}}<article class="mu-tl-card">{{template "tl-entry-heading" .}}</article>{{end}}
    </li>{{end}}
  </ol>
  {{else}}<p class="mu-tl-empty">No timeline entries yet.</p>{{end}}
</section>
Component CSS
Component CSS
[data-mono="timeline"] {
  --tl-paper: #f7f7f7; --tl-ink: #171717; --tl-line: #c9c9c9;
  --tl-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  width: 100%; min-width: 0; container-type: inline-size; color: var(--tl-ink); background: var(--tl-paper);
}
.mu-tl-header, .mu-tl-bar, .mu-tl-list, .mu-tl-empty { margin-inline: clamp(1rem, 3.4cqi, 3rem); }
.mu-tl-header {
  display: flex; align-items: end; justify-content: space-between; gap: .9rem; flex-wrap: wrap;
  padding-block: clamp(1.3rem, 2.5cqi, 2.6rem) clamp(1.2rem, 2.4cqi, 2rem);
}
.mu-tl-header h2 { margin: 0; font: 500 clamp(2.55rem, 5.6cqi, 4.6rem)/.99 Georgia, "Times New Roman", serif; letter-spacing: -.065em; overflow-wrap: anywhere; }
.mu-tl-kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 .5rem; font: 600 .67rem/1.4 var(--tl-mono); letter-spacing: .08em; text-transform: uppercase; }
.mu-tl-kicker::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.mu-tl-period { color: #535353; font: .72rem/1.4 var(--tl-mono); }
.mu-tl-bar {
  min-height: 2.9rem; padding-block: .4rem; border-block: 1px solid var(--tl-line);
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
}
.mu-tl-bar [data-timeline-count] { color: #525252; font: .69rem/1.4 var(--tl-mono); }
.mu-tl-filter { display: inline-grid; align-items: center; max-width: 100%; position: relative; }
.mu-tl-filter select { appearance: none; width: 100%; max-width: 100%; padding: .35rem 1.9rem .35rem .75rem; border: 1px solid #c6c6c6; border-radius: 2rem; background: #fff; font: 600 .76rem/1.4 "Helvetica Neue", Arial, sans-serif; }
.mu-tl-filter svg { position: absolute; inset-inline-end: .57rem; pointer-events: none; }
.mu-tl-list { list-style: none; padding: .6rem 0 clamp(1rem, 2cqi, 2rem); }
.mu-tl-entry { display: grid; grid-template-columns: clamp(6.4rem, 13cqi, 11rem) 1.8rem minmax(0, 1fr); min-width: 0; }
.mu-tl-date { align-self: start; display: grid; gap: .2rem; padding-block: 1.15rem .5rem; min-width: 0; font: 600 clamp(.77rem,1.18cqi,.96rem)/1.2 "Helvetica Neue", Arial, sans-serif; }
.mu-tl-date small { color: #585858; font: .66rem/1.4 var(--tl-mono); }
.mu-tl-rail { position: relative; }
.mu-tl-rail > span { position: absolute; width: .64rem; height: .64rem; top: 1.26rem; left: 0; border: 1.5px solid #747474; border-radius: 50%; background: var(--tl-paper); z-index: 1; }
.mu-tl-entry:has(~ .mu-tl-entry:not([hidden])) > .mu-tl-rail::before {
  content: ""; position: absolute; width: 1px; background: #a8a8a8; left: .29rem; top: 1.56rem; bottom: -1.56rem;
}
.mu-tl-entry[data-status="Complete" i] .mu-tl-rail > span { border-color: var(--tl-ink); background: var(--tl-ink); }
.mu-tl-entry[data-status="Current" i] .mu-tl-rail > span { border-color: var(--tl-ink); background: var(--tl-ink); box-shadow: 0 0 0 2px var(--tl-paper), 0 0 0 3px #525252; }
.mu-tl-card { min-width: 0; border-bottom: 1px solid var(--tl-line); }
.mu-tl-entry:last-child .mu-tl-card { border-bottom-color: transparent; }
.mu-tl-card > summary { list-style: none; border-radius: inherit; }
.mu-tl-card > summary::-webkit-details-marker { display: none; }
.mu-tl-entry-heading { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .85rem .55rem .9rem; min-width: 0; color: inherit; }
.mu-tl-title-stack { min-width: 0; flex: 1; }
.mu-tl-category { display: block; margin: 0 0 .32rem; color: #606060; font: 600 .61rem/1.3 var(--tl-mono); text-transform: uppercase; letter-spacing: .07em; }
.mu-tl-title { display: block; font: 600 clamp(1rem,1.8cqi,1.6rem)/1.14 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.mu-tl-tag { max-width: 30%; padding: .21rem .5rem; border: 1px solid #bdbdbd; border-radius: 1rem; color: #434343; font: .63rem/1.35 var(--tl-mono); overflow-wrap: anywhere; }
.mu-tl-chevron { flex: none; display: flex; color: #656565; }
.mu-tl-card[open] .mu-tl-chevron { transform: rotate(180deg); }
.mu-tl-body { padding: 0 .55rem 1rem; min-width: 0; }
.mu-tl-body:has(> div + img) { display: grid; grid-template-columns: minmax(0,1fr) minmax(10rem,39%); gap: clamp(1rem,2.3cqi,2rem); align-items: center; }
.mu-tl-body p { margin: 0; max-width: 58ch; font-size: clamp(.82rem,1.12cqi,.95rem); line-height: 1.55; color: #444; overflow-wrap: anywhere; }
.mu-tl-body a { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; color: inherit; font-size: .78rem; font-weight: 600; text-underline-offset: .2rem; }
.mu-tl-body a svg { flex: none; }
.mu-tl-body img { display: block; width: 100%; max-width: 38rem; height: auto; aspect-ratio: 2.55; object-fit: cover; filter: grayscale(1); border-radius: .4rem; }
.mu-tl-entry[data-status="Current" i] .mu-tl-card { margin-block: .35rem; color: #fff; background: var(--tl-ink); border: 1px solid var(--tl-ink); border-radius: .75rem; }
.mu-tl-entry[data-status="Current" i] .mu-tl-entry-heading { padding-inline: clamp(.8rem,1.5cqi,1.35rem); }
.mu-tl-entry[data-status="Current" i] .mu-tl-body { padding-inline: clamp(.8rem,1.5cqi,1.35rem); }
.mu-tl-entry[data-status="Current" i] :is(.mu-tl-category,.mu-tl-chevron) { color: #c6c6c6; }
.mu-tl-entry[data-status="Current" i] .mu-tl-tag { background: #f4f4f4; color: #151515; border-color: #f4f4f4; }
.mu-tl-entry[data-status="Current" i] .mu-tl-body p { color: #e0e0e0; }
.mu-tl-card > summary:hover .mu-tl-title { text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
.mu-tl-empty { padding-block: .75rem 2rem; border-top: 1px solid var(--tl-line); }
@container (max-width: 35rem) {
  .mu-tl-header { align-items: start; flex-direction: column; gap: .55rem; }
  .mu-tl-entry { grid-template-columns: 1.2rem minmax(0, 1fr); }
  .mu-tl-rail { grid-column: 1; grid-row: 1 / span 2; }
  .mu-tl-date { grid-column: 2; padding: .82rem .35rem .2rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; }
  .mu-tl-rail > span { top: .99rem; }
  .mu-tl-entry:has(~ .mu-tl-entry:not([hidden])) > .mu-tl-rail::before { top: 1.29rem; bottom: -1.29rem; }
  .mu-tl-card { grid-column: 2; }
  .mu-tl-entry-heading { padding: .5rem .35rem .65rem; gap: .35rem; }
  .mu-tl-entry[data-status="Current" i] .mu-tl-entry-heading { padding-block: .75rem; }
  .mu-tl-body:has(> div + img) { grid-template-columns: 1fr; gap: .7rem; }
  .mu-tl-body img { max-width: 100%; }
}
@media (forced-colors: active) {
  .mu-tl-rail > span { border-color: CanvasText; }
  .mu-tl-entry[data-status="Current" i] .mu-tl-card { border: 2px solid Highlight; }
}
JavaScript module
JavaScript module
export function mount(root) {
  const filter = root.querySelector('[data-timeline-filter]');
  if (!filter) return;
  const entries = [...root.querySelectorAll('[data-timeline-entry]')];
  const statuses = new Set(entries.map(entry => entry.dataset.status));
  if (statuses.size < 2) return;
  const select = filter.querySelector('select');
  const count = root.querySelector('[data-timeline-count]');
  for (const status of statuses) {
    if (!status) continue;
    const option = root.ownerDocument.createElement('option');
    option.value = option.textContent = status;
    select.append(option);
  }
  select.addEventListener('change', () => {
    let visible = 0;
    for (const entry of entries) {
      entry.hidden = Boolean(select.value && entry.dataset.status !== select.value);
      if (!entry.hidden) visible++;
    }
    count.textContent = visible + (visible === 1 ? ' entry' : ' entries');
  });
  filter.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

HTML head
<link rel="stylesheet" href="./base.css">
<link rel="stylesheet" href="./timeline.css">
<script type="module" src="./timeline.js"></script>

Copy into your project

Run this command from the Mono checkout. Set -out to the component directory in your application.

Terminal
go run ./cmd/mono-ui add -out ./components timeline
Example properties (JSON)
example.json
{
  "Entries": [
    {
      "Category": "Print room",
      "Date": "2027-02-26",
      "DateLabel": "26 February",
      "Description": "The print team pulled three impressions on uncoated paper. The lightest inking kept the counters open, so that proof became the reference for the exhibition labels.",
      "ImageAlt": "Carved letterpress blocks arranged in a type drawer.",
      "ImageURL": "../components/events/form-function/letterforms.webp",
      "Status": "Complete",
      "TimeLabel": "16:00 SGT",
      "Title": "The first proof comes off the press"
    },
    {
      "Category": "Material study",
      "Date": "2027-03-02",
      "DateLabel": "2 March",
      "Description": "Jo Leone folded a single sheet of card into a bridge. Under a side light, its alternating ridges revealed the crease that carried most of the load.",
      "ImageAlt": "A pleated white paper model casts alternating triangular shadows.",
      "ImageURL": "../components/events/form-function/paper-study.webp",
      "LinkLabel": "Open studio calendar",
      "Open": true,
      "Status": "Current",
      "TimeLabel": "10:30 SGT",
      "Title": "From a flat sheet to a standing form",
      "URL": "../components/event-calendar.html"
    },
    {
      "Category": "Motion study",
      "Date": "2027-03-10",
      "DateLabel": "10 March",
      "Description": "Sam Okafor will hang the wire studies in Studio A and record how long each one takes to settle after a single push.",
      "Status": "Upcoming",
      "TimeLabel": "17:30 SGT",
      "Title": "A mobile finds its balance"
    },
    {
      "Category": "Conference",
      "Date": "2027-03-12",
      "DateLabel": "12 March",
      "Description": "The paper bridge, the mobile, and a working desk lamp move to the main hall for two days of talks and demonstrations.",
      "LinkLabel": "View conference programme",
      "Status": "Upcoming",
      "TimeLabel": "09:00 SGT",
      "Title": "The tools go on stage",
      "URL": "../components/event-schedule.html"
    },
    {
      "Category": "Courtyard",
      "Date": "2027-03-30",
      "DateLabel": "30 March",
      "Description": "The studio closes its spring programme with a print exchange. Each maker brings a small edition and the story behind the impression.",
      "Status": "Upcoming",
      "TimeLabel": "17:00 SGT",
      "Title": "An edition changes hands"
    }
  ],
  "Period": "Spring 2027",
  "Subtitle": "Form \u0026 Function",
  "Title": "Studio journal"
}