Components Data display
Wall of Love
Explore a wall of portraits and open each contributor’s testimonial.
Wall of love
Meet the people who make, print, and bind with Form & Function. Choose a portrait to read their note.
We taped the first proof to the window. In daylight you could finally see why the lighter gray was the right one.
My first print came off crooked. The tutor handed me another sheet and showed me where the corner had slipped.
The little square book opens flat on my bench. I have already traced its stitch pattern into my notebook.
My students spent twenty minutes arguing over which of two whites to use. That sample pack earned its shelf space.
I usually draw straight onto a screen. By lunch I had ink on both elbows and a stack of slightly different birds.
People open the journal to the foldout map before they read the cover. We keep our shop copy there now.
The proof arrived with pencil marks still on it. I could follow every decision about where the poem should break.
I brought a scrap of woven cloth. We scanned it, enlarged it, and pulled a print where you can count the threads.
The postage guide saved me a second trip. Our folded sheet fitted through the post office gauge on the first try.
They let me try my score at three sizes. The smallest one is the one the musicians asked to take home.
That sheet of prompts comes on every school visit now. The question about shadows gets the quietest kids talking.
Someone had marked the grain direction on every offcut. A small kindness when you are folding forty covers.
I kept the test strip with the five exposures. It finally showed me how much detail the dark paper could hold.
The clay stamps looked better on rough paper than in my photographs. I slipped a print into each box.
They gave me the weight and fiber content alongside each swatch. I could order the right stock straight away.
We took the sample labels into the gallery after dark. The wider lettering still read clearly under the spotlights.
The press pulled a little ink into the join of the r. Seeing that on paper changed the next drawing.
We printed our supper menus two-up on the leftover sheets. Everyone left with a spare for the fridge.
A tracing-paper insert let us show the old walls and the new plan on the same spread. No one needed a legend.
I had never trimmed a folded book. The guide marks made sense the moment I tried them on a scrap.
My specimen cards got damp in my bag. The pencil notes on the stock we chose were still readable.
We ran the same plate with two rollers. The notes beside each pull are more useful than a photograph of the press.
We left the little nick in the block. My daughter can pick out my print by that mark alone.
The pocket in the back cover took three attempts. I have all three dummies lined up above my cutting mat.
The foldout fits on our smallest reading table. Two readers can spread it out and still leave room for their tea.
I took the spacing exercise back to a shop fascia I was painting. Moving one letter settled the whole word.
The field notebook has just enough tooth for a soft pencil. I filled the first spread before the bus home arrived.
We used the blank side of the proof for a seating plan. It ended up folded into the exhibition archive.
Thread tension was a mystery until I held the loose and tight samples side by side. My next spine sat straight.
The workshop ended with everyone trading a print. Mine lives above the kettle where I see it every morning.
Usage
Set Title and Intro, then pass Items in the order you want the portraits to appear. Each item takes a Name and Quote. Add Role and Company for the byline, and a Portrait URL for the tile. Supply Initials for a text portrait. Replace the fictional contributors and local image paths with your own. Hover or focus a portrait to preview its quote. Click or tap to keep a quote open. Select it again, press Escape, or click outside to close it. The Go-rendered disclosures also open with Enter or Space when JavaScript is disabled.
Register wall-of-love with Head and pass its properties to Render. Go setup guide
Use the arrow keys to move between portraits, or Home and End to jump to the first and last. Press Tab to enter an open quote and Escape to return to its portrait.
Use your own portrait URLs, or set Initials for contributors without a photo. Customize the spacing and corner radius with --wall-gap and --wall-radius.
Start with two contributors
err := mono.UI.Render(w, "wall-of-love", mono.Props{
"Title": "From the workshop",
"Items": []mono.Props{
{"Name": "Milo", "Portrait": "/images/milo.webp", "Role": "Printer",
"Quote": "We kept the first proof next to the finished cover."},
{"Name": "Ren", "Initials": "R", "Role": "Bookbinder",
"Quote": "I took the sewing pattern home to finish my second book."},
},
})Go usage
err := mono.UI.Render(w, "wall-of-love", mono.Props{
"Intro": "Meet the people who make, print, and bind with Form & Function. Choose a portrait to read their note.",
"Items": []any{
map[string]any{
"Company": "Margin Works",
"Initials": "BL",
"Name": "Bea Lin",
"Portrait": "../components/portraits/bea-lin.webp",
"Quote": "We taped the first proof to the window. In daylight you could finally see why the lighter gray was the right one.",
"Role": "Art director",
},
map[string]any{
"Company": "Second Floor Press",
"Initials": "KO",
"Name": "Kit Ortega",
"Portrait": "../components/portraits/wall-of-love/portrait-01.webp",
"Quote": "My first print came off crooked. The tutor handed me another sheet and showed me where the corner had slipped.",
"Role": "Studio technician",
},
map[string]any{
"Initials": "RK",
"Name": "Ren Kato",
"Portrait": "../components/portraits/wall-of-love/portrait-02.webp",
"Quote": "The little square book opens flat on my bench. I have already traced its stitch pattern into my notebook.",
"Role": "Bookbinder",
},
map[string]any{
"Company": "Table Nine",
"Initials": "AD",
"Name": "Amal Darzi",
"Portrait": "../components/portraits/wall-of-love/portrait-03.webp",
"Quote": "My students spent twenty minutes arguing over which of two whites to use. That sample pack earned its shelf space.",
"Role": "Design lecturer",
},
map[string]any{
"Initials": "LI",
"Name": "Lou Isley",
"Portrait": "../components/portraits/wall-of-love/portrait-04.webp",
"Quote": "I usually draw straight onto a screen. By lunch I had ink on both elbows and a stack of slightly different birds.",
"Role": "Illustrator",
},
map[string]any{
"Company": "Still Room Books",
"Initials": "CS",
"Name": "Cleo Shaw",
"Portrait": "../components/portraits/wall-of-love/portrait-05.webp",
"Quote": "People open the journal to the foldout map before they read the cover. We keep our shop copy there now.",
"Role": "Bookseller",
},
map[string]any{
"Company": "East Window",
"Initials": "MS",
"Name": "Mira Shah",
"Portrait": "../components/portraits/mira-shah.webp",
"Quote": "The proof arrived with pencil marks still on it. I could follow every decision about where the poem should break.",
"Role": "Editor",
},
map[string]any{
"Company": "Selvedge Room",
"Initials": "JD",
"Name": "Jules Diallo",
"Portrait": "../components/portraits/wall-of-love/portrait-06.webp",
"Quote": "I brought a scrap of woven cloth. We scanned it, enlarged it, and pulled a print where you can count the threads.",
"Role": "Textile designer",
},
map[string]any{
"Company": "Pocket Press",
"Initials": "RH",
"Name": "Remy Holt",
"Portrait": "../components/portraits/wall-of-love/portrait-07.webp",
"Quote": "The postage guide saved me a second trip. Our folded sheet fitted through the post office gauge on the first try.",
"Role": "Independent publisher",
},
map[string]any{
"Initials": "SK",
"Name": "Sasha Kim",
"Portrait": "../components/portraits/wall-of-love/portrait-08.webp",
"Quote": "They let me try my score at three sizes. The smallest one is the one the musicians asked to take home.",
"Role": "Sound artist",
},
map[string]any{
"Company": "Quay Museum",
"Initials": "AC",
"Name": "Ari Correa",
"Portrait": "../components/portraits/wall-of-love/portrait-09.webp",
"Quote": "That sheet of prompts comes on every school visit now. The question about shadows gets the quietest kids talking.",
"Role": "Museum educator",
},
map[string]any{
"Company": "Blue Door Type",
"Initials": "NB",
"Name": "Nico Batra",
"Portrait": "../components/portraits/wall-of-love/portrait-10.webp",
"Quote": "Someone had marked the grain direction on every offcut. A small kindness when you are folding forty covers.",
"Role": "Letterpress printer",
},
map[string]any{
"Initials": "AC",
"Name": "Ada Cole",
"Portrait": "../components/portraits/ada-cole.webp",
"Quote": "I kept the test strip with the five exposures. It finally showed me how much detail the dark paper could hold.",
"Role": "Photographer",
},
map[string]any{
"Company": "Turning Studio",
"Initials": "SE",
"Name": "Sam Elwood",
"Portrait": "../components/portraits/wall-of-love/portrait-11.webp",
"Quote": "The clay stamps looked better on rough paper than in my photographs. I slipped a print into each box.",
"Role": "Ceramicist",
},
map[string]any{
"Initials": "ML",
"Name": "Min Laurent",
"Portrait": "../components/portraits/wall-of-love/portrait-12.webp",
"Quote": "They gave me the weight and fiber content alongside each swatch. I could order the right stock straight away.",
"Role": "Paper conservator",
},
map[string]any{
"Company": "Apron Gallery",
"Initials": "RL",
"Name": "Rowan Leal",
"Portrait": "../components/portraits/wall-of-love/portrait-13.webp",
"Quote": "We took the sample labels into the gallery after dark. The wider lettering still read clearly under the spotlights.",
"Role": "Exhibition designer",
},
map[string]any{
"Initials": "ER",
"Name": "Ellis Reed",
"Portrait": "../components/portraits/ellis-reed.webp",
"Quote": "The press pulled a little ink into the join of the r. Seeing that on paper changed the next drawing.",
"Role": "Type designer",
},
map[string]any{
"Company": "Friday Table",
"Initials": "NP",
"Name": "Noor Patel",
"Portrait": "../components/portraits/wall-of-love/portrait-14.webp",
"Quote": "We printed our supper menus two-up on the leftover sheets. Everyone left with a spare for the fridge.",
"Role": "Community organizer",
},
map[string]any{
"Company": "Corner Practice",
"Initials": "RA",
"Name": "Robin Ahn",
"Portrait": "../components/portraits/wall-of-love/portrait-15.webp",
"Quote": "A tracing-paper insert let us show the old walls and the new plan on the same spread. No one needed a legend.",
"Role": "Architect",
},
map[string]any{
"Initials": "DS",
"Name": "Dani Salas",
"Portrait": "../components/portraits/wall-of-love/portrait-16.webp",
"Quote": "I had never trimmed a folded book. The guide marks made sense the moment I tried them on a scrap.",
"Role": "Zine maker",
},
map[string]any{
"Company": "Moss Archive",
"Initials": "CN",
"Name": "Casey Nouri",
"Portrait": "../components/portraits/wall-of-love/portrait-17.webp",
"Quote": "My specimen cards got damp in my bag. The pencil notes on the stock we chose were still readable.",
"Role": "Field researcher",
},
map[string]any{
"Company": "West Bench",
"Initials": "MY",
"Name": "Morgan Yeoh",
"Portrait": "../components/portraits/wall-of-love/portrait-18.webp",
"Quote": "We ran the same plate with two rollers. The notes beside each pull are more useful than a photograph of the press.",
"Role": "Print technician",
},
map[string]any{
"Company": "Lantern Editions",
"Initials": "FH",
"Name": "Felix Hart",
"Portrait": "../components/portraits/felix-hart.webp",
"Quote": "We left the little nick in the block. My daughter can pick out my print by that mark alone.",
"Role": "Printmaker",
},
map[string]any{
"Initials": "TR",
"Name": "Toni Reyes",
"Portrait": "../components/portraits/wall-of-love/portrait-19.webp",
"Quote": "The pocket in the back cover took three attempts. I have all three dummies lined up above my cutting mat.",
"Role": "Book artist",
},
map[string]any{
"Company": "The Reading Shed",
"Initials": "JD",
"Name": "Jin Dyer",
"Portrait": "../components/portraits/wall-of-love/portrait-20.webp",
"Quote": "The foldout fits on our smallest reading table. Two readers can spread it out and still leave room for their tea.",
"Role": "Library assistant",
},
map[string]any{
"Initials": "AI",
"Name": "Alex Ilyas",
"Portrait": "../components/portraits/wall-of-love/portrait-21.webp",
"Quote": "I took the spacing exercise back to a shop fascia I was painting. Moving one letter settled the whole word.",
"Role": "Sign painter",
},
map[string]any{
"Company": "Footpath Studio",
"Initials": "DE",
"Name": "Dev Ellis",
"Portrait": "../components/portraits/wall-of-love/portrait-22.webp",
"Quote": "The field notebook has just enough tooth for a soft pencil. I filled the first spread before the bus home arrived.",
"Role": "Landscape illustrator",
},
map[string]any{
"Company": "Side Room",
"Initials": "AL",
"Name": "Ash Leto",
"Portrait": "../components/portraits/wall-of-love/portrait-23.webp",
"Quote": "We used the blank side of the proof for a seating plan. It ended up folded into the exhibition archive.",
"Role": "Program curator",
},
map[string]any{
"Initials": "LO",
"Name": "Lee Osei",
"Portrait": "../components/portraits/wall-of-love/portrait-24.webp",
"Quote": "Thread tension was a mystery until I held the loose and tight samples side by side. My next spine sat straight.",
"Role": "Apprentice binder",
},
map[string]any{
"Company": "Common Ink",
"Initials": "RV",
"Name": "Rory Vale",
"Portrait": "../components/portraits/wall-of-love/portrait-25.webp",
"Quote": "The workshop ended with everyone trading a print. Mine lives above the kettle where I see it every morning.",
"Role": "Graphic designer",
},
},
"Title": "Wall of love",
})Rendered HTML
<section id="demo-wall-of-love" data-mono="wall-of-love" class="mu-wall" aria-labelledby="demo-wall-of-love-title">
<div class="mu-wall-inner">
<header class="mu-wall-head">
<h2 id="demo-wall-of-love-title">Wall of love</h2>
<p>Meet the people who make, print, and bind with Form & Function. Choose a portrait to read their note.</p>
</header>
<div class="mu-wall-grid" data-wall-grid>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Bea Lin" aria-controls="demo-wall-of-love-quote-0">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">BL</span>
<img src="../components/portraits/bea-lin.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-0" data-wall-quote tabindex="0">
<blockquote>We taped the first proof to the window. In daylight you could finally see why the lighter gray was the right one.</blockquote>
<figcaption><strong>Bea Lin</strong><span>Art director, Margin Works</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Kit Ortega" aria-controls="demo-wall-of-love-quote-1">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">KO</span>
<img src="../components/portraits/wall-of-love/portrait-01.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-1" data-wall-quote tabindex="0">
<blockquote>My first print came off crooked. The tutor handed me another sheet and showed me where the corner had slipped.</blockquote>
<figcaption><strong>Kit Ortega</strong><span>Studio technician, Second Floor Press</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Ren Kato" aria-controls="demo-wall-of-love-quote-2">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">RK</span>
<img src="../components/portraits/wall-of-love/portrait-02.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-2" data-wall-quote tabindex="0">
<blockquote>The little square book opens flat on my bench. I have already traced its stitch pattern into my notebook.</blockquote>
<figcaption><strong>Ren Kato</strong><span>Bookbinder</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Amal Darzi" aria-controls="demo-wall-of-love-quote-3">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">AD</span>
<img src="../components/portraits/wall-of-love/portrait-03.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-3" data-wall-quote tabindex="0">
<blockquote>My students spent twenty minutes arguing over which of two whites to use. That sample pack earned its shelf space.</blockquote>
<figcaption><strong>Amal Darzi</strong><span>Design lecturer, Table Nine</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Lou Isley" aria-controls="demo-wall-of-love-quote-4">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">LI</span>
<img src="../components/portraits/wall-of-love/portrait-04.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-4" data-wall-quote tabindex="0">
<blockquote>I usually draw straight onto a screen. By lunch I had ink on both elbows and a stack of slightly different birds.</blockquote>
<figcaption><strong>Lou Isley</strong><span>Illustrator</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Cleo Shaw" aria-controls="demo-wall-of-love-quote-5">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">CS</span>
<img src="../components/portraits/wall-of-love/portrait-05.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-5" data-wall-quote tabindex="0">
<blockquote>People open the journal to the foldout map before they read the cover. We keep our shop copy there now.</blockquote>
<figcaption><strong>Cleo Shaw</strong><span>Bookseller, Still Room Books</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Mira Shah" aria-controls="demo-wall-of-love-quote-6">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">MS</span>
<img src="../components/portraits/mira-shah.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-6" data-wall-quote tabindex="0">
<blockquote>The proof arrived with pencil marks still on it. I could follow every decision about where the poem should break.</blockquote>
<figcaption><strong>Mira Shah</strong><span>Editor, East Window</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Jules Diallo" aria-controls="demo-wall-of-love-quote-7">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">JD</span>
<img src="../components/portraits/wall-of-love/portrait-06.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-7" data-wall-quote tabindex="0">
<blockquote>I brought a scrap of woven cloth. We scanned it, enlarged it, and pulled a print where you can count the threads.</blockquote>
<figcaption><strong>Jules Diallo</strong><span>Textile designer, Selvedge Room</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Remy Holt" aria-controls="demo-wall-of-love-quote-8">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">RH</span>
<img src="../components/portraits/wall-of-love/portrait-07.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-8" data-wall-quote tabindex="0">
<blockquote>The postage guide saved me a second trip. Our folded sheet fitted through the post office gauge on the first try.</blockquote>
<figcaption><strong>Remy Holt</strong><span>Independent publisher, Pocket Press</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Sasha Kim" aria-controls="demo-wall-of-love-quote-9">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">SK</span>
<img src="../components/portraits/wall-of-love/portrait-08.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-9" data-wall-quote tabindex="0">
<blockquote>They let me try my score at three sizes. The smallest one is the one the musicians asked to take home.</blockquote>
<figcaption><strong>Sasha Kim</strong><span>Sound artist</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Ari Correa" aria-controls="demo-wall-of-love-quote-10">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">AC</span>
<img src="../components/portraits/wall-of-love/portrait-09.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-10" data-wall-quote tabindex="0">
<blockquote>That sheet of prompts comes on every school visit now. The question about shadows gets the quietest kids talking.</blockquote>
<figcaption><strong>Ari Correa</strong><span>Museum educator, Quay Museum</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Nico Batra" aria-controls="demo-wall-of-love-quote-11">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">NB</span>
<img src="../components/portraits/wall-of-love/portrait-10.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-11" data-wall-quote tabindex="0">
<blockquote>Someone had marked the grain direction on every offcut. A small kindness when you are folding forty covers.</blockquote>
<figcaption><strong>Nico Batra</strong><span>Letterpress printer, Blue Door Type</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Ada Cole" aria-controls="demo-wall-of-love-quote-12">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">AC</span>
<img src="../components/portraits/ada-cole.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-12" data-wall-quote tabindex="0">
<blockquote>I kept the test strip with the five exposures. It finally showed me how much detail the dark paper could hold.</blockquote>
<figcaption><strong>Ada Cole</strong><span>Photographer</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Sam Elwood" aria-controls="demo-wall-of-love-quote-13">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">SE</span>
<img src="../components/portraits/wall-of-love/portrait-11.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-13" data-wall-quote tabindex="0">
<blockquote>The clay stamps looked better on rough paper than in my photographs. I slipped a print into each box.</blockquote>
<figcaption><strong>Sam Elwood</strong><span>Ceramicist, Turning Studio</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Min Laurent" aria-controls="demo-wall-of-love-quote-14">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">ML</span>
<img src="../components/portraits/wall-of-love/portrait-12.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-14" data-wall-quote tabindex="0">
<blockquote>They gave me the weight and fiber content alongside each swatch. I could order the right stock straight away.</blockquote>
<figcaption><strong>Min Laurent</strong><span>Paper conservator</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Rowan Leal" aria-controls="demo-wall-of-love-quote-15">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">RL</span>
<img src="../components/portraits/wall-of-love/portrait-13.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-15" data-wall-quote tabindex="0">
<blockquote>We took the sample labels into the gallery after dark. The wider lettering still read clearly under the spotlights.</blockquote>
<figcaption><strong>Rowan Leal</strong><span>Exhibition designer, Apron Gallery</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Ellis Reed" aria-controls="demo-wall-of-love-quote-16">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">ER</span>
<img src="../components/portraits/ellis-reed.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-16" data-wall-quote tabindex="0">
<blockquote>The press pulled a little ink into the join of the r. Seeing that on paper changed the next drawing.</blockquote>
<figcaption><strong>Ellis Reed</strong><span>Type designer</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Noor Patel" aria-controls="demo-wall-of-love-quote-17">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">NP</span>
<img src="../components/portraits/wall-of-love/portrait-14.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-17" data-wall-quote tabindex="0">
<blockquote>We printed our supper menus two-up on the leftover sheets. Everyone left with a spare for the fridge.</blockquote>
<figcaption><strong>Noor Patel</strong><span>Community organizer, Friday Table</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Robin Ahn" aria-controls="demo-wall-of-love-quote-18">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">RA</span>
<img src="../components/portraits/wall-of-love/portrait-15.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-18" data-wall-quote tabindex="0">
<blockquote>A tracing-paper insert let us show the old walls and the new plan on the same spread. No one needed a legend.</blockquote>
<figcaption><strong>Robin Ahn</strong><span>Architect, Corner Practice</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Dani Salas" aria-controls="demo-wall-of-love-quote-19">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">DS</span>
<img src="../components/portraits/wall-of-love/portrait-16.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-19" data-wall-quote tabindex="0">
<blockquote>I had never trimmed a folded book. The guide marks made sense the moment I tried them on a scrap.</blockquote>
<figcaption><strong>Dani Salas</strong><span>Zine maker</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Casey Nouri" aria-controls="demo-wall-of-love-quote-20">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">CN</span>
<img src="../components/portraits/wall-of-love/portrait-17.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-20" data-wall-quote tabindex="0">
<blockquote>My specimen cards got damp in my bag. The pencil notes on the stock we chose were still readable.</blockquote>
<figcaption><strong>Casey Nouri</strong><span>Field researcher, Moss Archive</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Morgan Yeoh" aria-controls="demo-wall-of-love-quote-21">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">MY</span>
<img src="../components/portraits/wall-of-love/portrait-18.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-21" data-wall-quote tabindex="0">
<blockquote>We ran the same plate with two rollers. The notes beside each pull are more useful than a photograph of the press.</blockquote>
<figcaption><strong>Morgan Yeoh</strong><span>Print technician, West Bench</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Felix Hart" aria-controls="demo-wall-of-love-quote-22">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">FH</span>
<img src="../components/portraits/felix-hart.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-22" data-wall-quote tabindex="0">
<blockquote>We left the little nick in the block. My daughter can pick out my print by that mark alone.</blockquote>
<figcaption><strong>Felix Hart</strong><span>Printmaker, Lantern Editions</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Toni Reyes" aria-controls="demo-wall-of-love-quote-23">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">TR</span>
<img src="../components/portraits/wall-of-love/portrait-19.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-23" data-wall-quote tabindex="0">
<blockquote>The pocket in the back cover took three attempts. I have all three dummies lined up above my cutting mat.</blockquote>
<figcaption><strong>Toni Reyes</strong><span>Book artist</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Jin Dyer" aria-controls="demo-wall-of-love-quote-24">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">JD</span>
<img src="../components/portraits/wall-of-love/portrait-20.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-24" data-wall-quote tabindex="0">
<blockquote>The foldout fits on our smallest reading table. Two readers can spread it out and still leave room for their tea.</blockquote>
<figcaption><strong>Jin Dyer</strong><span>Library assistant, The Reading Shed</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Alex Ilyas" aria-controls="demo-wall-of-love-quote-25">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">AI</span>
<img src="../components/portraits/wall-of-love/portrait-21.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-25" data-wall-quote tabindex="0">
<blockquote>I took the spacing exercise back to a shop fascia I was painting. Moving one letter settled the whole word.</blockquote>
<figcaption><strong>Alex Ilyas</strong><span>Sign painter</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Dev Ellis" aria-controls="demo-wall-of-love-quote-26">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">DE</span>
<img src="../components/portraits/wall-of-love/portrait-22.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-26" data-wall-quote tabindex="0">
<blockquote>The field notebook has just enough tooth for a soft pencil. I filled the first spread before the bus home arrived.</blockquote>
<figcaption><strong>Dev Ellis</strong><span>Landscape illustrator, Footpath Studio</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Ash Leto" aria-controls="demo-wall-of-love-quote-27">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">AL</span>
<img src="../components/portraits/wall-of-love/portrait-23.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-27" data-wall-quote tabindex="0">
<blockquote>We used the blank side of the proof for a seating plan. It ended up folded into the exhibition archive.</blockquote>
<figcaption><strong>Ash Leto</strong><span>Program curator, Side Room</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Lee Osei" aria-controls="demo-wall-of-love-quote-28">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">LO</span>
<img src="../components/portraits/wall-of-love/portrait-24.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-28" data-wall-quote tabindex="0">
<blockquote>Thread tension was a mystery until I held the loose and tight samples side by side. My next spine sat straight.</blockquote>
<figcaption><strong>Lee Osei</strong><span>Apprentice binder</span></figcaption>
</figure>
</details>
<details name="demo-wall-of-love-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from Rory Vale" aria-controls="demo-wall-of-love-quote-29">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">RV</span>
<img src="../components/portraits/wall-of-love/portrait-25.webp" width="160" height="160" alt="" loading="lazy" decoding="async">
</span>
</summary>
<figure class="mu-wall-quote" id="demo-wall-of-love-quote-29" data-wall-quote tabindex="0">
<blockquote>The workshop ended with everyone trading a print. Mine lives above the kettle where I see it every morning.</blockquote>
<figcaption><strong>Rory Vale</strong><span>Graphic designer, Common Ink</span></figcaption>
</figure>
</details>
</div>
</div>
</section>Go template
<section id="{{.ID}}" data-mono="wall-of-love" class="mu-wall" {{if .Title}}aria-labelledby="{{.ID}}-title"{{else}}aria-label="Wall of love"{{end}}>
<div class="mu-wall-inner">
{{if or .Title .Intro}}
<header class="mu-wall-head">
{{with .Title}}<h2 id="{{$.ID}}-title">{{.}}</h2>{{end}}
{{with .Intro}}<p>{{.}}</p>{{end}}
</header>
{{end}}
{{if .Items}}
<div class="mu-wall-grid" data-wall-grid>
{{range $i, $item := .Items}}
<details name="{{$.ID}}-stories" data-wall-tile>
<summary data-wall-trigger aria-label="Read testimonial from {{or .Name "a contributor"}}" aria-controls="{{$.ID}}-quote-{{$i}}">
<span class="mu-wall-portrait" aria-hidden="true">
<span class="mu-wall-fallback">{{or .Initials .Name "Guest"}}</span>
{{with .Portrait}}<img src="{{.}}" width="160" height="160" alt="" loading="lazy" decoding="async">{{end}}
</span>
</summary>
<figure class="mu-wall-quote" id="{{$.ID}}-quote-{{$i}}" data-wall-quote tabindex="0">
<blockquote>{{.Quote}}</blockquote>
<figcaption><strong>{{or .Name "Contributor"}}</strong>{{if or .Role .Company}}<span>{{.Role}}{{if and .Role .Company}}, {{end}}{{.Company}}</span>{{end}}</figcaption>
</figure>
</details>
{{end}}
</div>
{{else}}
<p class="mu-wall-empty">No testimonials yet.</p>
{{end}}
</div>
</section>Component CSS
.mu-wall {
--wall-paper: #f7f7f7;
--wall-ink: #151515;
--wall-gap: clamp(.45rem, 1.1cqi, .85rem);
--wall-radius: .85rem;
container: mono-wall / inline-size;
width: 100%;
min-width: 0;
color: var(--wall-ink);
background: var(--wall-paper);
}
.mu-wall-inner { max-width: 66rem; margin: auto; padding: clamp(1.5rem, 5cqi, 4.75rem) clamp(.9rem, 3.8cqi, 2.75rem); }
.mu-wall-head {
display: flex;
flex-wrap: wrap;
align-items: end;
justify-content: space-between;
gap: 1rem 2rem;
border-bottom: 1px solid #c6c6c6;
padding-bottom: clamp(1.1rem, 2.5cqi, 2.25rem);
margin-bottom: clamp(1.25rem, 2.8cqi, 2.5rem);
}
.mu-wall .mu-wall-head h2 { margin: 0; color: inherit; font-size: clamp(2.75rem, 6.5cqi, 5rem); font-weight: 620; line-height: .99; letter-spacing: -.065em; overflow-wrap: anywhere; }
.mu-wall-head p { max-width: 32ch; margin: 0; color: #494949; font-size: clamp(.95rem, 1.35cqi, 1.07rem); line-height: 1.45; }
.mu-wall-grid {
--wall-columns: 10;
display: grid;
grid-template-columns: repeat(var(--wall-columns), minmax(0, 1fr));
gap: var(--wall-gap);
align-items: start;
position: relative;
isolation: isolate;
}
.mu-wall-grid details { min-width: 0; margin: 0; }
.mu-wall-grid summary {
position: relative;
display: block;
list-style: none;
max-width: 100%;
aspect-ratio: 1;
margin: 0;
padding: 0;
border: 0;
border-radius: var(--wall-radius);
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.mu-wall-grid summary::-webkit-details-marker { display: none; }
.mu-wall-portrait {
position: absolute;
inset: 0;
display: grid;
place-items: center;
overflow: hidden;
border-radius: inherit;
background: #e4e4e4;
box-shadow: inset 0 0 0 1px #0001;
}
.mu-wall-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.mu-wall-fallback { padding: .3rem; text-align: center; overflow-wrap: anywhere; font: 550 clamp(.75rem, 1.8cqi, 1.35rem)/1.1 ui-monospace, Consolas, monospace; }
.mu-wall-grid summary:focus-visible, .mu-wall .mu-wall-quote:focus-visible { outline: 2px solid var(--wall-ink); outline-offset: 3px; }
.mu-wall-quote {
box-sizing: border-box;
margin: 0;
padding: 1rem 1.1rem;
border: 1px solid #dedede;
border-radius: .75rem;
background: #fff;
color: #171717;
overflow-wrap: anywhere;
}
.mu-wall-quote blockquote { margin: 0; padding: 0; font: 490 1.04rem/1.43 Inter, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.019em; }
.mu-wall-quote blockquote::before { content: "“"; }
.mu-wall-quote blockquote::after { content: "”"; }
.mu-wall-quote figcaption { margin-top: .85rem; padding-top: .6rem; border-top: 1px solid #e3e3e3; display: grid; gap: .14rem; }
.mu-wall-quote strong { font-size: .84rem; line-height: 1.25; }
.mu-wall-quote figcaption span { color: #535353; font: 500 .65rem/1.45 ui-monospace, Consolas, monospace; letter-spacing: .035em; text-transform: uppercase; }
.mu-wall-empty { padding-block: 1.5rem; color: #535353; }
/* With native disclosure alone, the open quote takes a full row in reading order. */
.mu-wall:not([data-wall-ready]) details[open] { grid-column: 1 / -1; }
.mu-wall:not([data-wall-ready]) details[open] summary { width: 5rem; margin-bottom: .5rem; }
.mu-wall[data-wall-ready] details[open] summary { z-index: 2; }
.mu-wall[data-wall-ready] details[open] summary::after {
content: "";
position: absolute;
left: 50%;
width: 10px;
height: 10px;
background: #fff;
border-color: #dedede;
border-style: solid;
transform: translateX(-50%) rotate(45deg);
pointer-events: none;
}
.mu-wall details:has([data-wall-side="below"]) summary::after { top: calc(100% + 5px); border-width: 1px 0 0 1px; }
.mu-wall details:has([data-wall-side="above"]) summary::after { bottom: calc(100% + 5px); border-width: 0 1px 1px 0; }
.mu-wall[data-wall-ready] .mu-wall-grid:has(details[open]) details:not([open]) .mu-wall-portrait { opacity: .32; filter: blur(1.3px); }
.mu-wall[data-wall-ready] .mu-wall-quote {
position: absolute;
z-index: 3;
left: var(--wall-x, 0px);
top: var(--wall-y, 0px);
width: min(16.5rem, 100%);
max-height: var(--wall-room, 80vh);
overflow: auto;
box-shadow: 0 .6rem 1.7rem #0002, 0 1px 3px #0001;
}
@media (prefers-reduced-motion: no-preference) {
.mu-wall-portrait { transition: opacity 140ms ease-out, filter 140ms ease-out; }
}
@container mono-wall (max-width: 51rem) { .mu-wall-grid { --wall-columns: 6; } }
@container mono-wall (max-width: 35rem) { .mu-wall-grid { --wall-columns: 5; } }
@container mono-wall (max-width: 25rem) { .mu-wall-grid { --wall-columns: 4; } }
@container mono-wall (max-width: 17rem) { .mu-wall-grid { --wall-columns: 3; } }
@media (forced-colors: active) {
.mu-wall-portrait, .mu-wall-quote { border: 1px solid CanvasText; }
.mu-wall[data-wall-ready] .mu-wall-grid:has(details[open]) details:not([open]) .mu-wall-portrait { filter: none; opacity: 1; }
.mu-wall details[open] summary { outline: 2px solid Highlight; outline-offset: 2px; }
}JavaScript module
export function mount(root) {
const grid = root.querySelector('[data-wall-grid]');
if (!grid) return;
const tiles = Array.from(grid.children).filter(tile => tile.matches('details[data-wall-tile]'));
if (!tiles.length) return;
const doc = root.ownerDocument;
const win = doc.defaultView;
let active, trigger, quote, pinned, listeners, observer, frame, leaveTimer;
function tileFor(node) {
const tile = node?.closest?.('[data-wall-tile]');
return tile?.parentElement === grid ? tile : null;
}
function close() {
clearTimeout(leaveTimer);
if (!active) return;
listeners.abort();
observer?.disconnect();
win.cancelAnimationFrame(frame);
frame = 0;
active.open = false;
active.removeAttribute('data-wall-pinned');
active = trigger = quote = null;
pinned = false;
}
function position(afterLayout = false) {
frame = 0;
if (!active) return;
if (!root.isConnected) return close();
const tile = trigger.getBoundingClientRect();
const area = grid.getBoundingClientRect();
const viewport = win.visualViewport;
const left = viewport?.offsetLeft ?? 0;
const viewportTop = viewport?.offsetTop ?? 0;
const scrollPadding = win.getComputedStyle(doc.documentElement).scrollPaddingTop || '';
const top = viewportTop + (scrollPadding.endsWith('px') ? parseFloat(scrollPadding) : 0);
const right = left + (viewport?.width ?? doc.documentElement.clientWidth);
const bottom = viewportTop + (viewport?.height ?? win.innerHeight);
if (tile.bottom <= top || tile.top >= bottom || tile.right <= left || tile.left >= right) {
// Keyboard focus can scroll a new portrait into view after focusin fires.
return afterLayout ? close() : reposition();
}
const gap = 9;
const gutter = 8;
const spaceAbove = Math.max(0, tile.top - top - gap - gutter);
const spaceBelow = Math.max(0, bottom - tile.bottom - gap - gutter);
const height = quote.offsetHeight + quote.scrollHeight - quote.clientHeight;
const above = height > spaceBelow && spaceAbove > spaceBelow;
const room = Math.floor(above ? spaceAbove : spaceBelow);
const center = tile.left + tile.width / 2;
const minX = Math.max(left + gutter, area.left);
const maxX = Math.min(right - gutter, area.right) - quote.offsetWidth;
const x = Math.max(minX, Math.min(maxX, center - quote.offsetWidth / 2));
const y = above ? tile.top - gap - Math.min(height, room) : tile.bottom + gap;
quote.style.setProperty('--wall-x', (x - area.left - grid.clientLeft) + 'px');
quote.style.setProperty('--wall-y', (y - area.top - grid.clientTop) + 'px');
quote.style.setProperty('--wall-room', room + 'px');
quote.style.setProperty('--wall-arrow-x', (center - x) + 'px');
quote.dataset.wallSide = above ? 'above' : 'below';
}
function reposition() {
if (!frame) frame = win.requestAnimationFrame(() => position(true));
}
function open(tile) {
clearTimeout(leaveTimer);
if (active === tile || !root.isConnected) return;
close();
active = tile;
trigger = tile.querySelector('[data-wall-trigger]');
quote = tile.querySelector('[data-wall-quote]');
tile.open = true;
listeners = new AbortController();
const options = { signal: listeners.signal, passive: true };
doc.addEventListener('pointerdown', event => {
if (!active.contains(event.target)) close();
}, { ...options, capture: true });
doc.addEventListener('keydown', event => {
if (event.key !== 'Escape') return;
if (quote.contains(doc.activeElement)) trigger.focus({ preventScroll: true });
close();
}, options);
doc.addEventListener('scroll', event => {
if (!quote.contains(event.target)) reposition();
}, { ...options, capture: true });
win.addEventListener('resize', reposition, options);
win.visualViewport?.addEventListener('resize', reposition, options);
win.visualViewport?.addEventListener('scroll', reposition, options);
if (win.ResizeObserver) {
observer = new win.ResizeObserver(reposition);
observer.observe(grid);
observer.observe(quote);
}
position();
}
grid.addEventListener('pointerover', event => {
if (event.pointerType === 'touch' || event.buttons) return;
const tile = tileFor(event.target);
if (!tile) return;
if (tile === active) clearTimeout(leaveTimer);
else if (tileFor(event.relatedTarget) !== tile && !pinned &&
!(active?.contains(doc.activeElement) && doc.activeElement.matches(':focus-visible'))) open(tile);
});
grid.addEventListener('pointerout', event => {
if (!active || pinned || event.pointerType === 'touch' || tileFor(event.target) !== active) return;
if (tileFor(event.relatedTarget) === active) return;
// The popup sits slightly apart from the tile. Allow time to cross the gap.
clearTimeout(leaveTimer);
leaveTimer = setTimeout(() => {
if (!active?.contains(doc.activeElement) || !doc.activeElement.matches(':focus-visible')) close();
}, 200);
});
grid.addEventListener('click', event => {
const control = event.target.closest('[data-wall-trigger]');
const tile = tileFor(control);
if (!tile) return;
event.preventDefault();
if (tile === active && pinned) return close();
open(tile);
if (active === tile) {
pinned = true;
tile.setAttribute('data-wall-pinned', '');
}
});
grid.addEventListener('focusin', event => {
const tile = tileFor(event.target);
if (tile && event.target.matches('[data-wall-trigger]:focus-visible')) open(tile);
});
grid.addEventListener('focusout', event => {
if (active?.contains(event.target) && !active.contains(event.relatedTarget)) close();
});
grid.addEventListener('keydown', event => {
if (!event.target.matches('[data-wall-trigger]') || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;
const index = tiles.indexOf(tileFor(event.target));
let next;
switch (event.key) {
case 'Home': next = 0; break;
case 'End': next = tiles.length - 1; break;
case 'ArrowLeft':
case 'ArrowRight': {
const forward = event.key === 'ArrowRight';
next = index + (forward !== (win.getComputedStyle(grid).direction === 'rtl') ? 1 : -1);
break;
}
case 'ArrowUp':
case 'ArrowDown': {
const firstRow = tiles[0].offsetTop;
const secondRow = tiles.findIndex(tile => tile.offsetTop > firstRow + 1);
const columns = secondRow === -1 ? tiles.length : secondRow;
next = index + (event.key === 'ArrowDown' ? columns : -columns);
break;
}
default: return;
}
event.preventDefault();
if (tiles[next]) tiles[next].querySelector('[data-wall-trigger]').focus();
});
root.setAttribute('data-wall-ready', '');
const expanded = tiles.find(tile => tile.open);
if (expanded) open(expanded);
}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="./wall-of-love.css">
<script type="module" src="./wall-of-love.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 wall-of-loveExample properties (JSON)
{
"Intro": "Meet the people who make, print, and bind with Form \u0026 Function. Choose a portrait to read their note.",
"Items": [
{
"Company": "Margin Works",
"Initials": "BL",
"Name": "Bea Lin",
"Portrait": "../components/portraits/bea-lin.webp",
"Quote": "We taped the first proof to the window. In daylight you could finally see why the lighter gray was the right one.",
"Role": "Art director"
},
{
"Company": "Second Floor Press",
"Initials": "KO",
"Name": "Kit Ortega",
"Portrait": "../components/portraits/wall-of-love/portrait-01.webp",
"Quote": "My first print came off crooked. The tutor handed me another sheet and showed me where the corner had slipped.",
"Role": "Studio technician"
},
{
"Initials": "RK",
"Name": "Ren Kato",
"Portrait": "../components/portraits/wall-of-love/portrait-02.webp",
"Quote": "The little square book opens flat on my bench. I have already traced its stitch pattern into my notebook.",
"Role": "Bookbinder"
},
{
"Company": "Table Nine",
"Initials": "AD",
"Name": "Amal Darzi",
"Portrait": "../components/portraits/wall-of-love/portrait-03.webp",
"Quote": "My students spent twenty minutes arguing over which of two whites to use. That sample pack earned its shelf space.",
"Role": "Design lecturer"
},
{
"Initials": "LI",
"Name": "Lou Isley",
"Portrait": "../components/portraits/wall-of-love/portrait-04.webp",
"Quote": "I usually draw straight onto a screen. By lunch I had ink on both elbows and a stack of slightly different birds.",
"Role": "Illustrator"
},
{
"Company": "Still Room Books",
"Initials": "CS",
"Name": "Cleo Shaw",
"Portrait": "../components/portraits/wall-of-love/portrait-05.webp",
"Quote": "People open the journal to the foldout map before they read the cover. We keep our shop copy there now.",
"Role": "Bookseller"
},
{
"Company": "East Window",
"Initials": "MS",
"Name": "Mira Shah",
"Portrait": "../components/portraits/mira-shah.webp",
"Quote": "The proof arrived with pencil marks still on it. I could follow every decision about where the poem should break.",
"Role": "Editor"
},
{
"Company": "Selvedge Room",
"Initials": "JD",
"Name": "Jules Diallo",
"Portrait": "../components/portraits/wall-of-love/portrait-06.webp",
"Quote": "I brought a scrap of woven cloth. We scanned it, enlarged it, and pulled a print where you can count the threads.",
"Role": "Textile designer"
},
{
"Company": "Pocket Press",
"Initials": "RH",
"Name": "Remy Holt",
"Portrait": "../components/portraits/wall-of-love/portrait-07.webp",
"Quote": "The postage guide saved me a second trip. Our folded sheet fitted through the post office gauge on the first try.",
"Role": "Independent publisher"
},
{
"Initials": "SK",
"Name": "Sasha Kim",
"Portrait": "../components/portraits/wall-of-love/portrait-08.webp",
"Quote": "They let me try my score at three sizes. The smallest one is the one the musicians asked to take home.",
"Role": "Sound artist"
},
{
"Company": "Quay Museum",
"Initials": "AC",
"Name": "Ari Correa",
"Portrait": "../components/portraits/wall-of-love/portrait-09.webp",
"Quote": "That sheet of prompts comes on every school visit now. The question about shadows gets the quietest kids talking.",
"Role": "Museum educator"
},
{
"Company": "Blue Door Type",
"Initials": "NB",
"Name": "Nico Batra",
"Portrait": "../components/portraits/wall-of-love/portrait-10.webp",
"Quote": "Someone had marked the grain direction on every offcut. A small kindness when you are folding forty covers.",
"Role": "Letterpress printer"
},
{
"Initials": "AC",
"Name": "Ada Cole",
"Portrait": "../components/portraits/ada-cole.webp",
"Quote": "I kept the test strip with the five exposures. It finally showed me how much detail the dark paper could hold.",
"Role": "Photographer"
},
{
"Company": "Turning Studio",
"Initials": "SE",
"Name": "Sam Elwood",
"Portrait": "../components/portraits/wall-of-love/portrait-11.webp",
"Quote": "The clay stamps looked better on rough paper than in my photographs. I slipped a print into each box.",
"Role": "Ceramicist"
},
{
"Initials": "ML",
"Name": "Min Laurent",
"Portrait": "../components/portraits/wall-of-love/portrait-12.webp",
"Quote": "They gave me the weight and fiber content alongside each swatch. I could order the right stock straight away.",
"Role": "Paper conservator"
},
{
"Company": "Apron Gallery",
"Initials": "RL",
"Name": "Rowan Leal",
"Portrait": "../components/portraits/wall-of-love/portrait-13.webp",
"Quote": "We took the sample labels into the gallery after dark. The wider lettering still read clearly under the spotlights.",
"Role": "Exhibition designer"
},
{
"Initials": "ER",
"Name": "Ellis Reed",
"Portrait": "../components/portraits/ellis-reed.webp",
"Quote": "The press pulled a little ink into the join of the r. Seeing that on paper changed the next drawing.",
"Role": "Type designer"
},
{
"Company": "Friday Table",
"Initials": "NP",
"Name": "Noor Patel",
"Portrait": "../components/portraits/wall-of-love/portrait-14.webp",
"Quote": "We printed our supper menus two-up on the leftover sheets. Everyone left with a spare for the fridge.",
"Role": "Community organizer"
},
{
"Company": "Corner Practice",
"Initials": "RA",
"Name": "Robin Ahn",
"Portrait": "../components/portraits/wall-of-love/portrait-15.webp",
"Quote": "A tracing-paper insert let us show the old walls and the new plan on the same spread. No one needed a legend.",
"Role": "Architect"
},
{
"Initials": "DS",
"Name": "Dani Salas",
"Portrait": "../components/portraits/wall-of-love/portrait-16.webp",
"Quote": "I had never trimmed a folded book. The guide marks made sense the moment I tried them on a scrap.",
"Role": "Zine maker"
},
{
"Company": "Moss Archive",
"Initials": "CN",
"Name": "Casey Nouri",
"Portrait": "../components/portraits/wall-of-love/portrait-17.webp",
"Quote": "My specimen cards got damp in my bag. The pencil notes on the stock we chose were still readable.",
"Role": "Field researcher"
},
{
"Company": "West Bench",
"Initials": "MY",
"Name": "Morgan Yeoh",
"Portrait": "../components/portraits/wall-of-love/portrait-18.webp",
"Quote": "We ran the same plate with two rollers. The notes beside each pull are more useful than a photograph of the press.",
"Role": "Print technician"
},
{
"Company": "Lantern Editions",
"Initials": "FH",
"Name": "Felix Hart",
"Portrait": "../components/portraits/felix-hart.webp",
"Quote": "We left the little nick in the block. My daughter can pick out my print by that mark alone.",
"Role": "Printmaker"
},
{
"Initials": "TR",
"Name": "Toni Reyes",
"Portrait": "../components/portraits/wall-of-love/portrait-19.webp",
"Quote": "The pocket in the back cover took three attempts. I have all three dummies lined up above my cutting mat.",
"Role": "Book artist"
},
{
"Company": "The Reading Shed",
"Initials": "JD",
"Name": "Jin Dyer",
"Portrait": "../components/portraits/wall-of-love/portrait-20.webp",
"Quote": "The foldout fits on our smallest reading table. Two readers can spread it out and still leave room for their tea.",
"Role": "Library assistant"
},
{
"Initials": "AI",
"Name": "Alex Ilyas",
"Portrait": "../components/portraits/wall-of-love/portrait-21.webp",
"Quote": "I took the spacing exercise back to a shop fascia I was painting. Moving one letter settled the whole word.",
"Role": "Sign painter"
},
{
"Company": "Footpath Studio",
"Initials": "DE",
"Name": "Dev Ellis",
"Portrait": "../components/portraits/wall-of-love/portrait-22.webp",
"Quote": "The field notebook has just enough tooth for a soft pencil. I filled the first spread before the bus home arrived.",
"Role": "Landscape illustrator"
},
{
"Company": "Side Room",
"Initials": "AL",
"Name": "Ash Leto",
"Portrait": "../components/portraits/wall-of-love/portrait-23.webp",
"Quote": "We used the blank side of the proof for a seating plan. It ended up folded into the exhibition archive.",
"Role": "Program curator"
},
{
"Initials": "LO",
"Name": "Lee Osei",
"Portrait": "../components/portraits/wall-of-love/portrait-24.webp",
"Quote": "Thread tension was a mystery until I held the loose and tight samples side by side. My next spine sat straight.",
"Role": "Apprentice binder"
},
{
"Company": "Common Ink",
"Initials": "RV",
"Name": "Rory Vale",
"Portrait": "../components/portraits/wall-of-love/portrait-25.webp",
"Quote": "The workshop ended with everyone trading a print. Mine lives above the kettle where I see it every morning.",
"Role": "Graphic designer"
}
],
"Title": "Wall of love"
}