Bird guide
A whole site drawn by the Birdie library, page by page.
Birdie gives Design system 1 its own paper, green bands, corners and type, while the components underneath stay the same. The pages run from the front page to the catalogue, a species, a place, a watcher and the editorial Field notes, so together they show how one library carries a whole site. Switch between Computer, Mobile and Tablet, or open an example full size. Changes stay in the preview.
The front page of a bird guide kept by its watchers, in the Birdie library: a sentence of live figures, a strip of sightings, stories, life lists and green bands.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/">Discover</a><a href="/examples/layouts/birdie-place/">Places</a><a href="/examples/layouts/birdie-notes/">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section" aria-label="Birdie">
<h1 class="birdie-hero">Watchers have logged <mark>1.82 million</mark> sightings on Birdie, and yesterday alone they met <mark>6,487</mark> birds.</h1>
<div class="site-actions"><ds-button primary data-size="medium" href="/examples/layouts/birdie-discover/"><span>Discover birds</span></ds-button><ds-button secondary data-size="medium" href="/examples/layouts/birdie-watcher/"><span>Start a life list</span></ds-button></div>
</section>
<section class="site-section" aria-label="Seen right now">
<div class="site-between"><ds-text literal strong wrap role="heading" aria-level="2">Seen right now</ds-text><ds-text literal size="small" tone="muted" >Updated as watchers log</ds-text></div>
<ds-carousel label="Seen right now" literal slide-width="auto" no-dots bleed="end">
<a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-robin.jpg" alt="A robin with an orange breast on a twig" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>European robin</ds-text><ds-text literal tone="muted" wrap>Malmö</ds-text><ds-text literal tone="muted" wrap>9 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-heron.jpg" alt="A grey heron walking through mist" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Grey heron</ds-text><ds-text literal tone="muted" wrap>Utrecht</ds-text><ds-text literal tone="muted" wrap>14 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-starling.jpg" alt="A glossy starling speckled with pale spots" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common starling</ds-text><ds-text literal tone="muted" wrap>Aarhus</ds-text><ds-text literal tone="muted" wrap>21 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-mallard.jpg" alt="A mallard drake with a green head on a pond" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mallard</ds-text><ds-text literal tone="muted" wrap>Kyoto</ds-text><ds-text literal tone="muted" wrap>26 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-blue-tit.jpg" alt="A blue tit with a blue cap on a mossy branch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian blue tit</ds-text><ds-text literal tone="muted" wrap>Leeds</ds-text><ds-text literal tone="muted" wrap>31 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-oystercatcher.jpg" alt="A black and white oystercatcher with a long orange bill" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian oystercatcher</ds-text><ds-text literal tone="muted" wrap>Bergen</ds-text><ds-text literal tone="muted" wrap>40 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-blackbird.jpg" alt="A black bird with an orange bill and eye ring" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common blackbird</ds-text><ds-text literal tone="muted" wrap>Lyon</ds-text><ds-text literal tone="muted" wrap>44 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-swan.jpg" alt="A mute swan on dark water" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mute swan</ds-text><ds-text literal tone="muted" wrap>Gdańsk</ds-text><ds-text literal tone="muted" wrap>52 seconds ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-kestrel.jpg" alt="A kestrel looking over its shoulder" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kestrel</ds-text><ds-text literal tone="muted" wrap>Porto</ds-text><ds-text literal tone="muted" wrap>1 minute ago</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-seen><ds-image src="/examples/images/birdie-great-tit.jpg" alt="A great tit with a black head and yellow belly" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Great tit</ds-text><ds-text literal tone="muted" wrap>Sapporo</ds-text><ds-text literal tone="muted" wrap>1 minute ago</ds-text></span></a>
</ds-carousel>
</section>
<section class="site-section site-rule" id="notes">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">Field notes</ds-text><ds-text literal tone="muted" wrap>Stories from hides, hedges and harbour walls, written by the people who were there.</ds-text></div><ds-button href="/examples/layouts/birdie-notes/"><span>All field notes</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
<div class="birdie-feature">
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-crane-wide.jpg" alt="A red-crowned crane bending to the snow" ratio="2 / 1" loading="eager"></ds-image><span><ds-text literal size="small" tone="muted" >8 November 2026</ds-text><ds-text literal size="display" strong wrap role="heading" aria-level="3">The cranes that dance on snow</ds-text><ds-text literal tone="muted" wrap>Every winter the red-crowned cranes of eastern Hokkaido gather on frozen fields and leap at each other. We spent a week watching them warm up.</ds-text><ds-text literal size="small" tone="muted" >by Aiko Mori</ds-text></span></a>
<div class="birdie-stories">
<a href="/examples/layouts/birdie-story/"><ds-text literal strong wrap>Why the robin sings under street lamps</ds-text><ds-text literal tone="muted" wrap>Light, not love, keeps it up at night.</ds-text></a>
<a href="/examples/layouts/birdie-story/"><ds-text literal strong wrap>Ten birds you can learn by ear this winter</ds-text><ds-text literal tone="muted" wrap>Start with the wren. It is louder than you think.</ds-text></a>
<a href="/examples/layouts/birdie-story/"><ds-text literal strong wrap>The swallows are late. Here is what the logs say</ds-text><ds-text literal tone="muted" wrap>Four thousand first sightings, drawn on one map.</ds-text></a>
<a href="/examples/layouts/birdie-story/"><ds-text literal strong wrap>A beginner at the estuary, at low tide</ds-text><ds-text literal tone="muted" wrap>What to bring, where to stand and when to give up.</ds-text></a>
</div>
</div>
</section>
<section class="site-section birdie-band" id="lists">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">Life lists by watchers</ds-text><ds-text literal tone="muted" wrap>A life list is every bird one person has met. These three are worth following.</ds-text></div><ds-button href="/examples/layouts/birdie-watcher/"><span>See a life list</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
<div class="site-three">
<a class="birdie-cover" href="/examples/layouts/birdie-watcher/"><div class="birdie-mosaic"><ds-image src="/examples/images/birdie-blue-tit.jpg" alt="A blue tit with a blue cap on a mossy branch" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-great-tit.jpg" alt="A great tit with a black head and yellow belly" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-starling.jpg" alt="A glossy starling speckled with pale spots" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-blackbird.jpg" alt="A black bird with an orange bill and eye ring" ratio="1 / 1" ></ds-image></div><span><ds-text literal strong wrap>Balcony birds</ds-text><ds-text literal tone="muted" wrap>31 species from one fourth-floor balcony</ds-text><ds-text literal tone="muted" wrap>Proof that you do not need a forest. Counted with coffee, mostly before nine.</ds-text></span><div class="birdie-person"><ds-avatar initial="J" color="var(--one-orange-pastel)"></ds-avatar><ds-text literal >Jonas Lind</ds-text></div></a><a class="birdie-cover" href="/examples/layouts/birdie-watcher/"><div class="birdie-mosaic"><ds-image src="/examples/images/birdie-oystercatcher.jpg" alt="A black and white oystercatcher with a long orange bill" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-heron.jpg" alt="A grey heron walking through mist" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-swan.jpg" alt="A mute swan on dark water" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-mallard.jpg" alt="A mallard drake with a green head on a pond" ratio="1 / 1" ></ds-image></div><span><ds-text literal strong wrap>A year on the estuary</ds-text><ds-text literal tone="muted" wrap>118 species over 46 visits</ds-text><ds-text literal tone="muted" wrap>The same mile of mud in every month of the year. February is better than it sounds.</ds-text></span><div class="birdie-person"><ds-avatar initial="N" color="var(--one-pink-pastel)"></ds-avatar><ds-text literal >Nadia Rahman</ds-text></div></a><a class="birdie-cover" href="/examples/layouts/birdie-watcher/"><div class="birdie-mosaic"><ds-image src="/examples/images/birdie-crane.jpg" alt="A red-crowned crane bending to the snow" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-long-tailed-tit.jpg" alt="A round white long-tailed tit on a bare branch" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-great-tit.jpg" alt="A great tit with a black head and yellow belly" ratio="1 / 1" ></ds-image><ds-image src="/examples/images/birdie-kestrel.jpg" alt="A kestrel looking over its shoulder" ratio="1 / 1" ></ds-image></div><span><ds-text literal strong wrap>Hokkaido in winter</ds-text><ds-text literal tone="muted" wrap>54 species in nine days</ds-text><ds-text literal tone="muted" wrap>Cranes, owls and a great deal of snow. Bring two pairs of gloves.</ds-text></span><div class="birdie-person"><ds-avatar initial="A" color="var(--one-sharp-pastel)"></ds-avatar><ds-text literal >Aiko Mori</ds-text></div></a>
</div>
</section>
<section class="site-section" id="notable">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">New and notable</ds-text><ds-text literal tone="muted" wrap>Birds that turned up somewhere unexpected this week, picked by our editors.</ds-text></div><ds-button href="/examples/layouts/birdie-discover/"><span>Discover more</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
<div class="birdie-grid" data-columns="4">
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-kingfisher.jpg" alt="A blue and orange kingfisher on a perch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kingfisher</ds-text><ds-text literal tone="muted" wrap>Kingfishers</ds-text><ds-text literal tone="muted" wrap>Back on the city canal for the first time in six years.</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-barn-owl.jpg" alt="A pale barn owl among yellow flowers" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Western barn owl</ds-text><ds-text literal tone="muted" wrap>Barn owls</ds-text><ds-text literal tone="muted" wrap>Hunting in daylight over the meadows after a week of rain.</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-puffin.jpg" alt="A puffin with a striped bill against the sea" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Atlantic puffin</ds-text><ds-text literal tone="muted" wrap>Auks</ds-text><ds-text literal tone="muted" wrap>The first birds are ashore on the north cliffs, two weeks early.</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-long-tailed-tit.jpg" alt="A round white long-tailed tit on a bare branch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Long-tailed tit</ds-text><ds-text literal tone="muted" wrap>Long-tailed tits</ds-text><ds-text literal tone="muted" wrap>Flocks of twenty are moving through gardens in the north.</ds-text></span></a>
</div>
</section>
<section class="site-section site-two site-rule">
<div class="site-stack">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">Bird of the day</ds-text><ds-text literal tone="muted" wrap>One bird, looked at properly.</ds-text></div></div>
<a class="birdie-aside" href="/examples/layouts/birdie-species/"><ds-image src="/examples/images/birdie-wren.jpg" alt="A small brown wren singing with its tail up" ratio="1 / 1" ></ds-image><span class="birdie-words"><ds-text literal size="small" tone="muted" >10 November 2026</ds-text><ds-text literal strong wrap>Eurasian wren</ds-text><ds-text literal tone="muted" wrap>Nine grams of bird and the loudest song in the hedge. Listen for a long trill that ends as if someone shut a door.</ds-text></span></a>
</div>
<div class="birdie-box" id="letter">
<ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="3">Field notes, every Friday.</ds-text>
<ds-text literal tone="muted" wrap>One bird, one place and the week in sightings. Nothing else.</ds-text>
<ds-input id="letter-email" type="email" label="Email" placeholder="you@example.com"></ds-input>
<div class="site-actions"><ds-button primary id="letter-join">Sign up</ds-button><ds-text literal size="small" tone="muted" >Free. Leave any time.</ds-text></div>
<ds-text id="letter-status" class="site-status" literal role="status" wrap></ds-text>
</div>
</section>
<section class="site-section birdie-band" id="discover">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">Discover birds by habitat and place</ds-text></div></div>
<div class="site-stack">
<div class="birdie-tags"><ds-button secondary href="/examples/layouts/birdie-discover/">Garden</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">Woodland</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">Wetland</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">Coast</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">Farmland</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">Mountain</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">City park</ds-button><ds-button secondary href="/examples/layouts/birdie-discover/">Open sea</ds-button></div>
<div class="birdie-tags"><ds-button secondary href="/examples/layouts/birdie-place/">Greylag Marsh</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Wadden Sea</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Hokkaido</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Shetland</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Camargue</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Öland</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Lake Biwa</ds-button><ds-button secondary href="/examples/layouts/birdie-place/">Skagen</ds-button></div>
</div>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
}); Discover
Section titled “Discover”Birdie’s catalogue: every species as a square cover, narrowed by habitat and ordered by sightings.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/" aria-current="page">Discover</a><a href="/examples/layouts/birdie-place/">Places</a><a href="/examples/layouts/birdie-notes/">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section">
<div class="site-tight"><h1 class="birdie-hero">Discover</h1><ds-text literal class="birdie-lede" tone="muted" wrap>Twenty birds to begin with, ordered by how often they were met this week.</ds-text></div>
<div class="site-between"><ds-tabs wrap role="group" aria-label="Habitat"><ds-button control="host" data-habitat="all" aria-pressed="true" active>All</ds-button><ds-button control="host" data-habitat="garden" aria-pressed="false">Garden</ds-button><ds-button control="host" data-habitat="woodland" aria-pressed="false">Woodland</ds-button><ds-button control="host" data-habitat="wetland" aria-pressed="false">Wetland</ds-button><ds-button control="host" data-habitat="coast" aria-pressed="false">Coast</ds-button><ds-button control="host" data-habitat="farmland" aria-pressed="false">Farmland</ds-button></ds-tabs><ds-select><select id="birdie-sort" aria-label="Order"><option selected>Most seen this week</option><option>Newly arrived</option><option>Rarest</option><option>A to Z</option></select></ds-select></div>
<div class="birdie-grid" id="birdie-birds">
<a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="garden"><ds-image src="/examples/images/birdie-robin.jpg" alt="A robin with an orange breast on a twig" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>European robin</ds-text><ds-text literal tone="muted" wrap>Erithacus rubecula</ds-text><ds-text literal tone="muted" wrap>4,812 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="garden"><ds-image src="/examples/images/birdie-blue-tit.jpg" alt="A blue tit with a blue cap on a mossy branch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian blue tit</ds-text><ds-text literal tone="muted" wrap>Cyanistes caeruleus</ds-text><ds-text literal tone="muted" wrap>3,964 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="garden"><ds-image src="/examples/images/birdie-great-tit.jpg" alt="A great tit with a black head and yellow belly" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Great tit</ds-text><ds-text literal tone="muted" wrap>Parus major</ds-text><ds-text literal tone="muted" wrap>3,720 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="garden"><ds-image src="/examples/images/birdie-blackbird.jpg" alt="A black bird with an orange bill and eye ring" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common blackbird</ds-text><ds-text literal tone="muted" wrap>Turdus merula</ds-text><ds-text literal tone="muted" wrap>3,518 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="wetland"><ds-image src="/examples/images/birdie-mallard.jpg" alt="A mallard drake with a green head on a pond" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mallard</ds-text><ds-text literal tone="muted" wrap>Anas platyrhynchos</ds-text><ds-text literal tone="muted" wrap>3,301 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="garden"><ds-image src="/examples/images/birdie-starling.jpg" alt="A glossy starling speckled with pale spots" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common starling</ds-text><ds-text literal tone="muted" wrap>Sturnus vulgaris</ds-text><ds-text literal tone="muted" wrap>2,233 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="wetland"><ds-image src="/examples/images/birdie-swan.jpg" alt="A mute swan on dark water" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mute swan</ds-text><ds-text literal tone="muted" wrap>Cygnus olor</ds-text><ds-text literal tone="muted" wrap>2,087 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="wetland"><ds-image src="/examples/images/birdie-heron.jpg" alt="A grey heron walking through mist" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Grey heron</ds-text><ds-text literal tone="muted" wrap>Ardea cinerea</ds-text><ds-text literal tone="muted" wrap>1,754 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="farmland"><ds-image src="/examples/images/birdie-swallow.jpg" alt="A swallow with a rust-red throat on a pipe" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Barn swallow</ds-text><ds-text literal tone="muted" wrap>Hirundo rustica</ds-text><ds-text literal tone="muted" wrap>1,690 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="garden"><ds-image src="/examples/images/birdie-goldfinch.jpg" alt="A goldfinch with a red face and a yellow wing bar" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>European goldfinch</ds-text><ds-text literal tone="muted" wrap>Carduelis carduelis</ds-text><ds-text literal tone="muted" wrap>1,406 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="coast"><ds-image src="/examples/images/birdie-oystercatcher.jpg" alt="A black and white oystercatcher with a long orange bill" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian oystercatcher</ds-text><ds-text literal tone="muted" wrap>Haematopus ostralegus</ds-text><ds-text literal tone="muted" wrap>1,342 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="woodland"><ds-image src="/examples/images/birdie-wren.jpg" alt="A small brown wren singing with its tail up" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian wren</ds-text><ds-text literal tone="muted" wrap>Troglodytes troglodytes</ds-text><ds-text literal tone="muted" wrap>1,187 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="woodland"><ds-image src="/examples/images/birdie-long-tailed-tit.jpg" alt="A round white long-tailed tit on a bare branch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Long-tailed tit</ds-text><ds-text literal tone="muted" wrap>Aegithalos caudatus</ds-text><ds-text literal tone="muted" wrap>1,025 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="woodland"><ds-image src="/examples/images/birdie-woodpecker.jpg" alt="A black and white woodpecker with a red patch, on a trunk" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Great spotted woodpecker</ds-text><ds-text literal tone="muted" wrap>Dendrocopos major</ds-text><ds-text literal tone="muted" wrap>942 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="farmland"><ds-image src="/examples/images/birdie-kestrel.jpg" alt="A kestrel looking over its shoulder" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kestrel</ds-text><ds-text literal tone="muted" wrap>Falco tinnunculus</ds-text><ds-text literal tone="muted" wrap>874 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="woodland"><ds-image src="/examples/images/birdie-jay.jpg" alt="A pinkish-brown jay with a blue wing patch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian jay</ds-text><ds-text literal tone="muted" wrap>Garrulus glandarius</ds-text><ds-text literal tone="muted" wrap>803 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="wetland"><ds-image src="/examples/images/birdie-kingfisher.jpg" alt="A blue and orange kingfisher on a perch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kingfisher</ds-text><ds-text literal tone="muted" wrap>Alcedo atthis</ds-text><ds-text literal tone="muted" wrap>611 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="coast"><ds-image src="/examples/images/birdie-puffin.jpg" alt="A puffin with a striped bill against the sea" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Atlantic puffin</ds-text><ds-text literal tone="muted" wrap>Fratercula arctica</ds-text><ds-text literal tone="muted" wrap>276 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="farmland"><ds-image src="/examples/images/birdie-barn-owl.jpg" alt="A pale barn owl among yellow flowers" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Western barn owl</ds-text><ds-text literal tone="muted" wrap>Tyto alba</ds-text><ds-text literal tone="muted" wrap>219 sightings this week</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" data-bird="wetland"><ds-image src="/examples/images/birdie-crane.jpg" alt="A red-crowned crane bending to the snow" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Red-crowned crane</ds-text><ds-text literal tone="muted" wrap>Grus japonensis</ds-text><ds-text literal tone="muted" wrap>148 sightings this week</ds-text></span></a>
</div>
</section>
<section class="site-section birdie-band">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">Not sure what you saw?</ds-text><ds-text literal tone="muted" wrap>Describe it to the people who will know. Most birds are named within the hour.</ds-text></div><ds-button secondary href="/examples/layouts/birdie-watcher/"><span>Ask the watchers</span></ds-button></div>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
}); A species
Section titled “A species”One species in Birdie: its songs and calls in a player, what it is like, its measures, and the watchers who met it.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/">Discover</a><a href="/examples/layouts/birdie-place/">Places</a><a href="/examples/layouts/birdie-notes/">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="birdie-record" data-cover>
<ds-image src="/examples/images/birdie-robin.jpg" alt="A robin with an orange breast on a twig" ratio="1 / 1" loading="eager"></ds-image>
<div class="site-section">
<div class="site-tight"><h1 class="birdie-hero">European robin</h1><ds-text literal tone="muted" wrap>Erithacus rubecula, one of the Old World flycatchers</ds-text></div>
<div class="site-stack">
<div class="birdie-player"><ds-button primary icon id="birdie-play" aria-label="Play" aria-pressed="false"><ds-icon type="play-alt" aria-hidden="true"></ds-icon></ds-button><div class="site-between"><ds-text literal strong id="birdie-playing">Spring song</ds-text><ds-text literal tone="muted" id="birdie-length">0:42</ds-text></div><ds-progress id="birdie-progress" value="0" label="Played"></ds-progress></div>
<ds-list heading="Songs and calls" literal id="birdie-calls">
<ds-row interactive data-call="Spring song" data-length="0:42"><ds-text literal tone="muted" style="min-width:var(--ds-unit)">1</ds-text><ds-text class="ds-row__name" literal>Spring song</ds-text><ds-text literal tone="muted" class="birdie-when">March to June</ds-text><ds-text class="ds-row__value" literal>0:42</ds-text></ds-row>
<ds-row interactive data-call="Autumn song" data-length="0:38"><ds-text literal tone="muted" style="min-width:var(--ds-unit)">2</ds-text><ds-text class="ds-row__name" literal>Autumn song</ds-text><ds-text literal tone="muted" class="birdie-when">September to December</ds-text><ds-text class="ds-row__value" literal>0:38</ds-text></ds-row>
<ds-row interactive data-call="Alarm, a dry tick" data-length="0:09"><ds-text literal tone="muted" style="min-width:var(--ds-unit)">3</ds-text><ds-text class="ds-row__name" literal>Alarm, a dry tick</ds-text><ds-text literal tone="muted" class="birdie-when">All year</ds-text><ds-text class="ds-row__value" literal>0:09</ds-text></ds-row>
<ds-row interactive data-call="Thin call for a hawk overhead" data-length="0:06"><ds-text literal tone="muted" style="min-width:var(--ds-unit)">4</ds-text><ds-text class="ds-row__name" literal>Thin call for a hawk overhead</ds-text><ds-text literal tone="muted" class="birdie-when">All year</ds-text><ds-text class="ds-row__value" literal>0:06</ds-text></ds-row>
<ds-row interactive data-call="Song at night under a lamp" data-length="1:14"><ds-text literal tone="muted" style="min-width:var(--ds-unit)">5</ds-text><ds-text class="ds-row__name" literal>Song at night under a lamp</ds-text><ds-text literal tone="muted" class="birdie-when">Winter</ds-text><ds-text class="ds-row__value" literal>1:14</ds-text></ds-row>
<ds-row interactive data-call="Chicks begging in the nest" data-length="0:21"><ds-text literal tone="muted" style="min-width:var(--ds-unit)">6</ds-text><ds-text class="ds-row__name" literal>Chicks begging in the nest</ds-text><ds-text literal tone="muted" class="birdie-when">April to July</ds-text><ds-text class="ds-row__value" literal>0:21</ds-text></ds-row>
</ds-list>
<div class="site-actions"><ds-button primary data-size="medium" id="birdie-add" aria-pressed="false"><span>Add to my life list</span></ds-button><ds-button secondary data-size="medium"><span>Want to see</span></ds-button></div>
<ds-text id="birdie-added" class="site-status" literal role="status" wrap></ds-text>
</div>
<div class="birdie-writing">
<p>The robin is the bird that comes to see what you are doing. Dig a bed, turn a compost heap or sit still on a bench, and one will arrive within minutes to check the ground you have disturbed.</p>
<p>Both sexes wear the orange breast and both sing, the female mostly in autumn when each bird holds a winter territory alone. The song is thin, sweet and a little sad, and it is one of the few you can hear in December.</p>
<p>Robins are fierce about their patch. The orange is a warning, and a stuffed robin put in a garden will be attacked by the owner within the hour.</p>
</div>
<div class="birdie-facts"><ds-stat figure="14 cm" label="Length" caption="Bill to tail" literal></ds-stat><ds-stat figure="21 cm" label="Wingspan" caption="About a hand" literal></ds-stat><ds-stat figure="18 g" label="Weight" caption="Two sheets of paper" literal></ds-stat><ds-stat figure="5 or 6" label="Eggs" caption="Two broods a year" literal></ds-stat></div>
<div class="birdie-tags"><ds-tag>Garden</ds-tag><ds-tag>Woodland</ds-tag><ds-tag>Resident</ds-tag><ds-tag>Songbird</ds-tag><ds-tag>Sings in winter</ds-tag><ds-tag>Easy to see</ds-tag></div>
</div>
<aside class="site-section">
<div class="site-tight"><ds-text literal strong>On 12,480 life lists</ds-text><ds-avatar-group role="group" aria-label="Watchers who have met a robin"><ds-avatar initial="I" color="var(--one-sharp-pastel)" outlined></ds-avatar><ds-avatar initial="J" color="var(--one-orange-pastel)" outlined></ds-avatar><ds-avatar initial="N" color="var(--one-pink-pastel)" outlined></ds-avatar><ds-avatar initial="A" color="var(--one-apple-pastel)" outlined></ds-avatar><ds-avatar initial="T" color="var(--one-yellow-pastel)" outlined></ds-avatar></ds-avatar-group></div>
<div class="site-stack">
<figure class="birdie-note"><ds-text literal wrap>It sat on the fork handle while I dug the potatoes, and left when I did.</ds-text><figcaption><div class="birdie-person"><ds-avatar initial="I" color="var(--one-sharp-pastel)"></ds-avatar><ds-text literal >Ingrid Solberg</ds-text><ds-text literal size="small" tone="muted" >Bergen</ds-text></div></figcaption></figure>
<figure class="birdie-note"><ds-text literal wrap>Singing at four in the morning by the tram stop. I thought it was a nightingale.</ds-text><figcaption><div class="birdie-person"><ds-avatar initial="J" color="var(--one-orange-pastel)"></ds-avatar><ds-text literal >Jonas Lind</ds-text><ds-text literal size="small" tone="muted" >Gothenburg</ds-text></div></figcaption></figure>
<figure class="birdie-note"><ds-text literal wrap>First bird on my list and still the one I look for.</ds-text><figcaption><div class="birdie-person"><ds-avatar initial="N" color="var(--one-pink-pastel)"></ds-avatar><ds-text literal >Nadia Rahman</ds-text><ds-text literal size="small" tone="muted" >Leeds</ds-text></div></figcaption></figure>
</div>
<ds-list heading="More garden birds" literal>
<ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-blue-tit.jpg" label="Eurasian blue tit"></ds-avatar><ds-text class="ds-row__name" literal>Eurasian blue tit</ds-text><ds-text class="ds-row__value" literal>3,964</ds-text></ds-row><ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-great-tit.jpg" label="Great tit"></ds-avatar><ds-text class="ds-row__name" literal>Great tit</ds-text><ds-text class="ds-row__value" literal>3,720</ds-text></ds-row><ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-blackbird.jpg" label="Common blackbird"></ds-avatar><ds-text class="ds-row__name" literal>Common blackbird</ds-text><ds-text class="ds-row__value" literal>3,518</ds-text></ds-row><ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-goldfinch.jpg" label="European goldfinch"></ds-avatar><ds-text class="ds-row__name" literal>European goldfinch</ds-text><ds-text class="ds-row__value" literal>1,406</ds-text></ds-row>
</ds-list>
<a class="birdie-aside" href="/examples/layouts/birdie-place/"><ds-image src="/examples/images/birdie-heron.jpg" alt="A grey heron walking through mist" ratio="1 / 1" ></ds-image><span class="birdie-words"><ds-text literal size="small" tone="muted" >Seen most at</ds-text><ds-text literal strong wrap>Greylag Marsh</ds-text><ds-text literal tone="muted" wrap>West Jutland, Denmark</ds-text></span></a>
</aside>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
}); A place
Section titled “A place”A place in Birdie: its banner, the birds met there, today’s sightings and its best months.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/">Discover</a><a href="/examples/layouts/birdie-place/" aria-current="page">Places</a><a href="/examples/layouts/birdie-notes/">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section">
<ds-image src="/examples/images/birdie-marsh.jpg" alt="A grey heron standing in shallow water, spoonbills behind it" ratio="8 / 3" loading="eager"></ds-image>
<div class="site-between"><div class="site-tight"><h1 class="birdie-hero">Greylag Marsh</h1><ds-text literal tone="muted" wrap>West Jutland, Denmark. Reedbed, wet meadow and a mile of sea wall.</ds-text></div><div class="site-actions"><ds-button primary data-size="medium" id="birdie-follow" aria-pressed="false"><span>Follow this place</span></ds-button></div></div>
</section>
<section class="birdie-record">
<div class="site-section">
<div class="site-between"><ds-text literal strong wrap role="heading" aria-level="2">Birds met here</ds-text><ds-text literal size="small" tone="muted" >214 species since 2019</ds-text></div>
<div class="birdie-grid" data-columns="3">
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-heron.jpg" alt="A grey heron walking through mist" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Grey heron</ds-text><ds-text literal tone="muted" wrap>Ardea cinerea</ds-text><ds-text literal tone="muted" wrap>1,204 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-swan.jpg" alt="A mute swan on dark water" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mute swan</ds-text><ds-text literal tone="muted" wrap>Cygnus olor</ds-text><ds-text literal tone="muted" wrap>986 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-mallard.jpg" alt="A mallard drake with a green head on a pond" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mallard</ds-text><ds-text literal tone="muted" wrap>Anas platyrhynchos</ds-text><ds-text literal tone="muted" wrap>2,310 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-oystercatcher.jpg" alt="A black and white oystercatcher with a long orange bill" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian oystercatcher</ds-text><ds-text literal tone="muted" wrap>Haematopus ostralegus</ds-text><ds-text literal tone="muted" wrap>871 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-swallow.jpg" alt="A swallow with a rust-red throat on a pipe" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Barn swallow</ds-text><ds-text literal tone="muted" wrap>Hirundo rustica</ds-text><ds-text literal tone="muted" wrap>640 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-starling.jpg" alt="A glossy starling speckled with pale spots" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common starling</ds-text><ds-text literal tone="muted" wrap>Sturnus vulgaris</ds-text><ds-text literal tone="muted" wrap>1,518 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-kestrel.jpg" alt="A kestrel looking over its shoulder" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kestrel</ds-text><ds-text literal tone="muted" wrap>Falco tinnunculus</ds-text><ds-text literal tone="muted" wrap>402 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-barn-owl.jpg" alt="A pale barn owl among yellow flowers" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Western barn owl</ds-text><ds-text literal tone="muted" wrap>Tyto alba</ds-text><ds-text literal tone="muted" wrap>96 sightings</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-kingfisher.jpg" alt="A blue and orange kingfisher on a perch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kingfisher</ds-text><ds-text literal tone="muted" wrap>Alcedo atthis</ds-text><ds-text literal tone="muted" wrap>58 sightings</ds-text></span></a>
</div>
</div>
<aside class="site-section">
<div class="birdie-writing">
<p>Greylag Marsh is flat, wet and open to the wind, which is why the birds like it. Come at dawn in late September, when the starlings leave the reeds in one long ribbon.</p>
<p>Two hides, one path and no café. The sea wall is passable in ordinary shoes; the meadow is not.</p>
</div>
<div class="birdie-facts" style="grid-template-columns:repeat(2,minmax(0,1fr))"><ds-stat figure="214" label="Species" caption="Logged since 2019" literal></ds-stat><ds-stat figure="1,870" label="Watchers" caption="Have logged here" literal></ds-stat></div>
<ds-list heading="Today" literal>
<ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-heron.jpg" label="Grey heron"></ds-avatar><ds-text class="ds-row__name" literal>Grey heron</ds-text><ds-text literal tone="muted" class="birdie-when">Ingrid Solberg</ds-text><ds-text class="ds-row__value" literal>07:12</ds-text></ds-row>
<ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-kestrel.jpg" label="Common kestrel"></ds-avatar><ds-text class="ds-row__name" literal>Common kestrel</ds-text><ds-text literal tone="muted" class="birdie-when">Jonas Lind</ds-text><ds-text class="ds-row__value" literal>07:40</ds-text></ds-row>
<ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-oystercatcher.jpg" label="Eurasian oystercatcher"></ds-avatar><ds-text class="ds-row__name" literal>Eurasian oystercatcher</ds-text><ds-text literal tone="muted" class="birdie-when">Nadia Rahman</ds-text><ds-text class="ds-row__value" literal>08:05</ds-text></ds-row>
<ds-row href="/examples/layouts/birdie-species/"><ds-avatar shape="square" src="/examples/images/birdie-kingfisher.jpg" label="Common kingfisher"></ds-avatar><ds-text class="ds-row__name" literal>Common kingfisher</ds-text><ds-text literal tone="muted" class="birdie-when">Tomás Rivera</ds-text><ds-text class="ds-row__value" literal>08:31</ds-text></ds-row>
</ds-list>
<ds-list heading="Best months" literal>
<ds-row><ds-text class="ds-row__name" literal>April and May</ds-text><ds-text class="ds-row__value" literal>Waders passing north</ds-text></ds-row>
<ds-row><ds-text class="ds-row__name" literal>September</ds-text><ds-text class="ds-row__value" literal>Starling roosts</ds-text></ds-row>
<ds-row><ds-text class="ds-row__name" literal>January</ds-text><ds-text class="ds-row__value" literal>Geese and owls</ds-text></ds-row>
</ds-list>
</aside>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
}); A watcher
Section titled “A watcher”A watcher’s page in Birdie: their life list as covers with the day and place of each first meeting.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/">Discover</a><a href="/examples/layouts/birdie-place/">Places</a><a href="/examples/layouts/birdie-notes/">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section">
<div class="birdie-profile">
<ds-image src="/examples/images/birdie-long-tailed-tit.jpg" alt="Ingrid’s picture: a long-tailed tit" ratio="1 / 1" loading="eager"></ds-image>
<div class="site-tight"><h1 class="birdie-hero">Ingrid Solberg</h1><ds-text literal tone="muted" wrap>Bergen, Norway. Watching since 2019, mostly before work and mostly in the rain.</ds-text></div>
<div class="site-actions"><ds-button primary data-size="medium" id="birdie-follow" aria-pressed="false"><span>Follow Ingrid</span></ds-button></div>
</div>
<ds-tabs text wrap aria-label="Ingrid’s pages" data-switch="watcher"><ds-button control="host" role="tab" aria-controls="birdie-life" aria-selected="true" active>Life list 214</ds-button><ds-button control="host" role="tab" aria-controls="birdie-want" aria-selected="false">Want to see 37</ds-button><ds-button control="host" role="tab" aria-controls="birdie-following" aria-selected="false">Following 58</ds-button></ds-tabs>
<div id="birdie-life" role="tabpanel" class="birdie-grid">
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-robin.jpg" alt="A robin with an orange breast on a twig" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>European robin</ds-text><ds-text literal tone="muted" wrap>First met 3 March 2019</ds-text><ds-text literal tone="muted" wrap>Bergen</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-oystercatcher.jpg" alt="A black and white oystercatcher with a long orange bill" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian oystercatcher</ds-text><ds-text literal tone="muted" wrap>14 April 2019</ds-text><ds-text literal tone="muted" wrap>Greylag Marsh</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-heron.jpg" alt="A grey heron walking through mist" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Grey heron</ds-text><ds-text literal tone="muted" wrap>14 April 2019</ds-text><ds-text literal tone="muted" wrap>Greylag Marsh</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-swallow.jpg" alt="A swallow with a rust-red throat on a pipe" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Barn swallow</ds-text><ds-text literal tone="muted" wrap>2 May 2019</ds-text><ds-text literal tone="muted" wrap>Voss</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-wren.jpg" alt="A small brown wren singing with its tail up" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian wren</ds-text><ds-text literal tone="muted" wrap>19 October 2019</ds-text><ds-text literal tone="muted" wrap>Bergen</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-kestrel.jpg" alt="A kestrel looking over its shoulder" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kestrel</ds-text><ds-text literal tone="muted" wrap>7 June 2020</ds-text><ds-text literal tone="muted" wrap>Jæren</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-goldfinch.jpg" alt="A goldfinch with a red face and a yellow wing bar" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>European goldfinch</ds-text><ds-text literal tone="muted" wrap>30 August 2020</ds-text><ds-text literal tone="muted" wrap>Bergen</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-woodpecker.jpg" alt="A black and white woodpecker with a red patch, on a trunk" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Great spotted woodpecker</ds-text><ds-text literal tone="muted" wrap>11 January 2021</ds-text><ds-text literal tone="muted" wrap>Fana</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-jay.jpg" alt="A pinkish-brown jay with a blue wing patch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Eurasian jay</ds-text><ds-text literal tone="muted" wrap>11 January 2021</ds-text><ds-text literal tone="muted" wrap>Fana</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-swan.jpg" alt="A mute swan on dark water" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Mute swan</ds-text><ds-text literal tone="muted" wrap>5 March 2022</ds-text><ds-text literal tone="muted" wrap>Stavanger</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-starling.jpg" alt="A glossy starling speckled with pale spots" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common starling</ds-text><ds-text literal tone="muted" wrap>24 September 2023</ds-text><ds-text literal tone="muted" wrap>Greylag Marsh</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-kingfisher.jpg" alt="A blue and orange kingfisher on a perch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Common kingfisher</ds-text><ds-text literal tone="muted" wrap>9 October 2025</ds-text><ds-text literal tone="muted" wrap>Greylag Marsh</ds-text></span></a>
</div>
<div id="birdie-want" role="tabpanel" class="birdie-grid" hidden>
<a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-puffin.jpg" alt="A puffin with a striped bill against the sea" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Atlantic puffin</ds-text><ds-text literal tone="muted" wrap>Runde, in June</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-crane.jpg" alt="A red-crowned crane bending to the snow" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Red-crowned crane</ds-text><ds-text literal tone="muted" wrap>Hokkaido, one winter</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-barn-owl.jpg" alt="A pale barn owl among yellow flowers" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Western barn owl</ds-text><ds-text literal tone="muted" wrap>Anywhere, at dusk</ds-text></span></a><a class="birdie-cover" href="/examples/layouts/birdie-species/" ><ds-image src="/examples/images/birdie-long-tailed-tit.jpg" alt="A round white long-tailed tit on a bare branch" ratio="1 / 1" ></ds-image><span><ds-text literal strong wrap>Long-tailed tit</ds-text><ds-text literal tone="muted" wrap>The white-headed ones, up north</ds-text></span></a>
</div>
<div id="birdie-following" role="tabpanel" class="birdie-read" hidden>
<ds-list heading="Watchers" literal><ds-row href="/examples/layouts/birdie-watcher/"><ds-avatar initial="J" color="var(--one-orange-pastel)"></ds-avatar><ds-text class="ds-row__name" literal>Jonas Lind</ds-text><ds-text class="ds-row__value" literal>31 species</ds-text></ds-row><ds-row href="/examples/layouts/birdie-watcher/"><ds-avatar initial="N" color="var(--one-pink-pastel)"></ds-avatar><ds-text class="ds-row__name" literal>Nadia Rahman</ds-text><ds-text class="ds-row__value" literal>118 species</ds-text></ds-row><ds-row href="/examples/layouts/birdie-watcher/"><ds-avatar initial="A" color="var(--one-apple-pastel)"></ds-avatar><ds-text class="ds-row__name" literal>Aiko Mori</ds-text><ds-text class="ds-row__value" literal>402 species</ds-text></ds-row><ds-row href="/examples/layouts/birdie-watcher/"><ds-avatar initial="T" color="var(--one-yellow-pastel)"></ds-avatar><ds-text class="ds-row__name" literal>Tomás Rivera</ds-text><ds-text class="ds-row__value" literal>266 species</ds-text></ds-row></ds-list>
</div>
</section>
<section class="site-section site-two site-rule">
<div class="site-stack"><ds-text literal strong wrap role="heading" aria-level="2">What Ingrid wrote</ds-text>
<figure class="birdie-note"><ds-text literal wrap>Kingfisher, at last. Six years of looking at that ditch and it was there for four seconds.</ds-text><figcaption><div class="birdie-person"><ds-avatar initial="I" color="var(--one-sharp-pastel)"></ds-avatar><ds-text literal >Ingrid Solberg</ds-text><ds-text literal size="small" tone="muted" >9 October 2025</ds-text></div></figcaption></figure>
<figure class="birdie-note"><ds-text literal wrap>The starlings left the reeds at 07:02. I counted until I could not.</ds-text><figcaption><div class="birdie-person"><ds-avatar initial="I" color="var(--one-sharp-pastel)"></ds-avatar><ds-text literal >Ingrid Solberg</ds-text><ds-text literal size="small" tone="muted" >24 September 2023</ds-text></div></figcaption></figure>
</div>
<div class="birdie-box"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="3">Keep a list of your own.</ds-text><ds-text literal tone="muted" wrap>Log the birds you meet, with the day and the place. Your list is yours, and it is free.</ds-text><div class="site-actions"><ds-button primary data-size="medium" href="/examples/layouts/birdie-discover/"><span>Start with a robin</span></ds-button></div></div>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
}); Field notes
Section titled “Field notes”Birdie’s editorial front: a feature, the week’s stories, the bird of the day and a letter to sign up for.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/">Discover</a><a href="/examples/layouts/birdie-place/">Places</a><a href="/examples/layouts/birdie-notes/" aria-current="page">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section">
<div class="site-tight"><h1 class="birdie-hero">Field notes</h1><ds-text literal class="birdie-lede" tone="muted" wrap>Stories from hides, hedges and harbour walls.</ds-text></div>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-crane-wide.jpg" alt="A red-crowned crane bending to the snow" ratio="2 / 1" loading="eager"></ds-image><span><span class="birdie-tags"><ds-tag>Feature</ds-tag></span><ds-text literal size="display" strong wrap role="heading" aria-level="2">The cranes that dance on snow</ds-text><ds-text literal tone="muted" wrap>Every winter the red-crowned cranes of eastern Hokkaido gather on frozen fields and leap at each other. We spent a week watching them warm up.</ds-text><ds-text literal size="small" tone="muted" >by Aiko Mori, 8 November 2026</ds-text></span></a>
</section>
<section class="site-section site-rule">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">This week</ds-text></div></div>
<div class="birdie-grid" data-columns="3">
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-robin.jpg" alt="A robin with an orange breast on a twig" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Feature</ds-tag></span><ds-text literal strong wrap>Why the robin sings under street lamps</ds-text><ds-text literal tone="muted" wrap>by Jonas Lind</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-wren.jpg" alt="A small brown wren singing with its tail up" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>List</ds-tag></span><ds-text literal strong wrap>Ten birds you can learn by ear this winter</ds-text><ds-text literal tone="muted" wrap>by Nadia Rahman</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-swallow.jpg" alt="A swallow with a rust-red throat on a pipe" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Season</ds-tag></span><ds-text literal strong wrap>The swallows are late. Here is what the logs say</ds-text><ds-text literal tone="muted" wrap>by Tomás Rivera</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-oystercatcher.jpg" alt="A black and white oystercatcher with a long orange bill" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Guide</ds-tag></span><ds-text literal strong wrap>A beginner at the estuary, at low tide</ds-text><ds-text literal tone="muted" wrap>by Ingrid Solberg</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-barn-owl.jpg" alt="A pale barn owl among yellow flowers" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Feature</ds-tag></span><ds-text literal strong wrap>The owl that hunts by day when it rains for a week</ds-text><ds-text literal tone="muted" wrap>by Aiko Mori</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-goldfinch.jpg" alt="A goldfinch with a red face and a yellow wing bar" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Guide</ds-tag></span><ds-text literal strong wrap>How to keep a life list you still like in ten years</ds-text><ds-text literal tone="muted" wrap>by Nadia Rahman</ds-text></span></a>
</div>
</section>
<section class="site-section site-two site-rule">
<div class="site-stack">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">Bird of the day</ds-text><ds-text literal tone="muted" wrap>One bird, looked at properly.</ds-text></div></div>
<a class="birdie-aside" href="/examples/layouts/birdie-species/"><ds-image src="/examples/images/birdie-wren.jpg" alt="A small brown wren singing with its tail up" ratio="1 / 1" ></ds-image><span class="birdie-words"><ds-text literal size="small" tone="muted" >10 November 2026</ds-text><ds-text literal strong wrap>Eurasian wren</ds-text><ds-text literal tone="muted" wrap>Nine grams of bird and the loudest song in the hedge.</ds-text></span></a>
<a class="birdie-aside" href="/examples/layouts/birdie-species/"><ds-image src="/examples/images/birdie-kingfisher.jpg" alt="A blue and orange kingfisher on a perch" ratio="1 / 1" ></ds-image><span class="birdie-words"><ds-text literal size="small" tone="muted" >9 November 2026</ds-text><ds-text literal strong wrap>Common kingfisher</ds-text><ds-text literal tone="muted" wrap>A blue line over slow water, gone before you have said its name.</ds-text></span></a>
</div>
<div class="birdie-box" id="letter">
<ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="3">Field notes, every Friday.</ds-text>
<ds-text literal tone="muted" wrap>One bird, one place and the week in sightings. Nothing else.</ds-text>
<ds-input id="letter-email" type="email" label="Email" placeholder="you@example.com"></ds-input>
<div class="site-actions"><ds-button primary id="letter-join">Sign up</ds-button><ds-text literal size="small" tone="muted" >Free. Leave any time.</ds-text></div>
<ds-text id="letter-status" class="site-status" literal role="status" wrap></ds-text>
</div>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
}); A story
Section titled “A story”One story in Birdie’s Field notes: a headline, a wide photograph, the writing in a reading column and the bird it is about.
Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/birdie.css">
<style>
.site { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.site-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.site-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.site-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.site-centre { justify-items:center; text-align:center; }
.site-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.site-centre .site-actions { justify-content:center; }
.site-centre ds-text { text-align:center; }
.site-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.site-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.site-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.site-rule { border-top:1px solid var(--ds-border-color); padding-top:calc(2 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(2.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.site-lead { --ds-sf:calc(2 * var(--sf, 1)); }
.site-copy { max-width:calc(28 * var(--ds-unit)); }
.site-slide { display:grid; gap:calc(var(--ds-unit) / 2); margin:0; }
.site-quote { display:grid; gap:var(--ds-unit); margin:0; min-height:calc(6 * var(--ds-unit)); align-content:start; }
.site-swatch { display:inline-flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); }
.site-price { display:grid; gap:var(--ds-unit); align-content:start; }
.site-list { display:grid; gap:0; }
.site-list > * { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.site-status:empty { display:none; }
.site [hidden] { display:none!important; }
.site ds-card ds-image[slot="media"] { display:block; width:100%; }
.site pre { margin:0; }
@media(max-width:900px) { .site-giant { --ds-sf:calc(2 * var(--sf, 1)); } .site-lead { --ds-sf:calc(1.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.site { gap:calc(3 * var(--ds-unit)); }
.site-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.site-big { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.site-lead { --ds-sf:var(--sf, 1); }
.site-two, .site-three { grid-template-columns:1fr; gap:var(--ds-unit); }
}
</style><style>
.birdie-hero { margin:0; max-width:calc(46 * var(--ds-unit)); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:calc(2 * var(--ds-unit)); line-height:calc(2.5 * var(--ds-unit)); letter-spacing:-0.02em; text-wrap:balance; }
.birdie-hero mark { padding:0 calc(0.2 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--brand-highlight); color:var(--c9y-tone-highlight-ink); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.birdie-title { --ds-display-text-size:28px; }
.birdie-lede { --ds-sf:calc(1.3 * var(--sf, 1)); }
.birdie-cover { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); align-content:start; min-width:0; color:inherit; text-decoration:none; }
.birdie-cover > span, .birdie-words { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; }
.birdie-cover ds-image, .birdie-mosaic ds-image { display:block; width:100%; }
.birdie-cover:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; border-radius:var(--ds-radius); }
.birdie-cover[data-seen] { width:calc(7 * var(--ds-unit)); }
.birdie-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)) var(--ds-unit); }
.birdie-grid[data-columns="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.birdie-grid[data-columns="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-band { box-sizing:border-box; padding:calc(2 * var(--ds-unit)); border-radius:var(--ds-radius-card); color:var(--brand-band-ink); background:var(--brand-band); --ds-paper:var(--brand-band); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 86%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 30%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 20%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-secondary-fill:var(--ds-fill); }
.birdie-mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-radius:var(--ds-radius); overflow:hidden; }
.birdie-mosaic ds-image { --ds-radius:0px; }
.birdie-person { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); min-height:var(--ds-unit); min-width:0; }
.birdie-feature { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.birdie-stories { display:grid; grid-template-columns:minmax(0,1fr); }
.birdie-stories > a { display:grid; grid-template-columns:minmax(0,1fr); padding-block:var(--ds-unit); border-top:1px solid var(--ds-border-color); color:inherit; text-decoration:none; }
.birdie-stories > a:first-child { padding-top:0; border-top:0; }
.birdie-box { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); align-content:start; padding:calc(2 * var(--ds-unit)); border:1px solid var(--ds-text-color); border-radius:var(--ds-radius-card); }
.birdie-record { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:calc(3 * var(--ds-unit)); align-items:start; }
/* A species: its picture beside the words on a computer, before them on a phone. */
.birdie-record[data-cover] { grid-template-areas:"main cover" "main aside"; grid-template-rows:auto 1fr; gap:calc(2 * var(--ds-unit)) calc(3 * var(--ds-unit)); }
.birdie-record[data-cover] > :nth-child(1) { grid-area:cover; }
.birdie-record[data-cover] > :nth-child(2) { grid-area:main; }
.birdie-record[data-cover] > :nth-child(3) { grid-area:aside; }
.birdie-player { display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); }
.birdie-player ds-progress { grid-column:1 / -1; }
.birdie-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--ds-unit); }
.birdie-tags { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(4px * var(--ds-sf, 1)); }
.birdie-note { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); margin:0; padding-top:var(--ds-unit); border-top:1px solid var(--ds-border-color); }
.birdie-profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:calc(2 * var(--ds-unit)); align-items:end; }
.birdie-profile > ds-image { width:calc(6 * var(--ds-unit)); --ds-radius:50%; }
.birdie-read { max-width:calc(32 * var(--ds-unit)); }
/* Writing on the grid: a square a line, a square between blocks and two before a heading. */
.birdie-writing { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); max-width:calc(32 * var(--ds-unit)); }
.birdie-writing > * { margin:0; line-height:var(--ds-unit); }
.birdie-writing h2 { margin-top:var(--ds-unit); font-family:var(--ds-typeface-medium, var(--typeface-medium)); font-weight:500; font-size:var(--ds-type-size-display); line-height:calc(2 * var(--ds-unit)); }
.birdie-writing ul { padding-inline-start:var(--ds-unit); }
.birdie-aside { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); align-items:start; padding:var(--ds-unit); border-radius:var(--ds-radius-card); background:var(--ds-fill); color:inherit; text-decoration:none; }
.birdie-aside ds-image { width:calc(6 * var(--ds-unit)); }
@media(max-width:900px) {
.birdie-grid, .birdie-grid[data-columns="4"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.birdie-feature, .birdie-record { grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.birdie-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-record[data-cover] { grid-template-areas:"cover" "main" "aside"; grid-template-rows:none; }
}
@media(max-width:600px) {
.birdie-hero { font-size:calc(1.3 * var(--ds-unit)); line-height:calc(1.75 * var(--ds-unit)); }
.birdie-title { --ds-display-text-size:22px; }
.birdie-lede { --ds-sf:var(--sf, 1); }
.birdie-grid, .birdie-grid[data-columns="4"], .birdie-grid[data-columns="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.birdie-band, .birdie-box { padding:var(--ds-unit); }
.birdie-aside ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-when { display:none; }
.birdie-profile { grid-template-columns:auto minmax(0,1fr); gap:var(--ds-unit); }
.birdie-profile > ds-image { width:calc(4 * var(--ds-unit)); }
.birdie-profile > :last-child { grid-column:1 / -1; }
}
</style><ds-header brand="Birdie" href="/examples/layouts/birdie/" literal><a href="/examples/layouts/birdie-discover/">Discover</a><a href="/examples/layouts/birdie-place/">Places</a><a href="/examples/layouts/birdie-notes/" aria-current="page">Field notes</a><ds-button slot="actions" href="/examples/layouts/birdie-watcher/">Log in</ds-button><ds-button slot="actions" primary href="/examples/layouts/birdie-watcher/">Log a sighting</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<article class="site-section">
<div class="site-stack birdie-read">
<span class="birdie-tags"><ds-tag>Feature</ds-tag></span>
<h1 class="birdie-hero">The cranes that dance on snow</h1>
<ds-text literal class="birdie-lede" tone="muted" wrap>Every winter the red-crowned cranes of eastern Hokkaido gather on frozen fields and leap at each other. We spent a week watching them warm up.</ds-text>
<div class="birdie-person"><ds-avatar initial="A" color="var(--one-apple-pastel)"></ds-avatar><ds-text literal >Aiko Mori</ds-text><ds-text literal size="small" tone="muted" >8 November 2026, 7 minutes</ds-text></div>
</div>
<figure class="site-slide"><ds-image src="/examples/images/birdie-crane-wide.jpg" alt="A red-crowned crane bending to the snow" ratio="2 / 1" loading="eager"></ds-image><ds-text literal tone="muted" wrap>A crane feeding at first light, minus eighteen degrees.</ds-text></figure>
<div class="birdie-writing">
<p>You hear them before you see them. A pair calls in unison, one bird starting and the other finishing the same phrase, and the sound carries a mile across the snow.</p>
<p>By eight the field holds sixty cranes. They stand as tall as a ten-year-old, white with black necks and a small red cap that is bare skin, not feathers. In the cold they tuck one leg up and look, from a distance, like a field of tilted lamps.</p>
<h2>Why they dance</h2>
<p>The dance looks like joy and is partly that. A bird bows, jumps with its wings half open, lands, and throws a stick or a clump of snow in the air. Its partner answers. Pairs stay together for years, and the dance is how they keep it so.</p>
<p>Young birds dance too, badly, with nobody in particular. It is how they learn, and it is the best thing on the field.</p>
<h2>Almost gone</h2>
<p>A century ago the cranes of Hokkaido were thought to be extinct. A few dozen had survived in a marsh, and in hard winters the farmers nearby began putting out grain. They have not stopped since, and well over a thousand cranes now live on the island.</p>
<h2>If you go</h2>
<ul><li>Come in January or February, and be at the field before sunrise.</li><li>Stand still. The birds mind movement far more than they mind people.</li><li>Dress for standing, not for walking. It is colder than you think.</li></ul>
</div>
<a class="birdie-aside birdie-read" href="/examples/layouts/birdie-species/"><ds-image src="/examples/images/birdie-crane.jpg" alt="A red-crowned crane bending to the snow" ratio="1 / 1" ></ds-image><span class="birdie-words"><ds-text literal size="small" tone="muted" >In this story</ds-text><ds-text literal strong wrap>Red-crowned crane</ds-text><ds-text literal tone="muted" wrap>Grus japonensis. On 148 life lists this week.</ds-text></span></a>
</article>
<section class="site-section site-rule">
<div class="site-between"><div class="site-tight"><ds-text literal size="display" strong wrap class="birdie-title" role="heading" aria-level="2">More field notes</ds-text></div><ds-button href="/examples/layouts/birdie-notes/"><span>All field notes</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
<div class="birdie-grid" data-columns="3">
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-robin.jpg" alt="A robin with an orange breast on a twig" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Feature</ds-tag></span><ds-text literal strong wrap>Why the robin sings under street lamps</ds-text><ds-text literal tone="muted" wrap>by Jonas Lind</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-wren.jpg" alt="A small brown wren singing with its tail up" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>List</ds-tag></span><ds-text literal strong wrap>Ten birds you can learn by ear this winter</ds-text><ds-text literal tone="muted" wrap>by Nadia Rahman</ds-text></span></a>
<a class="birdie-cover" href="/examples/layouts/birdie-story/"><ds-image src="/examples/images/birdie-swallow.jpg" alt="A swallow with a rust-red throat on a pipe" ratio="3 / 2" ></ds-image><span><span class="birdie-tags"><ds-tag>Season</ds-tag></span><ds-text literal strong wrap>The swallows are late. Here is what the logs say</ds-text><ds-text literal tone="muted" wrap>by Tomás Rivera</ds-text></span></a>
</div>
</section>
</div>
<ds-footer slot="footer" brand="Birdie" tagline="Every bird, logged by the people who saw it" literal year="2026" preferences="theme" columns='[{"heading":"Birds","links":[{"label":"Discover","href":"/examples/layouts/birdie-discover/"},{"label":"European robin","href":"/examples/layouts/birdie-species/"},{"label":"Greylag Marsh","href":"/examples/layouts/birdie-place/"}]},{"heading":"Watchers","links":[{"label":"Life lists","href":"/examples/layouts/birdie-watcher/"},{"label":"Log a sighting","href":"/examples/layouts/birdie-watcher/"}]},{"heading":"Field notes","links":[{"label":"All stories","href":"/examples/layouts/birdie-notes/"},{"label":"The cranes that dance on snow","href":"/examples/layouts/birdie-story/"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>A fictional bird guide, drawn by the Birdie library. Photographs from Unsplash.</ds-text></span></ds-footer>
</ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
document.querySelectorAll('[data-habitat]').forEach(button => button.addEventListener('click', () => {
choose('[data-habitat]', button);
document.querySelectorAll('[data-bird]').forEach(cover => { cover.hidden = button.dataset.habitat !== 'all' && cover.dataset.bird !== button.dataset.habitat; });
}));
document.querySelectorAll('ds-tabs[data-switch]').forEach(tabs => tabs.addEventListener('click', event => {
const target = event.target.closest('ds-button[role="tab"]');
if (!target) return;
tabs.querySelectorAll('ds-button[role="tab"]').forEach(tab => {
const on = tab === target;
tab.toggleAttribute('active', on);
tab.setAttribute('aria-selected', String(on));
document.getElementById(tab.getAttribute('aria-controls')).hidden = !on;
});
}));
const play = document.querySelector('#birdie-play');
if (play) {
const progress = document.querySelector('#birdie-progress');
const set = on => { play.setAttribute('aria-pressed', String(on)); play.setAttribute('aria-label', on ? 'Pause' : 'Play'); play.querySelector('ds-icon').setAttribute('type', on ? 'pause' : 'play-alt'); progress.value = on ? 0.35 : 0; };
play.addEventListener('click', () => set(play.getAttribute('aria-pressed') !== 'true'));
document.querySelectorAll('[data-call]').forEach(row => row.addEventListener('ds-row-press', () => {
document.querySelector('#birdie-playing').textContent = row.dataset.call;
document.querySelector('#birdie-length').textContent = row.dataset.length;
set(true);
}));
}
const stay = (selector, on, off, status) => document.querySelectorAll(selector).forEach(button => button.addEventListener('click', () => {
const pressed = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(pressed));
button.querySelector('span').textContent = pressed ? on : off;
if (status) document.querySelector(status).textContent = pressed ? 'On your life list, dated today. Nothing is saved in this demo.' : '';
}));
stay('#birdie-add', 'On my life list', 'Add to my life list', '#birdie-added');
stay('#birdie-follow', 'Following', document.querySelector('#birdie-follow span')?.textContent);
document.querySelector('#letter-join')?.addEventListener('click', () => {
const email = document.querySelector('#letter-email').value.trim();
document.querySelector('#letter-status').textContent = /.+@.+\..+/.test(email) ? 'Thank you. The first notes arrive on Friday. Nothing is sent in this demo.' : 'Write an email address first.';
});