Examples
Full pages built with Design system 1. Try each example here, switch between Computer, Mobile and Tablet, or open it full size. Changes stay in the preview.
General settings
Section titled “General settings”Point at any part of the page to see what it is made of.
<style>
.settings-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); }
.settings-section { display:grid; grid-template-columns:calc(8 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); padding-block:var(--ds-unit); }
.settings-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit); }
.settings-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.settings-choice { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.settings-choice > ds-text { min-width:0; }
.settings-section h2 { margin:0; font:inherit; }
.settings-status:empty { display:none; }
@media(max-width:600px) { .settings-section,.settings-fields { grid-template-columns:minmax(0,1fr); } }
</style>
<ds-page layout="column" measure="40" data-ds-surface>
<div slot="header"><ds-text literal strong>Studio workspace</ds-text></div>
<div class="settings-stack">
<div class="settings-stack">
<ds-text literal size="display" role="heading" aria-level="1">General settings</ds-text>
<ds-text literal tone="muted" wrap>Make this space feel like yours.</ds-text>
</div>
<form id="settings-form" class="settings-stack">
<section class="settings-section" aria-labelledby="profile-heading">
<h2 id="profile-heading"><ds-text literal strong>Profile</ds-text></h2>
<div class="settings-stack">
<div class="settings-actions"><ds-avatar id="settings-avatar" initial="A" size="large" color="var(--one-zenith-blue)"></ds-avatar><ds-text literal id="settings-profile-name">Alex Morgan</ds-text></div>
<div class="settings-fields">
<ds-input id="settings-name" label="Name" name="name" value="Alex Morgan" required></ds-input>
<ds-input label="Email" name="email" type="email" value="alex@example.com" required></ds-input>
<ds-input label="Workspace name" name="workspace" value="Studio" required></ds-input>
</div>
</div>
</section>
<section class="settings-section" aria-labelledby="preferences-heading">
<h2 id="preferences-heading"><ds-text literal strong>Preferences</ds-text></h2>
<div class="settings-stack">
<label class="settings-stack"><ds-text literal>Time zone</ds-text><ds-select><select name="timezone" aria-label="Time zone"><option value="Europe/London">London (Europe/London)</option value="Europe/Copenhagen">Copenhagen (Europe/Copenhagen)</option><option value="Asia/Tokyo">Tokyo (Asia/Tokyo)</option><option value="America/New_York">New York (America/New_York)</option></select></ds-select></label>
<div class="settings-fields">
<label class="settings-stack"><ds-text literal>Week starts on</ds-text><ds-select><select name="week" aria-label="Week starts on"><option>Monday</option><option>Sunday</option><option>Saturday</option></select></ds-select></label>
<label class="settings-stack"><ds-text literal>Time format</ds-text><ds-select><select name="clock" aria-label="Time format"><option value="24">24-hour</option><option value="12">12-hour</option></select></ds-select></label>
</div>
</div>
</section>
<section class="settings-section" aria-labelledby="notifications-heading">
<h2 id="notifications-heading"><ds-text literal strong>Notifications</ds-text></h2>
<div class="settings-stack">
<div class="settings-choice"><ds-text literal wrap>Email notifications</ds-text><ds-switch><button type="button" role="switch" aria-label="Email notifications" aria-checked="true" data-setting="email-notifications"></button></ds-switch></div>
<div class="settings-choice"><ds-text literal wrap>Weekly summary</ds-text><ds-switch><button type="button" role="switch" aria-label="Weekly summary" aria-checked="false" data-setting="weekly-summary"></button></ds-switch></div>
<div class="settings-choice"><ds-text literal wrap>Product news</ds-text><ds-switch><button type="button" role="switch" aria-label="Product news" aria-checked="false" data-setting="product-news"></button></ds-switch></div>
<ds-text literal size="small" tone="muted" wrap>Choose what reaches your inbox. Essential account messages stay on.</ds-text>
</div>
</section>
<div class="settings-actions">
<ds-button control="slotted" primary><button type="submit">Save changes</button></ds-button>
<ds-button control="slotted" secondary><button type="reset">Reset changes</button></ds-button>
</div>
<ds-text literal id="settings-status" class="settings-status" role="status" wrap></ds-text>
</form>
<ds-text literal tone="muted" size="small" wrap>Fictional settings. Changes stay in this preview and reset when you reload.</ds-text>
</div>
</ds-page> const form = document.querySelector('#settings-form');
const inputs = [...form.querySelectorAll('ds-input, select')];
const switches = [...form.querySelectorAll('[role="switch"]')];
const status = document.querySelector('#settings-status');
let saved = inputs.map(input => input.value);
let savedSwitches = switches.map(button => button.getAttribute('aria-checked'));
function changed() { status.textContent = 'Unsaved changes'; }
form.addEventListener('input', changed);
form.addEventListener('change', changed);
switches.forEach(button => button.addEventListener('click', () => {
button.setAttribute('aria-checked', String(button.getAttribute('aria-checked') !== 'true'));
changed();
}));
form.addEventListener('submit', event => {
event.preventDefault();
if (!form.reportValidity()) return;
saved = inputs.map(input => input.value);
savedSwitches = switches.map(button => button.getAttribute('aria-checked'));
const name = document.querySelector('#settings-name').value.trim();
document.querySelector('#settings-profile-name').textContent = name;
document.querySelector('#settings-avatar').setAttribute('initial', name.charAt(0).toUpperCase() || 'A');
status.textContent = 'Settings saved in this preview.';
});
form.addEventListener('reset', event => {
event.preventDefault();
inputs.forEach((input, index) => { input.value = saved[index]; });
switches.forEach((button, index) => button.setAttribute('aria-checked', savedSwitches[index]));
status.textContent = 'Changes reset to your last save.';
}); Point at any part of the page to see what it is made of.
<style>
.example-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.example-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.example-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.example-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-grow { flex:1; min-width:0; }
.example-section { padding-block:var(--ds-unit); }
.example-between > ds-input { width:calc(10 * var(--ds-unit)); max-width:100%; }
.example-overflow { overflow-x:auto; }
.example-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.example-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.example-caption > * { min-width:0; }
.example-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-brand { flex:none; }
.example-footer { padding-top:var(--ds-unit); }
.example-stack [hidden], .example-grid [hidden], .example-two [hidden], .example-tight [hidden] { display:none!important; }
.example-status:empty { display:none; }
.example-title { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:40px; --ds-typeface-regular:var(--typeface-compressed); }
.example-copy { max-width:calc(24 * var(--ds-unit)); }
.example-shop-hero { display:grid; grid-template-columns:2fr 3fr; gap:var(--ds-unit); align-items:stretch; }
.example-shop-intro { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.example-shop-hero ds-image { align-self:start; }
.example-story { display:grid; grid-template-columns:1fr 2fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-product { display:grid; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-bag { padding-block:var(--ds-unit); border-block:1px solid var(--ds-border-color); }
.example-workspace { --ds-page-nav:calc(8 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.example-workspace-nav { display:grid; gap:calc(2 * var(--ds-unit)); }
.example-week { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-day { display:grid; gap:calc(var(--ds-unit) / 2); min-height:calc(4 * var(--ds-unit)); padding-block:calc(var(--ds-unit) / 2); border-top:1px solid var(--ds-border-color); }
.example-day[aria-current] { border-top-color:var(--ds-text-color); }
.example-work { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); }
.example-brief { display:grid; gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet > :first-child { grid-column:1 / -1; }
.example-item { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); align-items:end; border-bottom:1px solid var(--ds-border-color); }
.example-item label { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-item label ds-text { flex:1; }
.example-item-meta { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
#balance-stat { --ds-stat-size:40px; --ds-stat-lines:3; --ds-stat-typeface:var(--typeface-compressed); }
.example-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-cash { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.example-goal { display:grid; grid-template-columns:calc(6 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); align-items:center; }
.example-audio-hero { display:grid; grid-template-columns:1fr 1fr; gap:var(--ds-unit); }
.example-audio-copy { display:flex; flex-direction:column; justify-content:space-between; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--one-pink-pastel); }
.example-audio-copy .example-title { --ds-typeface-regular:var(--typeface-regular); }
.example-audio-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); padding-block:var(--ds-unit); }
.example-audio-detail { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:center; }
.example-package { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-specs { display:grid; gap:0; }
.example-specs > div { display:flex; justify-content:space-between; gap:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); padding-block:calc(var(--ds-unit) / 2); }
@media(max-width:900px) { .example-title { --ds-sf:var(--sf, 1); } .example-work { grid-template-columns:1fr; } .example-brief { grid-template-columns:1fr 1fr; gap:var(--ds-unit); } .example-cash { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.example-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.example-shop-hero,.example-audio-hero,.example-audio-detail,.example-package,.example-two,.example-story,.example-brief { grid-template-columns:1fr; gap:var(--ds-unit); }
.example-shop-intro { padding-block:0; gap:var(--ds-unit); }
.example-shop-hero { --hero-ratio:4 / 3; }
.example-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit) calc(var(--ds-unit) / 2); }
.example-grid > :first-child { grid-column:1 / -1; }
.example-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.example-stats > :first-child { grid-column:1 / -1; }
.example-audio-strip { grid-template-columns:1fr; }
.example-week { gap:calc(var(--ds-unit) / 2); }
.example-day { min-height:calc(3 * var(--ds-unit)); }
.example-day ds-text[size=small] { display:none; }
.example-nav .example-nav-secondary { display:none; }
.example-goal { grid-template-columns:calc(4 * var(--ds-unit)) minmax(0,1fr); }
.example-item { grid-template-columns:1fr; }
.example-item-meta { padding-inline-start:calc(1.5 * var(--ds-unit)); }
.example-package { padding-block:var(--ds-unit); }
}
</style><ds-page layout="column" measure="52" data-ds-surface>
<div slot="header" class="example-nav"><ds-text literal strong size="display" class="example-brand">Room</ds-text><div class="example-actions"><ds-button href="#collection">Collection</ds-button><ds-button href="#story" class="example-nav-secondary">About Room</ds-button><ds-button id="bag" secondary>Bag · 0</ds-button></div></div>
<div class="example-stack">
<section class="example-shop-hero">
<div class="example-shop-intro"><div class="example-tight"><ds-text literal size="small" tone="muted" wrap>Furniture, objects & everyday rituals</ds-text><ds-text literal size="display" class="example-title" wrap role="heading" aria-level="1">A room is never really finished.</ds-text></div><div class="example-stack example-copy"><div data-ds-prose><p>A chair pulled up. A cup set down. A few things that make a place your own.</p></div><div><ds-button href="#collection" primary>Find your next favourite <ds-icon type="down" aria-hidden="true"></ds-icon></ds-button></div><ds-text literal size="small" tone="muted">The autumn collection</ds-text></div></div>
<ds-image src="/examples/images/room.jpg" alt="A cane chair in a room filled with afternoon light" ratio="var(--hero-ratio, 6 / 5)" loading="eager" position="50% 75%"></ds-image>
</section>
<div class="example-caption"><ds-text literal size="small" tone="muted">Good things. Kept for years.</ds-text><ds-text literal size="small" tone="muted">Made for living</ds-text></div>
<section id="collection" class="example-stack example-section">
<div class="example-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">The everyday collection</ds-text><div class="example-actions" role="group" aria-label="Filter collection"><ds-button control="host" data-category="all" active aria-pressed="true">All</ds-button><ds-button control="host" data-category="furniture" aria-pressed="false">Furniture</ds-button><ds-button control="host" data-category="objects" aria-pressed="false">Objects</ds-button></div></div>
<div class="example-grid">
<article class="example-product" data-product="furniture"><ds-image src="/examples/images/chair.jpg" alt="Everyday chair, a wooden chair with a slatted back" ratio="1" ></ds-image><div class="example-caption"><ds-text literal strong wrap>Everyday chair</ds-text><ds-text literal >€180</ds-text></div><ds-text literal tone="muted" size="small" wrap>Wood, with a little character.</ds-text><div><ds-button secondary data-add="Everyday chair" data-price="180"><ds-icon type="plus" aria-hidden="true"></ds-icon> Add to bag</ds-button></div></article>
<article class="example-product" data-product="objects"><ds-image src="/examples/images/cup.jpg" alt="A speckled ceramic cup" ratio="1" ></ds-image><div class="example-caption"><ds-text literal strong wrap>Morning cup</ds-text><ds-text literal >€28</ds-text></div><ds-text literal tone="muted" size="small" wrap>For the first ten quiet minutes.</ds-text><div><ds-button secondary data-add="Morning cup" data-price="28"><ds-icon type="plus" aria-hidden="true"></ds-icon> Add to bag</ds-button></div></article>
<article class="example-product" data-product="objects"><ds-image src="/examples/images/forest.webp" alt="A sunlit trail through a green forest" ratio="1" ></ds-image><div class="example-caption"><ds-text literal strong wrap>Forest print</ds-text><ds-text literal >€45</ds-text></div><ds-text literal tone="muted" size="small" wrap>A window into somewhere else.</ds-text><div><ds-button secondary data-add="Forest print" data-price="45"><ds-icon type="plus" aria-hidden="true"></ds-icon> Add to bag</ds-button></div></article>
</div>
<ds-text id="shop-status" class="example-status" literal role="status" wrap></ds-text>
<section id="bag-summary" class="example-stack example-bag" hidden aria-label="Your bag"><div class="example-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Your bag</ds-text><ds-button id="clear-bag">Empty bag</ds-button></div><ds-list id="bag-items"></ds-list><ds-text id="bag-content" literal wrap></ds-text></section>
</section>
<section id="story" class="example-story example-rule"><div><ds-text literal size="display" strong wrap role="heading" aria-level="2">Less, but more lived in.</ds-text></div><div class="example-stack"><div data-ds-prose><p>We look for pieces with a useful shape and a reason to stay. Nothing too precious to touch. Nothing that needs a special occasion.</p><p>Put your feet up. Leave the book open. Let the room become yours.</p></div><div class="example-actions"><ds-tag>Useful by nature</ds-tag><ds-tag>Better with time</ds-tag></div></div></section>
</div><div slot="footer" class="example-footer"><ds-text literal size="small" tone="muted" wrap>Fictional demo. Your changes stay here.</ds-text></div></ds-page> const items = new Map();
const bag = document.querySelector('#bag');
const summary = document.querySelector('#bag-summary');
function renderBag() {
let count=0,total=0; const list=document.querySelector('#bag-items'); list.replaceChildren();
for(const [name,item] of items){
count+=item.quantity; total+=item.quantity*item.price;
const row=document.createElement('ds-row'); row.setAttribute('fill','');
const words=document.createElement('ds-text'); words.setAttribute('literal',''); words.setAttribute('wrap',''); words.textContent=name+' × '+item.quantity;
const remove=document.createElement('ds-button'); remove.textContent='Remove'; remove.setAttribute('label','Remove '+name);
remove.addEventListener('click',()=>{if(--item.quantity===0)items.delete(name);renderBag();document.querySelector('#shop-status').textContent=name+' removed.';});
row.append(words,remove);list.append(row);
}
bag.textContent='Bag · '+count;
document.querySelector('#bag-content').textContent=count?'Subtotal €'+total+'. No payment is taken in this demo.':'Your bag is empty. Find something in the collection.';
}
document.querySelectorAll('[data-add]').forEach(button=>button.addEventListener('click',()=>{const name=button.dataset.add;const item=items.get(name)||{quantity:0,price:Number(button.dataset.price)};item.quantity++;items.set(name,item);renderBag();document.querySelector('#shop-status').textContent=name+' added to your bag.';}));
bag.addEventListener('click',()=>{renderBag();summary.hidden=!summary.hidden;if(!summary.hidden)summary.scrollIntoView({block:'nearest'});});
document.querySelector('#clear-bag').addEventListener('click',()=>{items.clear();renderBag();document.querySelector('#shop-status').textContent='Bag emptied.';});
document.querySelectorAll('[data-category]').forEach(button=>button.addEventListener('click',()=>{
document.querySelectorAll('[data-category]').forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});
document.querySelectorAll('[data-product]').forEach(item=>{item.hidden=button.dataset.category!=='all'&&item.dataset.product!==button.dataset.category;});
})); Planning app
Section titled “Planning app”Point at any part of the page to see what it is made of.
<style>
.example-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.example-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.example-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.example-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-grow { flex:1; min-width:0; }
.example-section { padding-block:var(--ds-unit); }
.example-between > ds-input { width:calc(10 * var(--ds-unit)); max-width:100%; }
.example-overflow { overflow-x:auto; }
.example-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.example-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.example-caption > * { min-width:0; }
.example-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-brand { flex:none; }
.example-footer { padding-top:var(--ds-unit); }
.example-stack [hidden], .example-grid [hidden], .example-two [hidden], .example-tight [hidden] { display:none!important; }
.example-status:empty { display:none; }
.example-title { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:40px; --ds-typeface-regular:var(--typeface-compressed); }
.example-copy { max-width:calc(24 * var(--ds-unit)); }
.example-shop-hero { display:grid; grid-template-columns:2fr 3fr; gap:var(--ds-unit); align-items:stretch; }
.example-shop-intro { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.example-shop-hero ds-image { align-self:start; }
.example-story { display:grid; grid-template-columns:1fr 2fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-product { display:grid; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-bag { padding-block:var(--ds-unit); border-block:1px solid var(--ds-border-color); }
.example-workspace { --ds-page-nav:calc(8 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.example-workspace-nav { display:grid; gap:calc(2 * var(--ds-unit)); }
.example-week { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-day { display:grid; gap:calc(var(--ds-unit) / 2); min-height:calc(4 * var(--ds-unit)); padding-block:calc(var(--ds-unit) / 2); border-top:1px solid var(--ds-border-color); }
.example-day[aria-current] { border-top-color:var(--ds-text-color); }
.example-work { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); }
.example-brief { display:grid; gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet > :first-child { grid-column:1 / -1; }
.example-item { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); align-items:end; border-bottom:1px solid var(--ds-border-color); }
.example-item label { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-item label ds-text { flex:1; }
.example-item-meta { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
#balance-stat { --ds-stat-size:40px; --ds-stat-lines:3; --ds-stat-typeface:var(--typeface-compressed); }
.example-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-cash { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.example-goal { display:grid; grid-template-columns:calc(6 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); align-items:center; }
.example-audio-hero { display:grid; grid-template-columns:1fr 1fr; gap:var(--ds-unit); }
.example-audio-copy { display:flex; flex-direction:column; justify-content:space-between; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--one-pink-pastel); }
.example-audio-copy .example-title { --ds-typeface-regular:var(--typeface-regular); }
.example-audio-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); padding-block:var(--ds-unit); }
.example-audio-detail { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:center; }
.example-package { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-specs { display:grid; gap:0; }
.example-specs > div { display:flex; justify-content:space-between; gap:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); padding-block:calc(var(--ds-unit) / 2); }
@media(max-width:900px) { .example-title { --ds-sf:var(--sf, 1); } .example-work { grid-template-columns:1fr; } .example-brief { grid-template-columns:1fr 1fr; gap:var(--ds-unit); } .example-cash { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.example-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.example-shop-hero,.example-audio-hero,.example-audio-detail,.example-package,.example-two,.example-story,.example-brief { grid-template-columns:1fr; gap:var(--ds-unit); }
.example-shop-intro { padding-block:0; gap:var(--ds-unit); }
.example-shop-hero { --hero-ratio:4 / 3; }
.example-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit) calc(var(--ds-unit) / 2); }
.example-grid > :first-child { grid-column:1 / -1; }
.example-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.example-stats > :first-child { grid-column:1 / -1; }
.example-audio-strip { grid-template-columns:1fr; }
.example-week { gap:calc(var(--ds-unit) / 2); }
.example-day { min-height:calc(3 * var(--ds-unit)); }
.example-day ds-text[size=small] { display:none; }
.example-nav .example-nav-secondary { display:none; }
.example-goal { grid-template-columns:calc(4 * var(--ds-unit)) minmax(0,1fr); }
.example-item { grid-template-columns:1fr; }
.example-item-meta { padding-inline-start:calc(1.5 * var(--ds-unit)); }
.example-package { padding-block:var(--ds-unit); }
}
</style><ds-page layout="sidebar" drawer divided fill class="example-workspace" data-ds-surface>
<div slot="nav" class="example-workspace-nav"><ds-row><ds-avatar initial="S" color="var(--one-zenith-blue)"></ds-avatar><ds-text literal strong>Studio</ds-text></ds-row><ds-sidebar label="Studio navigation" id="planner-nav"></ds-sidebar><div class="example-tight"><ds-text literal size="small" tone="muted">The team</ds-text><ds-avatar-group label="Project team"><ds-avatar initial="A" color="var(--one-pink)"></ds-avatar><ds-avatar initial="M" color="var(--one-zenith-blue)"></ds-avatar><ds-avatar initial="R" color="var(--one-orange-pastel)"></ds-avatar></ds-avatar-group><ds-text literal size="small" tone="muted">Alex, Mika & Ren</ds-text></div></div>
<div slot="header" class="example-between"><ds-text literal strong id="planner-heading">Today</ds-text><ds-tag>Autumn collection</ds-tag></div>
<div class="example-stack">
<div class="example-between"><div class="example-tight"><ds-text literal size="display" strong wrap role="heading" aria-level="1">A good week starts here.</ds-text><ds-text literal tone="muted" wrap>Monday, 19 October. Launch in four days.</ds-text></div><ds-stat id="planner-progress" value="1" figure="1 of 4" label="Ready for launch" literal></ds-stat></div>
<div class="example-week" aria-label="Launch week"><div class="example-day" aria-current="date"><ds-text literal size="small" tone="muted">Mon</ds-text><ds-text literal size="display">19</ds-text><ds-text literal size="small" wrap>Photographs</ds-text></div><div class="example-day" ><ds-text literal size="small" tone="muted">Tue</ds-text><ds-text literal size="display">20</ds-text><ds-text literal size="small" wrap>Design review</ds-text></div><div class="example-day" ><ds-text literal size="small" tone="muted">Wed</ds-text><ds-text literal size="display">21</ds-text><ds-text literal size="small" wrap>Print files</ds-text></div><div class="example-day" ><ds-text literal size="small" tone="muted">Thu</ds-text><ds-text literal size="display">22</ds-text><ds-text literal size="small" wrap>Final checks</ds-text></div><div class="example-day" ><ds-text literal size="small" tone="muted">Fri</ds-text><ds-text literal size="display">23</ds-text><ds-text literal size="small" wrap>Launch day</ds-text></div></div>
<div class="example-work">
<section class="example-stack"><div class="example-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Make it happen</ds-text><ds-tag id="item-count">3 items</ds-tag></div><ds-input id="item-search" type="search" placeholder="Find an item" label="Find an item"></ds-input><div id="work-items"></div><ds-text literal id="planner-empty" tone="muted" wrap hidden>No items here. Try another view or search.</ds-text><div class="example-actions"><ds-input id="new-item" class="example-grow" label="New item" placeholder="What needs doing?"></ds-input><ds-button id="add-item" secondary><ds-icon type="plus" aria-hidden="true"></ds-icon> Add item</ds-button></div><ds-text id="planner-status" class="example-status" literal role="status" wrap></ds-text></section>
<section class="example-brief"><div class="example-contact-sheet"><ds-image src="/examples/images/room.jpg" alt="Chair by the window: location reference" ratio="16 / 7" position="50% 75%"></ds-image><ds-image src="/examples/images/chair.jpg" alt="Wooden chair: product reference" ratio="1" ></ds-image><ds-image src="/examples/images/cup.jpg" alt="Ceramic cup: material reference" ratio="1" ></ds-image></div><div class="example-tight"><ds-text literal strong>Collection shoot</ds-text><ds-text literal wrap tone="muted">Natural light. Familiar objects. An ordinary morning, looked at a little longer.</ds-text><ds-text literal size="small" tone="muted">Mika added 3 references</ds-text><ds-button control="slotted"><button id="brief-toggle" type="button" aria-expanded="false" aria-controls="brief-details">Read the brief <ds-icon type="down" aria-hidden="true"></ds-icon></button></ds-button><div id="brief-details" data-ds-prose hidden><p>Set the chair beside the window. Shoot the full room first, then the grain, the handle and the edge of the cup.</p><p>Deliver six landscape crops and three portraits by Tuesday’s review.</p></div></div></section>
</div>
<section class="example-tight example-rule"><ds-text literal strong>Coming together</ds-text><ds-row><ds-avatar initial="R" color="var(--one-orange-pastel)"></ds-avatar><ds-text literal wrap>Ren sent the print files</ds-text><span class="example-grow"></span><ds-text literal size="small" tone="muted">09:12</ds-text></ds-row><ds-row><ds-avatar initial="M" color="var(--one-zenith-blue)"></ds-avatar><ds-text literal wrap>Mika added the shoot references</ds-text><span class="example-grow"></span><ds-text literal size="small" tone="muted">08:45</ds-text></ds-row></section>
</div><div slot="footer" class="example-footer"><ds-text literal size="small" tone="muted" wrap>Fictional demo. Your changes stay here.</ds-text></div></ds-page> const navigation = document.querySelector('#planner-nav');
let view = 'today';
const items = [{name:'Choose the final photographs',done:false,owner:'M',due:'Today'},{name:'Review the collection page',done:false,owner:'A',due:'Tue'},{name:'Send the print files',done:true,owner:'R',due:'Done'},{name:'Write the launch note',done:false,owner:'A',due:'Thu'}];
function render() {
navigation.items = [{id:'today',label:'Today',current:view==='today'},{id:'all',label:'All items',current:view==='all'},{id:'completed',label:'Completed',current:view==='completed'}];
document.querySelector('#planner-heading').textContent = view === 'completed' ? 'Completed' : view === 'all' ? 'All items' : 'Today';
const query = document.querySelector('#item-search').value.toLowerCase();
const list = document.querySelector('#work-items'); list.replaceChildren();
items.forEach((item,index) => {
if ((view==='completed' && !item.done) || (view==='today' && item.done) || !item.name.toLowerCase().includes(query)) return;
const row = document.createElement('div'); row.className='example-item'; const label = document.createElement('label'); label.className = 'example-actions'; const face = document.createElement('ds-checkbox'); const check = document.createElement('input'); check.type='checkbox'; check.checked=item.done; face.append(check); const words=document.createElement('ds-text'); words.setAttribute('literal',''); words.textContent=item.name; words.setAttribute('wrap',''); label.append(face,words); const meta=document.createElement('div'); meta.className='example-item-meta'; const due=document.createElement('ds-text');due.setAttribute('literal','');due.setAttribute('size','small');due.setAttribute('tone','muted');due.textContent=item.due||'Unscheduled';const avatar=document.createElement('ds-avatar');avatar.setAttribute('initial',item.owner||'A');meta.append(due,avatar);
check.addEventListener('change', () => { item.done = check.checked; document.querySelector('#planner-status').textContent = item.name + (item.done ? ' completed.' : ' reopened.'); render(); });
row.append(label,meta); list.append(row);
});
document.querySelector('#item-count').textContent = list.children.length + ' items';
document.querySelector('#planner-empty').hidden=Boolean(list.children.length);
document.querySelector('#planner-progress').figure=items.filter(item=>item.done).length+' of '+items.length;
}
document.querySelector('#brief-toggle').addEventListener('click',event=>{const details=document.querySelector('#brief-details');details.hidden=!details.hidden;event.currentTarget.setAttribute('aria-expanded',String(!details.hidden));});
navigation.addEventListener('sidebar-activate', event => { view = event.detail.id; render(); document.querySelector('ds-page').closeDrawer(); });
document.querySelector('#item-search').addEventListener('input',render);
function add() { const input=document.querySelector('#new-item'); const name=input.value.trim(); if (!name) { input.focus(); return; } items.push({name,done:false}); input.value=''; view='all'; render(); document.querySelector('#planner-status').textContent='Item added.'; }
document.querySelector('#add-item').addEventListener('click',add);
document.querySelector('#new-item').addEventListener('keydown',event => { if(event.key==='Enter') add(); });
render(); Finance app
Section titled “Finance app”Point at any part of the page to see what it is made of.
<style>
.example-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.example-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.example-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.example-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-grow { flex:1; min-width:0; }
.example-section { padding-block:var(--ds-unit); }
.example-between > ds-input { width:calc(10 * var(--ds-unit)); max-width:100%; }
.example-overflow { overflow-x:auto; }
.example-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.example-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.example-caption > * { min-width:0; }
.example-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-brand { flex:none; }
.example-footer { padding-top:var(--ds-unit); }
.example-stack [hidden], .example-grid [hidden], .example-two [hidden], .example-tight [hidden] { display:none!important; }
.example-status:empty { display:none; }
.example-title { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:40px; --ds-typeface-regular:var(--typeface-compressed); }
.example-copy { max-width:calc(24 * var(--ds-unit)); }
.example-shop-hero { display:grid; grid-template-columns:2fr 3fr; gap:var(--ds-unit); align-items:stretch; }
.example-shop-intro { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.example-shop-hero ds-image { align-self:start; }
.example-story { display:grid; grid-template-columns:1fr 2fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-product { display:grid; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-bag { padding-block:var(--ds-unit); border-block:1px solid var(--ds-border-color); }
.example-workspace { --ds-page-nav:calc(8 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.example-workspace-nav { display:grid; gap:calc(2 * var(--ds-unit)); }
.example-week { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-day { display:grid; gap:calc(var(--ds-unit) / 2); min-height:calc(4 * var(--ds-unit)); padding-block:calc(var(--ds-unit) / 2); border-top:1px solid var(--ds-border-color); }
.example-day[aria-current] { border-top-color:var(--ds-text-color); }
.example-work { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); }
.example-brief { display:grid; gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet > :first-child { grid-column:1 / -1; }
.example-item { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); align-items:end; border-bottom:1px solid var(--ds-border-color); }
.example-item label { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-item label ds-text { flex:1; }
.example-item-meta { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
#balance-stat { --ds-stat-size:40px; --ds-stat-lines:3; --ds-stat-typeface:var(--typeface-compressed); }
.example-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-cash { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.example-goal { display:grid; grid-template-columns:calc(6 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); align-items:center; }
.example-audio-hero { display:grid; grid-template-columns:1fr 1fr; gap:var(--ds-unit); }
.example-audio-copy { display:flex; flex-direction:column; justify-content:space-between; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--one-pink-pastel); }
.example-audio-copy .example-title { --ds-typeface-regular:var(--typeface-regular); }
.example-audio-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); padding-block:var(--ds-unit); }
.example-audio-detail { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:center; }
.example-package { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-specs { display:grid; gap:0; }
.example-specs > div { display:flex; justify-content:space-between; gap:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); padding-block:calc(var(--ds-unit) / 2); }
@media(max-width:900px) { .example-title { --ds-sf:var(--sf, 1); } .example-work { grid-template-columns:1fr; } .example-brief { grid-template-columns:1fr 1fr; gap:var(--ds-unit); } .example-cash { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.example-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.example-shop-hero,.example-audio-hero,.example-audio-detail,.example-package,.example-two,.example-story,.example-brief { grid-template-columns:1fr; gap:var(--ds-unit); }
.example-shop-intro { padding-block:0; gap:var(--ds-unit); }
.example-shop-hero { --hero-ratio:4 / 3; }
.example-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit) calc(var(--ds-unit) / 2); }
.example-grid > :first-child { grid-column:1 / -1; }
.example-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.example-stats > :first-child { grid-column:1 / -1; }
.example-audio-strip { grid-template-columns:1fr; }
.example-week { gap:calc(var(--ds-unit) / 2); }
.example-day { min-height:calc(3 * var(--ds-unit)); }
.example-day ds-text[size=small] { display:none; }
.example-nav .example-nav-secondary { display:none; }
.example-goal { grid-template-columns:calc(4 * var(--ds-unit)) minmax(0,1fr); }
.example-item { grid-template-columns:1fr; }
.example-item-meta { padding-inline-start:calc(1.5 * var(--ds-unit)); }
.example-package { padding-block:var(--ds-unit); }
}
</style><ds-page layout="sidebar" drawer divided fill class="example-workspace" data-ds-surface>
<div slot="nav" class="example-workspace-nav"><ds-row><ds-avatar initial="L" color="var(--one-comfortable-green)"></ds-avatar><ds-text literal strong>Ledger</ds-text></ds-row><ds-sidebar label="Accounts" id="finance-nav"></ds-sidebar><div class="example-tight"><ds-text literal size="small" tone="muted">Your next chapter</ds-text><ds-image src="/examples/images/lake.jpg" alt="A mountain lake, the destination of a savings goal" ratio="4 / 3" ></ds-image><ds-text literal strong>A week away</ds-text><ds-text literal size="small" wrap>€2,400 of €3,000 saved</ds-text><ds-progress value="0.8" label="80% of the savings goal"></ds-progress></div></div>
<div slot="header" class="example-between"><ds-text literal strong>Overview</ds-text><div class="example-actions"><ds-tag>Demo data</ds-tag><ds-button id="month" secondary>October</ds-button></div></div>
<div class="example-stack">
<div class="example-stats"><ds-stat id="balance-stat" label="Available balance" value="18420" format="money" currency="EUR" whole caption="Across two accounts" literal></ds-stat><ds-stat id="income-stat" label="Money in" value="6200" format="money" currency="EUR" whole caption="2 client payments" literal></ds-stat><ds-stat id="spent-stat" label="Money out" value="408.8" format="money" currency="EUR" caption="3 transactions" literal></ds-stat></div>
<section class="example-cash example-rule"><div class="example-stack"><div class="example-between"><ds-text literal strong>Balance through the month</ds-text><ds-text literal size="small" tone="muted" id="chart-period">1–19 October</ds-text></div><ds-chart id="cash-chart" kind="area" rows="10" color="--one-sharp-blue" labels aria-label="Daily available balance"></ds-chart><div class="example-caption"><ds-text literal size="small" tone="muted" id="chart-start">1 Oct</ds-text><ds-text literal size="small" tone="muted" id="chart-end">19 Oct</ds-text></div></div><div class="example-stack"><ds-text literal strong>Where it went</ds-text><div class="example-tight"><div class="example-caption"><ds-text literal size="small">Production</ds-text><ds-text literal size="small" id="production-spent">€280</ds-text></div><ds-progress id="production-ratio" value="0.685" label="Production spending"></ds-progress><div class="example-caption"><ds-text literal size="small">Travel</ds-text><ds-text literal size="small" id="travel-spent">€86</ds-text></div><ds-progress id="travel-ratio" value="0.21" label="Travel spending"></ds-progress><div class="example-caption"><ds-text literal size="small">Groceries</ds-text><ds-text literal size="small" id="groceries-spent">€42.80</ds-text></div><ds-progress id="groceries-ratio" value="0.105" label="Grocery spending"></ds-progress></div><ds-text literal size="small" tone="muted" wrap>Every outgoing payment, in one place.</ds-text></div></section>
<section class="example-stack example-rule"><div class="example-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Recent activity</ds-text><ds-input id="transaction-search" type="search" label="Find a transaction" placeholder="Find a transaction"></ds-input></div><div class="example-actions" role="group" aria-label="Transaction type"><ds-button control="host" active data-filter="all" aria-pressed="true">All</ds-button><ds-button control="host" data-filter="income" aria-pressed="false">Money in</ds-button><ds-button control="host" data-filter="expense" aria-pressed="false">Money out</ds-button></div><div class="example-overflow"><ds-table id="transactions" label="Transactions" sticky></ds-table></div><ds-text id="transaction-count" literal role="status" tone="muted" size="small"></ds-text></section>
<section class="example-goal example-rule"><ds-image src="/examples/images/lake.jpg" alt="Mountains reflected in a still lake" ratio="4 / 3" ></ds-image><div class="example-tight"><ds-text literal strong wrap>A little closer to the mountains.</ds-text><ds-text literal wrap tone="muted">Your next €600 completes the travel fund.</ds-text><ds-progress value="0.8" label="Travel fund: €2,400 of €3,000"></ds-progress></div></section>
</div><div slot="footer" class="example-footer"><ds-text literal size="small" tone="muted" wrap>Fictional demo. Your changes stay here.</ds-text></div></ds-page> const nav = document.querySelector('#finance-nav'); let account='all', filter='all', september=false;
const entries=[{date:'19 Oct',name:'North studio',category:'Client payment',amount:3200,account:'business'},{date:'18 Oct',name:'Corner market',category:'Groceries',amount:-42.80,account:'personal'},{date:'17 Oct',name:'Rail ticket',category:'Travel',amount:-86,account:'personal'},{date:'16 Oct',name:'Print workshop',category:'Production',amount:-280,account:'business'},{date:'15 Oct',name:'Oak house',category:'Client payment',amount:3000,account:'business'}];
const chart=document.querySelector('#cash-chart');
new ResizeObserver(()=>{chart.unit=20*(parseFloat(getComputedStyle(chart).getPropertyValue('--ds-sf'))||1);}).observe(chart);
chart.format=value=>'€'+Math.round(value).toLocaleString('en-IE');
const table=document.querySelector('#transactions'); table.columns=[{key:'date',label:'Date'},{key:'name',label:'Name'},{key:'category',label:'Category'},{key:'amount',label:'Amount',numeric:true}];
function render() {
nav.items=[{id:'all',label:'All accounts',current:account==='all'},{id:'personal',label:'Personal',current:account==='personal'},{id:'business',label:'Business',current:account==='business'}];
const query=document.querySelector('#transaction-search').value.toLowerCase();
table.data=entries.filter(row => (account==='all'||row.account===account)&&(filter==='all'||(filter==='income'?row.amount>0:row.amount<0))&&(row.name+' '+row.category).toLowerCase().includes(query)).map(row=>({...row,date:row.date.replace('Oct',september?'Sep':'Oct'),amount:new Intl.NumberFormat('en-IE',{style:'currency',currency:'EUR'}).format(row.amount*(september?0.8:1))}));
document.querySelector('#transaction-count').textContent=table.data.length+' transactions';
document.querySelector('#month').textContent=september?'September':'October';
const selected=entries.filter(row=>account==='all'||row.account===account);const factor=september?0.8:1;const income=selected.reduce((sum,row)=>sum+Math.max(0,row.amount),0)*factor;const spent=selected.reduce((sum,row)=>sum+Math.max(0,-row.amount),0)*factor;const opening=(account==='personal'?4428.8:account==='business'?8200:12628.8)*factor;
document.querySelector('#income-stat').value=income;document.querySelector('#spent-stat').value=spent;document.querySelector('#balance-stat').value=opening+income-spent;document.querySelector('#balance-stat').caption=account==='all'?'Across two accounts':account==='personal'?'Personal account':'Business account';
document.querySelector('#income-stat').caption=selected.filter(row=>row.amount>0).length+' payments';document.querySelector('#spent-stat').caption=selected.filter(row=>row.amount<0).length+' transactions';
for(const [id,category] of [['production','Production'],['travel','Travel'],['groceries','Groceries']]){const amount=Math.max(0,-selected.filter(row=>row.category===category).reduce((sum,row)=>sum+row.amount,0)*factor);document.querySelector('#'+id+'-spent').textContent=new Intl.NumberFormat('en-IE',{style:'currency',currency:'EUR'}).format(amount);document.querySelector('#'+id+'-ratio').value=spent?amount/spent:0;}
const month=september?'Sep':'Oct';document.querySelector('#chart-period').textContent='1–19 '+(september?'September':'October');document.querySelector('#chart-start').textContent='1 '+month;document.querySelector('#chart-end').textContent='19 '+month;
document.querySelector('#cash-chart').timeRange=[0,18*86400];
document.querySelector('#cash-chart').data=Array.from({length:19},(_,index)=>({time:index*86400,value:opening+selected.filter(row=>Number(row.date.split(' ')[0])<=index+1).reduce((sum,row)=>sum+row.amount,0)*factor}));
}
nav.addEventListener('sidebar-activate', event=>{account=event.detail.id;render();document.querySelector('ds-page').closeDrawer();});
document.querySelector('#month').addEventListener('click',()=>{september=!september;render();});
document.querySelector('#transaction-search').addEventListener('input',render);
document.querySelectorAll('[data-filter]').forEach(button=>button.addEventListener('click',()=>{filter=button.dataset.filter;document.querySelectorAll('[data-filter]').forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});render();}));
render(); Product showcase
Section titled “Product showcase”<style>
.example-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.example-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.example-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.example-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-grow { flex:1; min-width:0; }
.example-section { padding-block:var(--ds-unit); }
.example-between > ds-input { width:calc(10 * var(--ds-unit)); max-width:100%; }
.example-overflow { overflow-x:auto; }
.example-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.example-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.example-caption > * { min-width:0; }
.example-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.example-brand { flex:none; }
.example-footer { padding-top:var(--ds-unit); }
.example-stack [hidden], .example-grid [hidden], .example-two [hidden], .example-tight [hidden] { display:none!important; }
.example-status:empty { display:none; }
.example-title { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:40px; --ds-typeface-regular:var(--typeface-compressed); }
.example-copy { max-width:calc(24 * var(--ds-unit)); }
.example-shop-hero { display:grid; grid-template-columns:2fr 3fr; gap:var(--ds-unit); align-items:stretch; }
.example-shop-intro { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.example-shop-hero ds-image { align-self:start; }
.example-story { display:grid; grid-template-columns:1fr 2fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-product { display:grid; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-bag { padding-block:var(--ds-unit); border-block:1px solid var(--ds-border-color); }
.example-workspace { --ds-page-nav:calc(8 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.example-workspace-nav { display:grid; gap:calc(2 * var(--ds-unit)); }
.example-week { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-day { display:grid; gap:calc(var(--ds-unit) / 2); min-height:calc(4 * var(--ds-unit)); padding-block:calc(var(--ds-unit) / 2); border-top:1px solid var(--ds-border-color); }
.example-day[aria-current] { border-top-color:var(--ds-text-color); }
.example-work { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); }
.example-brief { display:grid; gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(var(--ds-unit) / 2); }
.example-contact-sheet > :first-child { grid-column:1 / -1; }
.example-item { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); align-items:end; border-bottom:1px solid var(--ds-border-color); }
.example-item label { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-width:0; }
.example-item label ds-text { flex:1; }
.example-item-meta { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
#balance-stat { --ds-stat-size:40px; --ds-stat-lines:3; --ds-stat-typeface:var(--typeface-compressed); }
.example-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.example-cash { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.example-goal { display:grid; grid-template-columns:calc(6 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); align-items:center; }
.example-audio-hero { display:grid; grid-template-columns:1fr 1fr; gap:var(--ds-unit); }
.example-audio-copy { display:flex; flex-direction:column; justify-content:space-between; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--one-pink-pastel); }
.example-audio-copy .example-title { --ds-typeface-regular:var(--typeface-regular); }
.example-audio-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); padding-block:var(--ds-unit); }
.example-audio-detail { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:center; }
.example-package { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.example-specs { display:grid; gap:0; }
.example-specs > div { display:flex; justify-content:space-between; gap:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); padding-block:calc(var(--ds-unit) / 2); }
@media(max-width:900px) { .example-title { --ds-sf:var(--sf, 1); } .example-work { grid-template-columns:1fr; } .example-brief { grid-template-columns:1fr 1fr; gap:var(--ds-unit); } .example-cash { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.example-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.example-shop-hero,.example-audio-hero,.example-audio-detail,.example-package,.example-two,.example-story,.example-brief { grid-template-columns:1fr; gap:var(--ds-unit); }
.example-shop-intro { padding-block:0; gap:var(--ds-unit); }
.example-shop-hero { --hero-ratio:4 / 3; }
.example-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit) calc(var(--ds-unit) / 2); }
.example-grid > :first-child { grid-column:1 / -1; }
.example-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.example-stats > :first-child { grid-column:1 / -1; }
.example-audio-strip { grid-template-columns:1fr; }
.example-week { gap:calc(var(--ds-unit) / 2); }
.example-day { min-height:calc(3 * var(--ds-unit)); }
.example-day ds-text[size=small] { display:none; }
.example-nav .example-nav-secondary { display:none; }
.example-goal { grid-template-columns:calc(4 * var(--ds-unit)) minmax(0,1fr); }
.example-item { grid-template-columns:1fr; }
.example-item-meta { padding-inline-start:calc(1.5 * var(--ds-unit)); }
.example-package { padding-block:var(--ds-unit); }
}
</style><ds-page layout="column" measure="52" data-ds-surface>
<div slot="header" class="example-nav"><ds-text literal strong class="example-brand">Sound / 01</ds-text><div class="example-actions"><ds-button href="#details" class="example-nav-secondary">A closer look</ds-button><ds-button href="#configure" secondary>Choose yours</ds-button></div></div>
<div class="example-stack">
<section class="example-audio-hero"><div class="example-audio-copy"><div class="example-tight"><ds-text literal size="small">For the love of listening.</ds-text><ds-text literal size="display" class="example-title" wrap role="heading" aria-level="1">Press play.<br>Stay a while.</ds-text></div><div class="example-stack"><div data-ds-prose><p>One good pair. Your whole record collection. Meet Sound / 01.</p></div><div><ds-button primary href="#configure">Make it yours · €249 <ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div></div></div><ds-image src="/examples/images/headphones.jpg" alt="Mint headphones resting across pink and blue paper" ratio="1" loading="eager" position="50% 50%"></ds-image></section>
<div class="example-audio-strip"><ds-stat figure="Wired" label="Just plug in" caption="No pairing. No battery." literal></ds-stat><ds-stat figure="Over-ear" label="Settle into the sound" caption="Soft, full-size cushions" literal></ds-stat><ds-stat figure="Ice blue" label="A little colour" caption="An everyday favourite" literal></ds-stat></div>
<section id="details" class="example-audio-detail example-rule"><ds-image src="/examples/images/headphones.jpg" alt="A closer view of the headphone cushions and cable" ratio="1" position="50% 60%"></ds-image><div class="example-stack"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Nothing between you and the next track.</ds-text><div data-ds-prose><p>Albums deserve more than background noise. Put the phone down, find the comfortable chair and listen all the way through.</p></div><div class="example-specs"><div><ds-text literal tone="muted">Connection</ds-text><ds-text literal >3.5 mm cable</ds-text></div><div><ds-text literal tone="muted">Fit</ds-text><ds-text literal >Over-ear</ds-text></div><div><ds-text literal tone="muted">Finish</ds-text><ds-text literal >Ice blue</ds-text></div></div></div></section>
<section id="configure" class="example-package example-rule"><div class="example-stack"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Your next favourite pair.</ds-text><div data-ds-prose><p>Keep it simple, or take a little extra protection for the journey.</p></div><ds-text literal size="small" tone="muted" wrap>This is a fictional product. No purchase is made.</ds-text></div><div class="example-stack"><div class="example-between"><ds-stat value="249" format="money" currency="EUR" whole label="Your selection" literal></ds-stat><ds-tag>Ice blue</ds-tag></div><div class="example-actions" role="group" aria-label="Choose package"><ds-button control="host" active data-package="Headphones" aria-pressed="true">Headphones</ds-button><ds-button control="host" data-package="Headphones + travel case" aria-pressed="false">With travel case</ds-button></div><ds-text literal id="package-description" wrap tone="muted">Headphones, cable and the next album on your list.</ds-text><div><ds-button primary id="configure-add"><ds-icon type="plus" aria-hidden="true"></ds-icon> Add to bag</ds-button></div><ds-text literal id="product-status" class="example-status" role="status" wrap></ds-text></div></section>
</div><div slot="footer" class="example-footer"><ds-text literal size="small" tone="muted" wrap>Fictional demo. Your changes stay here.</ds-text></div></ds-page> let selection='Headphones';
document.querySelectorAll('[data-package]').forEach(button=>button.addEventListener('click',()=>{selection=button.dataset.package;document.querySelectorAll('[data-package]').forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});document.querySelector('#configure ds-stat').value=selection==='Headphones'?249:279;document.querySelector('#package-description').textContent=selection==='Headphones'?'Headphones, cable and the next album on your list.':'Headphones, cable and a protective travel case.';document.querySelector('#product-status').textContent='';}));
document.querySelector('#configure-add').addEventListener('click',()=>{document.querySelector('#product-status').textContent=selection+' added to this example bag. No payment is taken.';}); Drawn with a library
Section titled “Drawn with a library”The same components, each site and app drawn by a different library: its own paper, accent, corners and type. Each page loads Design system 1, then its library stylesheet. The Slate issue tracker uses a 10px unit for finer spacing, with full-size text and controls.
Issue tracker · Slate
Section titled “Issue tracker · Slate”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/slate.css">
<style>
.issue-app { --ds-page-measure:100%; --ds-page-flow:calc(2 * var(--ds-unit)); min-height:100vh; }
.issue-app::part(page) { padding:calc(2 * var(--ds-unit)); }
.issue-app *, .issue-dialog * { box-sizing:border-box; }
.issue-app [hidden], .issue-dialog [hidden] { display:none !important; }
.issue-top, .issue-heading, .issue-toolbar, .issue-actions, .issue-quarter-head, .issue-card-top, .issue-card-foot { display:flex; align-items:center; gap:var(--ds-unit); min-width:0; }
.issue-top { min-height:calc(4 * var(--ds-unit)); border-bottom:1px solid var(--ds-border-color); flex-wrap:wrap; padding-bottom:var(--ds-unit); }
.issue-brand { display:flex; align-items:center; gap:var(--ds-unit); margin-right:calc(2 * var(--ds-unit)); }
.issue-brand ds-icon { color:var(--ds-accent-color); }
.issue-top > ds-text { margin-left:auto; }
.issue-heading { justify-content:space-between; padding-top:var(--ds-unit); flex-wrap:wrap; }
.issue-heading h1 { font:500 calc(20px * var(--ds-sf))/calc(30px * var(--ds-sf)) var(--ds-typeface-medium); margin:0; }
.issue-subtitle { margin-top:0; }
.issue-toolbar { justify-content:space-between; flex-wrap:wrap; border-bottom:1px solid var(--ds-border-color); padding-block:var(--ds-unit); }
.issue-actions { flex-wrap:wrap; }
.issue-search { width:calc(22 * var(--ds-unit)); max-width:100%; }
.issue-count { color:var(--ds-text-color-muted); font-variant-numeric:tabular-nums; }
.issue-board { padding:var(--ds-unit) 2px calc(2 * var(--ds-unit)); }
.issue-list { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); }
.issue-column { display:grid; gap:var(--ds-unit); min-width:0; width:min(calc(26 * var(--ds-unit)), calc(100vw - 4 * var(--ds-unit))); }
.issue-list .issue-column { width:auto; }
.issue-quarter-head { min-height:calc(4 * var(--ds-unit)); padding-inline:var(--ds-unit); }
.issue-quarter-head ds-button { margin-left:auto; }
.issue-card { min-height:calc(12 * var(--ds-unit)); }
.issue-card::part(card) { box-shadow:inset 0 0 0 1px var(--ds-border-color); }
.issue-card-body { display:flex; flex-direction:column; gap:var(--ds-unit); }
.issue-card-top { align-items:center; gap:calc(var(--ds-unit) / 2); }
.issue-card-top > ds-text { flex:1; min-width:0; }
.issue-card-top > ds-icon { flex:none; color:var(--slate-icon-color); }
.issue-description { min-height:calc(40px * var(--ds-sf)); }
.issue-card-foot { color:var(--slate-icon-color); gap:calc(var(--ds-unit) / 2); }
.issue-indicators { display:flex; gap:calc(var(--ds-unit) / 2); align-items:center; flex:none; color:var(--slate-icon-color); }
.issue-health[data-status="Done"] { color:var(--ds-success-color); }
.issue-health[data-status="In progress"] { color:var(--ds-warning-color); }
.issue-health[data-status="At risk"] { color:var(--ds-danger-color); }
.issue-milestone { color:var(--ds-warning-color); }
.issue-milestone[data-status="Done"] { color:var(--slate-milestone-color); }
.issue-milestone[data-status="Planned"] { color:var(--slate-icon-color); }
.issue-icon-library { grid-column:1 / -1; }
.issue-icon-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(calc(14 * var(--ds-unit)),1fr)); gap:var(--ds-unit); }
.issue-icon-link { display:flex; gap:var(--ds-unit); align-items:center; color:var(--ds-text-color); text-decoration:none; min-height:calc(4 * var(--ds-unit)); padding:var(--ds-unit); border:1px solid var(--ds-border-color); border-radius:var(--ds-radius); }
.issue-icon-link:hover { background:var(--ds-fill); }
.issue-icon-link:focus-visible { outline:2px solid var(--ds-focus-ring); outline-offset:2px; }
.issue-status { width:calc(10px * var(--ds-sf)); height:calc(10px * var(--ds-sf)); border:1px dashed var(--ds-text-color-muted); border-radius:50%; display:inline-block; flex:none; margin-top:calc(5px * var(--ds-sf)); }
.issue-status[data-status="In progress"] { border:2px solid var(--ds-warning-color); background:linear-gradient(90deg,var(--ds-warning-color) 50%,transparent 50%); }
.issue-status[data-status="Done"] { border:0; background:var(--ds-success-color); }
.issue-status[data-status="At risk"] { border:0; background:var(--ds-danger-color); }
.issue-board[data-view="list"] .issue-card { min-height:0; }
.issue-board[data-view="list"] .issue-card-body { min-height:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.issue-board[data-view="list"] .issue-description { display:none; }
.issue-board[data-view="list"] .issue-card-foot { justify-content:flex-end; }
.issue-library { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(32 * var(--ds-unit))),1fr)); gap:calc(4 * var(--ds-unit)); padding-block:calc(2 * var(--ds-unit)); }
.issue-library section { display:grid; align-content:start; gap:calc(2 * var(--ds-unit)); }
.issue-library h2 { margin:0; font:500 calc(14px * var(--ds-sf))/calc(20px * var(--ds-sf)) var(--ds-typeface-medium); }
.issue-swatches { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.issue-swatch { height:calc(6 * var(--ds-unit)); border:1px solid var(--ds-border-color); border-radius:var(--ds-radius); margin-bottom:var(--ds-unit); }
.issue-token { display:flex; justify-content:space-between; gap:var(--ds-unit); padding-block:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); }
.issue-ruler { height:calc(4 * var(--ds-unit)); background:repeating-linear-gradient(90deg,var(--ds-accent-color) 0 1px,transparent 1px var(--ds-unit)); border-block-end:1px solid var(--ds-accent-color); }
.issue-dialog { --ds-overlay-width:calc(50 * var(--ds-unit)); }
.issue-form { display:grid; gap:calc(2 * var(--ds-unit)); }
.issue-form label { display:grid; gap:var(--ds-unit); min-width:0; }
.issue-form ds-input { width:100%; }
.issue-form .issue-properties { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); }
.issue-footer { display:flex; justify-content:space-between; gap:var(--ds-unit); flex-wrap:wrap; padding-top:var(--ds-unit); color:var(--ds-text-color-muted); }
@media(max-width:600px) {
.issue-top > ds-text { display:none; }
.issue-board[data-view="list"] .issue-card-body { grid-template-columns:1fr; }
.issue-board[data-view="list"] .issue-card-foot { justify-content:space-between; }
.issue-search { width:100%; }
.issue-toolbar > .issue-actions { width:100%; }
}
</style>
<ds-page layout="column" class="issue-app" data-ds-surface>
<div slot="header" class="issue-top">
<div class="issue-brand"><ds-icon type="2xgrid" aria-hidden="true"></ds-icon><ds-text literal strong>Roadway</ds-text></div>
<ds-tabs aria-label="Workspace views">
<ds-button control="host" data-page="roadmap" active aria-pressed="true">Roadmap</ds-button>
<ds-button control="host" data-page="library" aria-pressed="false">Library</ds-button>
</ds-tabs>
<ds-text literal tone="muted">Workspace / Engineering</ds-text>
<ds-avatar initial="AK" label="Alex Kim" color="var(--ds-accent-color)" ink="var(--ds-button-text-color-on-accent)"></ds-avatar>
</div>
<section id="issue-roadmap">
<div class="issue-heading"><div><h1>Product roadmap</h1><div class="issue-subtitle"><ds-text literal tone="muted" wrap>From the next release to the next city.</ds-text></div></div>
<ds-button primary id="issue-new"><ds-icon type="plus" aria-hidden="true"></ds-icon><span>New issue</span></ds-button>
</div>
<div class="issue-toolbar">
<div class="issue-actions"><ds-tabs aria-label="Issue layout"><ds-button control="host" data-view="board" active aria-pressed="true"><ds-icon type="2xgrid" aria-hidden="true"></ds-icon><span>Board</span></ds-button><ds-button control="host" data-view="list" aria-pressed="false"><ds-icon type="lists" aria-hidden="true"></ds-icon><span>List</span></ds-button></ds-tabs>
<ds-select><select id="issue-team" aria-label="Filter by team"><option>All teams</option><option>Infrastructure</option><option>Mobile apps</option><option>Vehicle intelligence</option><option>Japan expansion</option></select></ds-select></div>
<div class="issue-actions"><ds-input variant="field" class="issue-search" id="issue-search" type="search" aria-label="Search issues" placeholder="Search issues…"></ds-input><ds-text literal tone="muted">2026</ds-text></div>
</div>
<div class="issue-board" id="issue-board" data-view="board"><ds-carousel id="issue-strip" label="Quarters" literal slide-width="auto" buttons no-dots></ds-carousel><div id="issue-list" class="issue-list" hidden></div></div>
<ds-empty id="issue-empty" heading="No matching issues" text="Try another search or choose All teams." hidden></ds-empty>
<div class="issue-footer"><ds-text literal id="issue-count" role="status" aria-live="polite"></ds-text><ds-text literal size="small" wrap>Example workspace · Changes last until you reload</ds-text></div>
</section>
<section id="issue-library" hidden>
<div class="issue-heading"><div><h1>Slate library</h1><div class="issue-subtitle"><ds-text literal tone="muted" wrap>The same components. A finer grid.</ds-text></div></div><ds-button secondary control="slotted"><a href="/examples/libraries/slate.css" download="slate.css"><ds-icon type="download" aria-hidden="true"></ds-icon><span>Download CSS</span></a></ds-button></div>
<div class="issue-library">
<section><h2>Colour</h2><div class="issue-swatches"><div><div class="issue-swatch" style="background:var(--ds-paper)"></div><ds-text literal size="small">Paper</ds-text></div><div><div class="issue-swatch" style="background:var(--ds-fill)"></div><ds-text literal size="small">Surface</ds-text></div><div><div class="issue-swatch" style="background:var(--ds-border-color)"></div><ds-text literal size="small">Border</ds-text></div><div><div class="issue-swatch" style="background:var(--ds-text-color)"></div><ds-text literal size="small">Text</ds-text></div><div><div class="issue-swatch" style="background:var(--ds-text-color-muted)"></div><ds-text literal size="small">Muted</ds-text></div><div><div class="issue-swatch" style="background:var(--ds-accent-color)"></div><ds-text literal size="small">Accent</ds-text></div></div><ds-text literal tone="muted" wrap>Charcoal paper, quiet graphite surfaces and a muted periwinkle accent. Status colours always carry a label.</ds-text></section>
<section><h2>Space & type</h2><div class="issue-ruler" aria-label="10 pixel spacing grid"></div><div class="issue-token"><ds-text literal >Base unit</ds-text><ds-text literal tone="muted">10px</ds-text></div><div class="issue-token"><ds-text literal >Control row</ds-text><ds-text literal tone="muted">30px</ds-text></div><div class="issue-token"><ds-text literal >Control face</ds-text><ds-text literal tone="muted">26px</ds-text></div><div class="issue-token"><ds-text literal >Body text</ds-text><ds-text literal tone="muted">14px / 20px</ds-text></div><div class="issue-token"><ds-text literal >Card inset</ds-text><ds-text literal tone="muted">10px</ds-text></div><div class="issue-token"><ds-text literal >Corner</ds-text><ds-text literal tone="muted">4px</ds-text></div></section>
<section><h2>Components</h2><div class="issue-actions"><ds-button primary id="issue-specimen-new">New issue</ds-button><ds-button secondary id="issue-specimen-board">Back to roadmap</ds-button></div><ds-input variant="field" placeholder="A shared input" aria-label="Library input specimen"></ds-input><ds-select><select id="issue-specimen-status" aria-label="Library status specimen"><option>Planned</option><option>In progress</option><option>At risk</option><option>Done</option></select></ds-select><div class="issue-actions"><span class="issue-status" data-status="Planned" aria-hidden="true"></span><ds-text literal >Planned</ds-text><span class="issue-status" data-status="In progress" aria-hidden="true"></span><ds-text literal >In progress</ds-text><span class="issue-status" data-status="At risk" aria-hidden="true"></span><ds-text literal >At risk</ds-text><span class="issue-status" data-status="Done" aria-hidden="true"></span><ds-text literal >Done</ds-text></div><ds-text literal tone="muted" wrap>Buttons, cards, fields, menus and overlays use the shared DS1 elements. Slate changes their public tokens.</ds-text></section>
<section class="issue-icon-library"><h2>Icons</h2><ds-text literal tone="muted" wrap>Ten original vectors, shared with the DS1 icon collection. Select one to download its SVG.</ds-text><div class="issue-icon-grid"><a class="issue-icon-link" href="/icons/library/health.svg" download="health.svg"><ds-icon type="health" aria-hidden="true"></ds-icon><ds-text literal >health</ds-text></a><a class="issue-icon-link" href="/icons/library/milestone.svg" download="milestone.svg"><ds-icon type="milestone" aria-hidden="true"></ds-icon><ds-text literal >milestone</ds-text></a><a class="issue-icon-link" href="/icons/library/milestone-planned.svg" download="milestone-planned.svg"><ds-icon type="milestone-planned" aria-hidden="true"></ds-icon><ds-text literal >milestone planned</ds-text></a><a class="issue-icon-link" href="/icons/library/priority-low.svg" download="priority-low.svg"><ds-icon type="priority-low" aria-hidden="true"></ds-icon><ds-text literal >priority low</ds-text></a><a class="issue-icon-link" href="/icons/library/priority-medium.svg" download="priority-medium.svg"><ds-icon type="priority-medium" aria-hidden="true"></ds-icon><ds-text literal >priority medium</ds-text></a><a class="issue-icon-link" href="/icons/library/priority-high.svg" download="priority-high.svg"><ds-icon type="priority-high" aria-hidden="true"></ds-icon><ds-text literal >priority high</ds-text></a><a class="issue-icon-link" href="/icons/library/project.svg" download="project.svg"><ds-icon type="project" aria-hidden="true"></ds-icon><ds-text literal >project</ds-text></a><a class="issue-icon-link" href="/icons/library/network.svg" download="network.svg"><ds-icon type="network" aria-hidden="true"></ds-icon><ds-text literal >network</ds-text></a><a class="issue-icon-link" href="/icons/library/prediction.svg" download="prediction.svg"><ds-icon type="prediction" aria-hidden="true"></ds-icon><ds-text literal >prediction</ds-text></a><a class="issue-icon-link" href="/icons/library/scaling.svg" download="scaling.svg"><ds-icon type="scaling" aria-hidden="true"></ds-icon><ds-text literal >scaling</ds-text></a></div></section>
</div>
</section>
</ds-page>
<ds-overlay id="issue-editor" class="issue-dialog">
<dialog aria-labelledby="issue-editor-heading"><header class="issue-heading"><ds-text literal strong id="issue-editor-heading">New issue</ds-text><ds-button icon data-close label="Close"><ds-icon type="close" aria-hidden="true"></ds-icon></ds-button></header>
<form class="issue-form" id="issue-form">
<label><ds-text literal >Title</ds-text><ds-input variant="field" id="issue-title" aria-label="Issue title" placeholder="What needs to happen?"></ds-input></label>
<label><ds-text literal >Description</ds-text><ds-input variant="field" id="issue-description" multiline rows="3" aria-label="Issue description" placeholder="Add a little context"></ds-input></label>
<div class="issue-properties"><label><ds-text literal >Team</ds-text><ds-select><select id="issue-edit-team" aria-label="Issue team"><option>Infrastructure</option><option>Mobile apps</option><option>Vehicle intelligence</option><option>Japan expansion</option></select></ds-select></label><label><ds-text literal >Quarter</ds-text><ds-select><select id="issue-quarter" aria-label="Issue quarter"><option>Q1</option><option>Q2</option><option>Q3</option><option>Q4</option></select></ds-select></label><label><ds-text literal >Status</ds-text><ds-select><select id="issue-status" aria-label="Issue status"><option>Planned</option><option>In progress</option><option>At risk</option><option>Done</option></select></ds-select></label><label><ds-text literal >Priority</ds-text><ds-select><select id="issue-priority" aria-label="Issue priority"><option>Low</option><option>Medium</option><option>High</option></select></ds-select></label></div>
<ds-text literal tone="danger" id="issue-error" role="alert" hidden>Give this issue a title.</ds-text>
<div class="issue-actions"><ds-button primary id="issue-save">Create issue</ds-button><ds-button secondary data-close>Cancel</ds-button></div>
</form>
</dialog>
</ds-overlay>
const issues = [{"id":"RD-101","title":"Fleet connectivity resilience","description":"Reduce rider impact during intermittent vehicle network connectivity.","team":"Infrastructure","quarter":1,"status":"Done","priority":"High","glyph":"network"},{"id":"RD-102","title":"Unprotected turn strategy","description":"Improve planning for unprotected turns at busy intersections.","team":"Vehicle intelligence","quarter":1,"status":"In progress","priority":"High","glyph":"car"},{"id":"RD-103","title":"Incident response playbooks","description":"Standardise procedures for handling production incidents.","team":"Infrastructure","quarter":1,"status":"Done","priority":"Medium","glyph":"page"},{"id":"RD-104","title":"Disaster recovery drills","description":"Test regional recovery scenarios on a recurring basis.","team":"Infrastructure","quarter":1,"status":"Planned","priority":"Medium","glyph":"refresh"},{"id":"RD-105","title":"Map tile streaming","description":"Reduce map loading delays under poor network conditions.","team":"Mobile apps","quarter":2,"status":"In progress","priority":"High","glyph":"map"},{"id":"RD-106","title":"Local payment methods","description":"Support local payment methods and billing requirements in Japan.","team":"Japan expansion","quarter":2,"status":"At risk","priority":"High","glyph":"bag"},{"id":"RD-107","title":"Backend latency reduction","description":"Improve response times for core ride and dispatch services.","team":"Infrastructure","quarter":2,"status":"In progress","priority":"High","glyph":"building"},{"id":"RD-108","title":"Multi-agent prediction","description":"Improve prediction accuracy in dense traffic situations.","team":"Vehicle intelligence","quarter":2,"status":"Planned","priority":"Medium","glyph":"prediction"},{"id":"RD-109","title":"Build pipeline hardening","description":"Reduce flaky tests and keep release builds reliable.","team":"Infrastructure","quarter":2,"status":"Planned","priority":"Low","glyph":"code"},{"id":"RD-110","title":"Offline mode","description":"Keep essential trip information available when connectivity is lost.","team":"Mobile apps","quarter":3,"status":"Planned","priority":"High","glyph":"offline"},{"id":"RD-111","title":"Autoscaling improvements","description":"Tune capacity for peak demand periods.","team":"Infrastructure","quarter":3,"status":"Planned","priority":"Medium","glyph":"scaling"},{"id":"RD-112","title":"Android interface parity","description":"Align Android behaviour with the updated iOS designs.","team":"Mobile apps","quarter":3,"status":"Planned","priority":"Medium","glyph":"phone"},{"id":"RD-113","title":"Tokyo launch","description":"Prepare the initial autonomous service rollout in Tokyo.","team":"Japan expansion","quarter":4,"status":"In progress","priority":"High","glyph":"globe"},{"id":"RD-114","title":"Geofencing boundaries","description":"Define and validate initial service area boundaries.","team":"Japan expansion","quarter":4,"status":"Planned","priority":"Medium","glyph":"map"},{"id":"RD-115","title":"Kyoto launch","description":"Prepare a limited service rollout in Kyoto.","team":"Japan expansion","quarter":4,"status":"Planned","priority":"Low","glyph":"globe"},{"id":"RD-116","title":"Ride arrival accuracy","description":"Reduce arrival-time jitter during live trips.","team":"Mobile apps","quarter":4,"status":"Planned","priority":"Low","glyph":"refresh"}];
const root = document.querySelector('.issue-app');
const board = document.querySelector('#issue-board');
const strip = document.querySelector('#issue-strip');
const list = document.querySelector('#issue-list');
const editor = document.querySelector('#issue-editor');
const field = name => document.querySelector('#issue-' + name);
const escape = value => String(value).replace(/[&<>"']/g, char => ({'&':'&','<':'<','>':'>','"':'"',"'":'''}[char]));
let selected = null;
let nextId = 117;
function render() {
const query = field('search').value.trim().toLowerCase();
const team = field('team').value;
const matches = issues.filter(issue => (team === 'All teams' || issue.team === team) && (issue.id + ' ' + issue.title + ' ' + issue.description).toLowerCase().includes(query));
const columns = [1,2,3,4].map(quarter => {
const group = matches.filter(issue => issue.quarter === quarter);
return '<section class="issue-column" aria-label="Quarter ' + quarter + '"><div class="issue-quarter-head"><ds-text literal strong>Q' + quarter + '</ds-text><ds-text literal tone="muted">2026</ds-text><span class="issue-count">' + group.length + '</span><ds-button icon data-quarter="' + quarter + '" label="Add issue to Q' + quarter + '"><ds-icon type="plus"></ds-icon></ds-button></div>' + group.map(issue => '<ds-card interactive class="issue-card" padding="medium" data-id="' + issue.id + '" aria-label="' + escape(issue.id + ': ' + issue.title + ', ' + issue.status) + '"><div class="issue-card-body"><div class="issue-card-top"><ds-icon type="' + issue.glyph + '" aria-hidden="true"></ds-icon><ds-text literal data-tooltip="' + escape(issue.title) + '">' + escape(issue.title) + '</ds-text><span class="issue-indicators"><ds-icon class="issue-health" data-status="' + issue.status + '" type="' + (issue.status === 'Planned' ? 'status' : 'health') + '" role="img" aria-label="' + issue.status + '" data-tooltip="' + issue.status + '"></ds-icon><ds-icon class="issue-milestone" data-status="' + issue.status + '" type="' + (issue.status === 'Planned' ? 'milestone-planned' : 'milestone') + '" aria-hidden="true"></ds-icon><ds-icon type="priority-' + issue.priority.toLowerCase() + '" role="img" aria-label="' + issue.priority + ' priority" data-tooltip="' + issue.priority + ' priority"></ds-icon></span></div><ds-text literal wrap tone="muted" class="issue-description">' + escape(issue.description) + '</ds-text><div class="issue-card-foot"><ds-icon type="project" aria-hidden="true"></ds-icon><ds-text literal tone="muted">' + escape(issue.team) + '</ds-text></div></div></ds-card>').join('') + '</section>';
}).join('');
strip.innerHTML = columns;
list.innerHTML = columns;
field('empty').hidden = matches.length > 0;
field('count').textContent = matches.length + ' of ' + issues.length + ' issues';
}
function showPage(name) {
field('roadmap').hidden = name !== 'roadmap'; field('library').hidden = name !== 'library';
root.querySelectorAll('[data-page]').forEach(button => { const active = button.dataset.page === name; button.toggleAttribute('active', active); button.setAttribute('aria-pressed', String(active)); });
}
function edit(issue, quarter = 2) {
selected = issue;
field('editor-heading').textContent = issue ? issue.id : 'New issue';
field('title').value = issue?.title ?? '';
field('description').value = issue?.description ?? '';
field('edit-team').value = issue?.team ?? 'Infrastructure';
field('quarter').value = 'Q' + (issue?.quarter ?? quarter);
field('status').value = issue?.status ?? 'Planned';
field('priority').value = issue?.priority ?? 'Medium';
field('save').textContent = issue ? 'Save changes' : 'Create issue';
field('error').hidden = true;
editor.open = true;
}
function save() {
const title = field('title').value.trim();
if (!title) { field('error').hidden = false; field('title').focus(); return; }
const values = { title, description: field('description').value.trim(), team: field('edit-team').value, quarter: Number(field('quarter').value.slice(1)), status: field('status').value, priority: field('priority').value };
if (selected) Object.assign(selected, values);
else issues.push({ id: 'RD-' + nextId++, glyph: 'page', ...values });
editor.open = false;
showPage('roadmap'); render();
}
root.addEventListener('click', event => {
const button = event.target.closest('ds-button');
if (!button) return;
if (button.dataset.page) showPage(button.dataset.page);
if (button.dataset.view) { board.dataset.view = button.dataset.view; strip.hidden = button.dataset.view !== 'board'; list.hidden = button.dataset.view !== 'list'; root.querySelectorAll('[data-view]').forEach(item => { if (item.tagName !== 'DS-BUTTON') return; const active = item === button; item.toggleAttribute('active', active); item.setAttribute('aria-pressed', String(active)); }); }
if (button.dataset.quarter) edit(null, Number(button.dataset.quarter));
});
board.addEventListener('ds-card-press', event => { const id = event.target.dataset.id; edit(issues.find(issue => issue.id === id)); });
field('new').addEventListener('click', () => edit(null));
field('specimen-new').addEventListener('click', () => edit(null));
field('specimen-board').addEventListener('click', () => showPage('roadmap'));
field('search').addEventListener('input', render);
field('team').addEventListener('change', render);
field('save').addEventListener('click', save);
field('form').addEventListener('submit', event => { event.preventDefault(); save(); });
editor.querySelectorAll('[data-close]').forEach(button => button.addEventListener('click', () => { editor.open = false; }));
render();
Booking site · Voyage
Section titled “Booking site · Voyage”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/voyage.css">
<style>
.brand-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.brand-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.brand-row { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-width:0; }
.brand-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.brand-grow { flex:1; min-width:0; }
.brand-giant { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:36px; }
.brand-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:24px; }
.brand-lead { --ds-sf:calc(1.5 * var(--sf, 1)); }
.brand-status:empty { display:none; }
[hidden] { display:none!important; }
/* The band: the brand's colour behind the header, the places and the opening, ending two squares
under the search so the search stands across its edge. */
.trip-band { color:var(--brand-band-ink); background:linear-gradient(var(--brand-band) calc(100% - 3 * var(--ds-unit)), transparent 0); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 80%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 55%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); }
.trip-band .trip-search { --ds-text-color:var(--brand-band-ink); }
.trip-top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.trip-places { display:flex; flex-wrap:wrap; gap:calc(var(--ds-unit) / 2); }
.trip-hero { display:grid; gap:var(--ds-unit); padding-block:calc(3 * var(--ds-unit)) calc(4 * var(--ds-unit)); }
.trip-account { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.trip-level { color:var(--brand-highlight); }
.trip-search { display:grid; grid-template-columns:minmax(0,4fr) minmax(0,3fr) minmax(0,3fr) auto; gap:4px; margin:-4px; padding:4px; background:var(--brand-highlight); border-radius:var(--ds-radius-card); }
.trip-field { box-sizing:border-box; display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-height:calc(56px * var(--sf, 1)); padding:0 calc(var(--ds-unit) / 2) calc(4px * var(--sf, 1)); background:var(--ds-paper); color:var(--ds-text-color); border-radius:calc(var(--ds-radius-card) - 4px); --ds-text-color:light-dark(#1a1a1a, #f2f5fa); --ds-text-color-muted:light-dark(#595959, #a8b3c4); --ds-border-color:light-dark(#e0e4ea, #2f3a49); --ds-fill:light-dark(#f2f4f7, #1f2733); }
.trip-field > ds-icon { flex:none; }
.trip-field-words { display:grid; grid-template-columns:minmax(0,1fr); flex:1; min-width:0; justify-items:start; }
.trip-field-words > ds-text { line-height:calc(16px * var(--sf, 1)); padding-top:calc(4px * var(--sf, 1)); }
.trip-field ds-input { width:100%; --ds-input-placeholder-color:#595959; }
.trip-search > ds-button { align-self:stretch; }
.trip-search > ds-button { --ds-control-size:56px; }
.trip-options { display:flex; flex-wrap:wrap; gap:var(--ds-unit); padding-block:var(--ds-unit); }
.trip-options label { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); }
.trip-recent { display:grid; grid-template-columns:calc(6 * var(--ds-unit)) minmax(0,1fr); min-height:calc(8 * var(--ds-unit)); }
.trip-recent ds-image { align-self:stretch; }
.trip-recent-words { display:grid; align-content:center; gap:0; padding:0 var(--ds-unit); }
.trip-recent-words > div { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.trip-review { display:grid; grid-template-columns:calc(5 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); align-items:start; }
.trip-review a { color:var(--ds-accent-color); }
/* The design tool's page. */
.easel-bar { display:flex; align-items:flex-end; gap:var(--ds-unit); padding:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); }
.easel-mark { display:inline-grid; grid-template-columns:repeat(2, calc(8px * var(--sf, 1))); gap:calc(2px * var(--sf, 1)); padding-bottom:calc(2px * var(--sf, 1)); }
.easel-mark span { width:calc(8px * var(--sf, 1)); height:calc(8px * var(--sf, 1)); border-radius:50%; }
.easel-nav { display:flex; align-items:flex-end; gap:calc(4px * var(--sf, 1)); }
.easel-hero { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr); gap:calc(2 * var(--ds-unit)); align-items:center; padding:calc(4 * var(--ds-unit)) var(--ds-unit); }
.easel-hero > :last-child { justify-self:center; }
.easel-section { display:grid; gap:calc(2 * var(--ds-unit)); padding:calc(2 * var(--ds-unit)) var(--ds-unit); }
.easel-promo { position:sticky; bottom:0; display:flex; align-items:flex-end; gap:calc(2 * var(--ds-unit)); padding:var(--ds-unit); background:var(--brand-band); color:var(--brand-band-ink); }
.easel-promo .brand-giant { --ds-typeface-medium:var(--ds-typeface-compressed); --ds-typeface-regular:var(--ds-typeface-compressed); }
.easel-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
@media(max-width:900px) {
.trip-search { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.trip-search > :first-child { grid-column:1 / -1; }
.easel-hero { grid-template-columns:1fr 1fr; }
.easel-hero > :nth-child(2) { grid-row:span 2; }
.easel-nav, .easel-secondary { display:none; }
}
@media(max-width:600px) {
.brand-giant { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.brand-big, .brand-lead { --ds-sf:var(--sf, 1); }
.trip-search { grid-template-columns:minmax(0,1fr); }
.trip-account ds-text, .trip-secondary { display:none; }
.trip-recent { grid-template-columns:calc(4 * var(--ds-unit)) minmax(0,1fr); }
.easel-hero { grid-template-columns:1fr; padding-block:calc(2 * var(--ds-unit)); }
.easel-hero > :nth-child(2) { grid-row:auto; }
.easel-stats { grid-template-columns:1fr; }
.easel-promo { gap:var(--ds-unit); }
.easel-promo > .brand-giant { display:none; }
.trip-recent { min-height:calc(6 * var(--ds-unit)); }
}
</style><div class="trip-band">
<ds-page layout="column" measure="56" data-ds-surface>
<div class="brand-stack">
<div class="trip-top"><ds-text literal size="display" strong>Staywise</ds-text>
<div class="brand-row"><ds-button data-size="medium" class="trip-secondary">EUR</ds-button><ds-button data-size="medium" icon label="Language"><ds-icon type="globe" aria-hidden="true"></ds-icon></ds-button><ds-button data-size="medium" icon label="Help"><ds-icon type="help" aria-hidden="true"></ds-icon></ds-button><ds-button data-size="medium" class="trip-secondary">Open a work account</ds-button>
<div class="trip-account"><ds-avatar initial="A" color="var(--brand-highlight)" size="large"></ds-avatar><div class="brand-tight" style="gap:0"><ds-text literal strong>Alex Rivera</ds-text><ds-text literal size="small" class="trip-level">Traveller level 3</ds-text></div></div></div>
</div>
<nav class="trip-places" aria-label="What to book"><ds-button data-size="medium" href="#stays" data-face="outlined" aria-current="page"><ds-icon type="building" aria-hidden="true"></ds-icon><span>Stays</span></ds-button><ds-button data-size="medium" href="#flights"><ds-icon type="plane" aria-hidden="true"></ds-icon><span>Flights</span></ds-button><ds-button data-size="medium" href="#flight-stay"><ds-icon type="bag" aria-hidden="true"></ds-icon><span>Flight + stay</span></ds-button><ds-button data-size="medium" href="#car-hire"><ds-icon type="car" aria-hidden="true"></ds-icon><span>Car hire</span></ds-button><ds-button data-size="medium" href="#things-to-do"><ds-icon type="ticket" aria-hidden="true"></ds-icon><span>Things to do</span></ds-button><ds-button data-size="medium" href="#airport-taxis"><ds-icon type="map" aria-hidden="true"></ds-icon><span>Airport taxis</span></ds-button></nav>
<section class="trip-hero"><ds-text literal size="display" strong class="brand-giant" wrap role="heading" aria-level="1">Get more from every work trip</ds-text><div style="max-width:calc(36 * var(--ds-unit))"><ds-text literal class="brand-lead" wrap>It is easier with Staywise for work. Book, manage and track the team’s travel in one place.</ds-text></div><div><ds-button primary data-size="large" href="#work">Open a free work account</ds-button></div></section>
<form class="trip-search" id="trip-search" role="search" aria-label="Find a stay">
<div class="trip-field"><ds-icon type="building" aria-hidden="true"></ds-icon><div class="trip-field-words"><ds-text literal size="small" tone="muted" id="trip-where-label">Destination</ds-text><ds-input id="trip-where" aria-labelledby="trip-where-label" placeholder="Where are you going?"></ds-input></div></div>
<div class="trip-field"><ds-icon type="calendar" aria-hidden="true"></ds-icon><div class="trip-field-words"><ds-text literal size="small" tone="muted">Dates</ds-text><ds-calendar picker id="trip-when" label="Dates" literal placeholder="Check-in — check-out" min="2026-10-21"></ds-calendar></div></div>
<div class="trip-field"><ds-icon type="people" aria-hidden="true"></ds-icon><div class="trip-field-words"><ds-text literal size="small" tone="muted">Guests and rooms</ds-text><ds-select><select id="trip-who" aria-label="Guests and rooms"><option>1 adult · 1 room</option><option selected>2 adults · 0 children · 1 room</option><option>2 adults · 2 children · 1 room</option><option>4 adults · 2 rooms</option></select></ds-select></div></div>
<ds-button primary data-size="large" id="trip-go">Search</ds-button>
</form>
</div>
</ds-page>
</div>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="brand-stack">
<div class="trip-options"><label><ds-checkbox><input type="checkbox" id="trip-work"></ds-checkbox><ds-text literal >I’m travelling for work</ds-text></label><label><ds-checkbox><input type="checkbox"></ds-checkbox><ds-text literal >Add flights to my search</ds-text></label></div>
<ds-text id="trip-status" class="brand-status" literal role="status" wrap></ds-text>
<section class="brand-stack"><ds-text literal size="display" strong class="brand-big" wrap role="heading" aria-level="2">Your recent searches</ds-text>
<div style="max-width:calc(26 * var(--ds-unit))"><ds-card interactive padding="none" id="recent"><div class="trip-recent"><ds-image src="/examples/images/lake.jpg" alt="A plane’s wing over the sea" ratio="3 / 4" ></ds-image><div class="trip-recent-words"><div><ds-text literal size="small" tone="muted">Tokyo</ds-text><span style="width:var(--ds-unit)"></span><ds-text literal size="small" tone="muted">Copenhagen</ds-text></div><div><ds-text literal strong>TYO</ds-text><ds-icon type="right" aria-hidden="true"></ds-icon><ds-text literal strong>CPH</ds-text></div><div><ds-icon type="calendar" aria-hidden="true"></ds-icon><ds-text literal >Thu, 29 Oct</ds-text></div><div><ds-icon type="avatar" aria-hidden="true"></ds-icon><ds-text literal >1 traveller</ds-text></div></div></div></ds-card></div>
</section>
<ds-card variant="outlined"><div class="trip-review"><ds-image src="/examples/images/room.jpg" alt="A bright hotel room with two beds" ratio="1" ></ds-image><div class="brand-tight"><ds-text literal strong wrap>How was the Harbour Hotel in Hakodate?</ds-text><ds-text literal wrap>Don’t forget to leave a review: you have 31 days left.</ds-text><a class="ds-link" href="#review">Rate your stay</a></div></div></ds-card>
<section class="brand-stack" id="trending">
<div class="brand-tight"><ds-text literal size="display" strong class="brand-big" wrap role="heading" aria-level="2">Trending destinations</ds-text><ds-text literal tone="muted">Most popular with travellers from Denmark</ds-text></div>
<ds-bento columns="6"><ds-card href="#lisbon" data-span="3" media="bleed" padding="small"><span slot="label">Portugal</span><span slot="title">Lisbon</span><ds-image src="/examples/images/room.jpg" alt="Lisbon, Portugal" ratio="16 / 9" slot="media"></ds-image></ds-card><ds-card href="#kyoto" data-span="3" media="bleed" padding="small"><span slot="label">Japan</span><span slot="title">Kyoto</span><ds-image src="/examples/images/forest.webp" alt="Kyoto, Japan" ratio="16 / 9" slot="media"></ds-image></ds-card><ds-card href="#oslo" data-span="2" media="bleed" padding="small"><span slot="label">Norway</span><span slot="title">Oslo</span><ds-image src="/examples/images/lake.jpg" alt="Oslo, Norway" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#tokyo" data-span="2" media="bleed" padding="small"><span slot="label">Japan</span><span slot="title">Tokyo</span><ds-image src="/examples/images/cup.jpg" alt="Tokyo, Japan" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#copenhagen" data-span="2" media="bleed" padding="small"><span slot="label">Denmark</span><span slot="title">Copenhagen</span><ds-image src="/examples/images/chair.jpg" alt="Copenhagen, Denmark" ratio="4 / 3" slot="media"></ds-image></ds-card></ds-bento>
</section>
<section class="brand-stack" id="work">
<div class="brand-between"><ds-text literal size="display" strong class="brand-big" wrap role="heading" aria-level="2">Deals for the weekend</ds-text><ds-button data-size="medium" data-face="outlined">See all deals</ds-button></div>
<ds-carousel label="Weekend deals" literal slide-width="auto" no-dots buttons>
<ds-card href="#deal" width="14" padding="small" media="bleed"><span slot="label">Hakodate</span><span slot="title">Harbour Hotel</span><div class="brand-row"><ds-tag>8.9</ds-tag><ds-text literal tone="muted">From €96 a night</ds-text></div><ds-image src="/examples/images/room.jpg" alt="Harbour Hotel in Hakodate" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#deal" width="14" padding="small" media="bleed"><span slot="label">Lisbon</span><span slot="title">Old Town Rooms</span><div class="brand-row"><ds-tag>9.2</ds-tag><ds-text literal tone="muted">From €74 a night</ds-text></div><ds-image src="/examples/images/room.jpg" alt="Old Town Rooms in Lisbon" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#deal" width="14" padding="small" media="bleed"><span slot="label">Oslo</span><span slot="title">Fjord House</span><div class="brand-row"><ds-tag>8.7</ds-tag><ds-text literal tone="muted">From €128 a night</ds-text></div><ds-image src="/examples/images/lake.jpg" alt="Fjord House in Oslo" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#deal" width="14" padding="small" media="bleed"><span slot="label">Copenhagen</span><span slot="title">Canal Loft</span><div class="brand-row"><ds-tag>9.0</ds-tag><ds-text literal tone="muted">From €142 a night</ds-text></div><ds-image src="/examples/images/chair.jpg" alt="Canal Loft in Copenhagen" ratio="4 / 3" slot="media"></ds-image></ds-card>
</ds-carousel>
</section>
</div>
<ds-footer slot="footer" brand="Staywise" tagline="Stays, flights and everything between" literal year="2026" preferences="theme" columns='[{"heading":"Support","links":[{"label":"Your trips","href":"#trips"},{"label":"Help centre","href":"#help"}]},{"heading":"Discover","links":[{"label":"Work travel","href":"#work"},{"label":"Deals","href":"#work"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Voyage library.</ds-text></span></ds-footer>
</ds-page> const status = document.querySelector('#trip-status');
document.querySelector('#trip-search').addEventListener('submit', event => event.preventDefault());
document.querySelector('#trip-go').addEventListener('click', () => {
const where = document.querySelector('#trip-where').value.trim();
const [start, end] = (document.querySelector('#trip-when').value || '').split('/');
if (!where) { status.textContent = 'Enter a destination to start searching.'; document.querySelector('#trip-where').focus(); return; }
const nights = start && end ? Math.round((Date.parse(end) - Date.parse(start)) / 86400000) : 0;
status.textContent = 'Stays in ' + where + (nights ? ' for ' + nights + (nights === 1 ? ' night' : ' nights') : '') + ', ' + document.querySelector('#trip-who').value + (document.querySelector('#trip-work').checked ? ', for work' : '') + '. Nothing is searched in this demo.';
});
document.querySelector('#recent').addEventListener('ds-card-press', () => { document.querySelector('#trip-where').value = 'Copenhagen'; status.textContent = 'Copenhagen is in the search again.'; }); Design tool · Studio
Section titled “Design tool · Studio”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/studio.css">
<style>
.brand-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.brand-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.brand-row { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-width:0; }
.brand-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.brand-grow { flex:1; min-width:0; }
.brand-giant { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:36px; }
.brand-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:24px; }
.brand-lead { --ds-sf:calc(1.5 * var(--sf, 1)); }
.brand-status:empty { display:none; }
[hidden] { display:none!important; }
/* The band: the brand's colour behind the header, the places and the opening, ending two squares
under the search so the search stands across its edge. */
.trip-band { color:var(--brand-band-ink); background:linear-gradient(var(--brand-band) calc(100% - 3 * var(--ds-unit)), transparent 0); --ds-text-color:var(--brand-band-ink); --ds-text-color-muted:color-mix(in srgb, var(--brand-band-ink) 80%, var(--brand-band)); --ds-border-color:color-mix(in srgb, var(--brand-band-ink) 55%, var(--brand-band)); --ds-fill:color-mix(in srgb, var(--brand-band-ink) 12%, var(--brand-band)); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); }
.trip-band .trip-search { --ds-text-color:var(--brand-band-ink); }
.trip-top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.trip-places { display:flex; flex-wrap:wrap; gap:calc(var(--ds-unit) / 2); }
.trip-hero { display:grid; gap:var(--ds-unit); padding-block:calc(3 * var(--ds-unit)) calc(4 * var(--ds-unit)); }
.trip-account { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.trip-level { color:var(--brand-highlight); }
.trip-search { display:grid; grid-template-columns:minmax(0,4fr) minmax(0,3fr) minmax(0,3fr) auto; gap:4px; margin:-4px; padding:4px; background:var(--brand-highlight); border-radius:var(--ds-radius-card); }
.trip-field { box-sizing:border-box; display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-height:calc(56px * var(--sf, 1)); padding:0 calc(var(--ds-unit) / 2) calc(4px * var(--sf, 1)); background:var(--ds-paper); color:var(--ds-text-color); border-radius:calc(var(--ds-radius-card) - 4px); --ds-text-color:light-dark(#1a1a1a, #f2f5fa); --ds-text-color-muted:light-dark(#595959, #a8b3c4); --ds-border-color:light-dark(#e0e4ea, #2f3a49); --ds-fill:light-dark(#f2f4f7, #1f2733); }
.trip-field > ds-icon { flex:none; }
.trip-field-words { display:grid; grid-template-columns:minmax(0,1fr); flex:1; min-width:0; justify-items:start; }
.trip-field-words > ds-text { line-height:calc(16px * var(--sf, 1)); padding-top:calc(4px * var(--sf, 1)); }
.trip-field ds-input { width:100%; --ds-input-placeholder-color:#595959; }
.trip-search > ds-button { align-self:stretch; }
.trip-search > ds-button { --ds-control-size:56px; }
.trip-options { display:flex; flex-wrap:wrap; gap:var(--ds-unit); padding-block:var(--ds-unit); }
.trip-options label { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); }
.trip-recent { display:grid; grid-template-columns:calc(6 * var(--ds-unit)) minmax(0,1fr); min-height:calc(8 * var(--ds-unit)); }
.trip-recent ds-image { align-self:stretch; }
.trip-recent-words { display:grid; align-content:center; gap:0; padding:0 var(--ds-unit); }
.trip-recent-words > div { display:flex; align-items:flex-end; gap:calc(var(--ds-unit) / 2); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.trip-review { display:grid; grid-template-columns:calc(5 * var(--ds-unit)) minmax(0,1fr); gap:var(--ds-unit); align-items:start; }
.trip-review a { color:var(--ds-accent-color); }
/* The design tool's page. */
.easel-bar { display:flex; align-items:flex-end; gap:var(--ds-unit); padding:var(--ds-unit); border-bottom:1px solid var(--ds-border-color); }
.easel-mark { display:inline-grid; grid-template-columns:repeat(2, calc(8px * var(--sf, 1))); gap:calc(2px * var(--sf, 1)); padding-bottom:calc(2px * var(--sf, 1)); }
.easel-mark span { width:calc(8px * var(--sf, 1)); height:calc(8px * var(--sf, 1)); border-radius:50%; }
.easel-nav { display:flex; align-items:flex-end; gap:calc(4px * var(--sf, 1)); }
.easel-hero { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,3fr); gap:calc(2 * var(--ds-unit)); align-items:center; padding:calc(4 * var(--ds-unit)) var(--ds-unit); }
.easel-hero > :last-child { justify-self:center; }
.easel-section { display:grid; gap:calc(2 * var(--ds-unit)); padding:calc(2 * var(--ds-unit)) var(--ds-unit); }
.easel-promo { position:sticky; bottom:0; display:flex; align-items:flex-end; gap:calc(2 * var(--ds-unit)); padding:var(--ds-unit); background:var(--brand-band); color:var(--brand-band-ink); }
.easel-promo .brand-giant { --ds-typeface-medium:var(--ds-typeface-compressed); --ds-typeface-regular:var(--ds-typeface-compressed); }
.easel-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
@media(max-width:900px) {
.trip-search { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.trip-search > :first-child { grid-column:1 / -1; }
.easel-hero { grid-template-columns:1fr 1fr; }
.easel-hero > :nth-child(2) { grid-row:span 2; }
.easel-nav, .easel-secondary { display:none; }
}
@media(max-width:600px) {
.brand-giant { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; }
.brand-big, .brand-lead { --ds-sf:var(--sf, 1); }
.trip-search { grid-template-columns:minmax(0,1fr); }
.trip-account ds-text, .trip-secondary { display:none; }
.trip-recent { grid-template-columns:calc(4 * var(--ds-unit)) minmax(0,1fr); }
.easel-hero { grid-template-columns:1fr; padding-block:calc(2 * var(--ds-unit)); }
.easel-hero > :nth-child(2) { grid-row:auto; }
.easel-stats { grid-template-columns:1fr; }
.easel-promo { gap:var(--ds-unit); }
.easel-promo > .brand-giant { display:none; }
.trip-recent { min-height:calc(6 * var(--ds-unit)); }
}
</style><header class="easel-bar">
<span class="easel-mark" aria-label="Easel" role="img"><span style="background:var(--one-tuned-red)"></span><span style="background:var(--one-orange)"></span><span style="background:var(--one-sharp-blue)"></span><span style="background:var(--one-apple-green)"></span></span>
<nav class="easel-nav" aria-label="Easel"><ds-button id="menu-products" data-size="medium">Products<ds-icon type="chevron-down" aria-hidden="true"></ds-icon></ds-button><ds-select for="menu-products" aria-label="Products"><ds-button menu-item role="menuitem">Design</ds-button><ds-button menu-item role="menuitem">Prototype</ds-button><ds-button menu-item role="menuitem">Slides</ds-button><ds-button menu-item role="menuitem">Sites</ds-button><ds-button menu-item role="menuitem">Whiteboard</ds-button></ds-select><ds-button id="menu-solutions" data-size="medium">Solutions<ds-icon type="chevron-down" aria-hidden="true"></ds-icon></ds-button><ds-select for="menu-solutions" aria-label="Solutions"><ds-button menu-item role="menuitem">For teams</ds-button><ds-button menu-item role="menuitem">For schools</ds-button><ds-button menu-item role="menuitem">For agencies</ds-button></ds-select><ds-button id="menu-community" data-size="medium">Community<ds-icon type="chevron-down" aria-hidden="true"></ds-icon></ds-button><ds-select for="menu-community" aria-label="Community"><ds-button menu-item role="menuitem">Files</ds-button><ds-button menu-item role="menuitem">Plugins</ds-button><ds-button menu-item role="menuitem">Events</ds-button></ds-select><ds-button id="menu-resources" data-size="medium">Resources<ds-icon type="chevron-down" aria-hidden="true"></ds-icon></ds-button><ds-select for="menu-resources" aria-label="Resources"><ds-button menu-item role="menuitem">Help</ds-button><ds-button menu-item role="menuitem">Courses</ds-button><ds-button menu-item role="menuitem">Blog</ds-button></ds-select><ds-button data-size="medium" href="#pricing">Pricing</ds-button></nav>
<span class="brand-grow"></span>
<ds-button data-size="medium" href="#sign-in" class="easel-secondary">Sign in</ds-button><ds-button data-size="medium" data-face="outlined" href="#sales" class="easel-secondary">Talk to sales</ds-button><ds-button data-size="medium" primary href="#start">Start for free</ds-button>
</header>
<main>
<section class="easel-hero">
<ds-text literal size="display" class="brand-giant" wrap role="heading" aria-level="1">The whole studio on one canvas</ds-text>
<ds-image src="/examples/images/headphones.jpg" alt="A collage of app screens, posters and swatches laid over one another on a canvas" ratio="1" loading="eager"></ds-image>
<ds-button primary data-size="large" href="#start">Get started</ds-button>
</section>
<section class="easel-section" id="products">
<div class="brand-between"><ds-text literal size="display" strong class="brand-big" wrap role="heading" aria-level="2">From the first sketch to the shipped thing.</ds-text><ds-button data-size="medium" data-face="outlined" href="#products">See all products</ds-button></div>
<ds-bento>
<ds-card tone="tuned-red" data-span="2" media="bleed"><span slot="label">Design</span><span slot="title">Every screen, every state, side by side.</span><ds-image src="/examples/images/room.jpg" alt="App screens laid out on a canvas" ratio="16 / 9" slot="media"></ds-image></ds-card>
<ds-card tone="sharp-blue"><span slot="label">Prototype</span><span slot="title">Press play on a design.</span><ds-text literal wrap>Link the screens, then try it on your phone before anything is built.</ds-text></ds-card>
<ds-card tone="orange"><span slot="label">Slides</span><span slot="title">Decks in the same file.</span><ds-text literal wrap>Present the work where it lives.</ds-text></ds-card>
<ds-card tone="ink" data-span="2" media="bleed"><span slot="label">Sites</span><span slot="title">Publish the design as it is.</span><ds-image src="/examples/images/cup.jpg" alt="A website page designed on the canvas" ratio="16 / 9" slot="media"></ds-image></ds-card>
</ds-bento>
</section>
<section class="easel-section">
<ds-text literal size="display" strong class="brand-big" wrap role="heading" aria-level="2">Made by the community</ds-text>
<ds-carousel label="Community files" literal slide-width="auto" no-dots buttons>
<ds-card href="#file" width="16" padding="small" media="bleed"><span slot="label">Ines Holm</span><span slot="title">Poster kit</span><ds-image src="/examples/images/cup.jpg" alt="Poster kit" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#file" width="16" padding="small" media="bleed"><span slot="label">Kofi Mensah</span><span slot="title">Mobile app screens</span><ds-image src="/examples/images/room.jpg" alt="Mobile app screens" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#file" width="16" padding="small" media="bleed"><span slot="label">Lea Park</span><span slot="title">Type specimens</span><ds-image src="/examples/images/chair.jpg" alt="Type specimens" ratio="4 / 3" slot="media"></ds-image></ds-card><ds-card href="#file" width="16" padding="small" media="bleed"><span slot="label">Ana Ruiz</span><span slot="title">Brand toolkit</span><ds-image src="/examples/images/forest.webp" alt="Brand toolkit" ratio="4 / 3" slot="media"></ds-image></ds-card>
</ds-carousel>
</section>
<section class="easel-section" id="pricing">
<div class="easel-stats"><ds-stat figure="13 million" label="People designing each month" literal></ds-stat><ds-stat figure="4 in 5" label="Teams that ship from the same file" literal></ds-stat><ds-stat value="0" format="money" currency="EUR" whole label="To start" caption="Three files, forever" literal></ds-stat></div>
<div class="brand-row"><ds-button data-size="large" primary href="#start">Get started</ds-button><ds-button data-size="large" data-face="outlined" href="#sales">Talk to sales</ds-button></div>
<div class="brand-row"><ds-text literal tone="muted">One control, two squares and three:</ds-text><ds-button primary href="#start">Small</ds-button><ds-button primary data-size="medium" href="#start">Medium</ds-button><ds-button primary data-size="large" href="#start">Large</ds-button></div>
</section>
<ds-footer brand="Easel" tagline="Make it, together" literal year="2026" preferences="theme" columns='[{"heading":"Product","links":[{"label":"Design","href":"#products"},{"label":"Prototype","href":"#products"},{"label":"Pricing","href":"#pricing"}]},{"heading":"Company","links":[{"label":"Careers","href":"#careers"},{"label":"Press","href":"#press"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Studio library.</ds-text></span></ds-footer>
</main>
<aside class="easel-promo" id="promo" aria-label="Easel days">
<ds-text literal size="display" strong class="brand-giant">Easel days</ds-text>
<span class="brand-grow"><ds-text literal wrap>See everything we launched at Easel days.</ds-text></span>
<ds-button primary data-size="medium" href="#news">Read more</ds-button>
<ds-button icon id="promo-close" label="Close"><ds-icon type="close" aria-hidden="true"></ds-icon></ds-button>
</aside> document.querySelector('#promo-close').addEventListener('click', () => { document.querySelector('#promo').hidden = true; }); Design studio · Atelier
Section titled “Design studio · Atelier”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="https://designsystem1.com/ds1/pzjtr1r25rp4b8xv6991/v/1.css">
<style>
.studio { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(4 * var(--ds-unit)); min-width:0; padding-block:calc(2 * var(--ds-unit)); }
.studio-section { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); min-width:0; }
.studio-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.studio-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:0; min-width:0; align-content:start; }
.studio-centre { justify-items:center; text-align:center; }
.studio-centre ds-text { text-align:center; }
.studio-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.studio-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.studio-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.studio-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.studio-giant { --ds-sf:calc(2 * var(--sf, 1)); --ds-display-text-size:28px; }
.studio-big { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:26px; }
.studio-lead { --ds-sf:calc(1.25 * var(--sf, 1)); }
.studio-copy { max-width:calc(30 * var(--ds-unit)); }
.studio-mono { --ds-typeface-regular:var(--ds-typeface-mono); --ds-typeface-medium:var(--ds-typeface-mono); }
.studio-row { display:flex; align-items:flex-end; gap:calc(4px * var(--ds-sf)); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.studio-person { display:grid; grid-template-columns:calc(2 * var(--ds-unit)) minmax(0,1fr); gap:0 calc(var(--ds-unit) / 2); align-items:end; }
.studio-person > ds-avatar { grid-row:span 2; }
.studio-quote { display:grid; gap:var(--ds-unit); margin:0; align-content:start; }
.studio-quote blockquote { margin:0; }
.studio-tags { display:flex; flex-wrap:wrap; gap:calc(var(--ds-unit) / 2); }
.studio-wordmark { --ds-sf:calc(4 * var(--sf, 1)); --ds-display-text-size:36px; }
.studio-status:empty { display:none; }
.studio [hidden] { display:none!important; }
.studio ds-card ds-image[slot="media"] { display:block; width:100%; }
.studio form { display:grid; gap:var(--ds-unit); min-width:0; }
.studio form ds-input { width:100%; }
.studio-link { display:block; box-sizing:border-box; min-height:var(--ds-unit); padding-top:calc(4px * var(--sf, 1)); line-height:calc(16px * var(--sf, 1)); color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:calc(3px * var(--sf, 1)); }
/* The band: the brand turned over, black with white words (white with black words in the dark
theme), the section's words and controls reading the band's colours. */
.studio-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) 72%, var(--brand-band)); --ds-title-color:color-mix(in srgb, var(--brand-band-ink) 72%, 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) 10%, var(--brand-band)); --ds-fill-hover:color-mix(in srgb, var(--brand-band-ink) 16%, var(--brand-band)); --ds-accent-color:var(--brand-band-ink); --ds-button-text-color:var(--brand-band-ink); --button-text-color:var(--brand-band-ink); --ds-button-text-color-on-accent:var(--brand-band); --ds-input-background:color-mix(in srgb, var(--brand-band-ink) 8%, var(--brand-band)); --ds-input-color:var(--brand-band-ink); --ds-input-placeholder-color:color-mix(in srgb, var(--brand-band-ink) 60%, var(--brand-band)); }
.studio-band ds-button[data-face="outlined"]::part(control) { color:var(--brand-band-ink); box-shadow:inset 0 0 0 1px var(--ds-border-color); }
@media(max-width:900px) { .studio-three { grid-template-columns:1fr; gap:calc(2 * var(--ds-unit)); } .studio-wordmark { --ds-sf:calc(2.5 * var(--sf, 1)); } }
@media(max-width:600px) {
.studio { gap:calc(3 * var(--ds-unit)); }
.studio-giant { --ds-sf:calc(1.5 * var(--sf, 1)); }
.studio-big { --ds-sf:var(--sf, 1); --ds-display-text-size:28px; }
.studio-lead { --ds-sf:var(--sf, 1); }
.studio-wordmark { --ds-sf:calc(1.5 * var(--sf, 1)); }
.studio-two { grid-template-columns:1fr; gap:var(--ds-unit); }
.studio-band { padding:var(--ds-unit); }
/* On a phone a reason is the column's width, twelve squares, so the strip shows one at a time. */
.studio ds-carousel ds-card { --ds-card-width:calc(12 * var(--ds-unit)) !important; }
}
</style><ds-header brand="Mørk & Lund" href="#top" literal><a href="#cases">Cases</a><a href="#services">Services</a><a href="#about">About</a><ds-button slot="actions" primary href="#contact"><span>Contact us</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="studio" id="top">
<section class="studio-section">
<div class="studio-stack"><div class="studio-copy studio-tight"><ds-text literal size="display" strong class="studio-giant" wrap role="heading" aria-level="1">A design studio with a love of detail.</ds-text></div><div class="studio-copy"><ds-text literal class="studio-lead" wrap>We make websites, visual identities and graphic design for brands that care about quality.</ds-text></div>
<div class="studio-actions"><ds-button primary data-size="large" href="#cases"><span>See our cases</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div></div>
<ds-image src="/examples/images/atelier-hero.jpg" alt="Hands turning the pages of a printed proof beside a tablet" ratio="16 / 9" loading="eager"></ds-image>
</section>
<section id="cases" class="studio-section">
<ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Selected projects</ds-text>
<div class="studio-two">
<ds-card href="#fjord-health" media="bleed"><span slot="label">Fjord Health</span><span slot="title">A website for several markets</span><div class="studio-tags"><ds-tag>Website</ds-tag><ds-tag>Development</ds-tag></div><ds-image src="/examples/images/atelier-case-health.jpg" alt="The Fjord Health website open on a laptop" ratio="4 / 3" slot="media"></ds-image></ds-card>
<ds-card href="#holm-partners" media="bleed"><span slot="label">Holm Partners</span><span slot="title">A new website and visual identity</span><div class="studio-tags"><ds-tag>Website</ds-tag><ds-tag>Identity</ds-tag></div><ds-image src="/examples/images/atelier-case-partners.jpg" alt="A phone showing the Holm Partners website" ratio="4 / 3" slot="media"></ds-image></ds-card>
</div>
</section>
<section class="studio-section studio-centre">
<div class="studio-tight studio-centre"><ds-text literal class="studio-mono" tone="muted">The craft behind Mørk & Lund</ds-text></div>
<div class="studio-tight studio-centre"><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Design is not about being loud.</ds-text><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">It is about refining.</ds-text><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Cutting to the essence.</ds-text><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">And leaving only what is right.</ds-text></div>
</section>
<section id="services" class="studio-section studio-band">
<div class="studio-between"><ds-text literal class="studio-mono" tone="muted">What we can help with</ds-text><ds-text literal class="studio-mono" tone="muted">Services 01 / 03</ds-text></div>
<div class="studio-three">
<div class="studio-stack"><div class="studio-between"><ds-icon type="window" aria-hidden="true"></ds-icon><ds-text literal class="studio-mono" tone="muted">01</ds-text></div><div class="studio-tight"><ds-text literal size="display" strong wrap role="heading" aria-level="3">Web design and development</ds-text><ds-text literal wrap>We design and build websites with a focus on calm, clarity and good digital craft.</ds-text></div><ds-text literal wrap>From the first sketches to the finished site we work closely with you on something that feels considered and lasts. We build on the platform that makes sense for you, and say which.</ds-text><div class="studio-actions"><ds-button data-size="medium" data-face="outlined" href="#contact"><span>Read more</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div></div>
<div class="studio-stack"><div class="studio-between"><ds-icon type="pen" aria-hidden="true"></ds-icon><ds-text literal class="studio-mono" tone="muted">02</ds-text></div><div class="studio-tight"><ds-text literal size="display" strong wrap role="heading" aria-level="3">Graphic design</ds-text><ds-text literal wrap>Graphic work that makes your visual expression clear and complete.</ds-text></div><ds-text literal wrap>Presentations, print and digital assets that hang together and work in practice. A single job, or a design partner on call.</ds-text><div class="studio-actions"><ds-button data-size="medium" data-face="outlined" href="#contact"><span>Contact us</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div></div>
<div class="studio-stack"><div class="studio-between"><ds-icon type="sparkle" aria-hidden="true"></ds-icon><ds-text literal class="studio-mono" tone="muted">03</ds-text></div><div class="studio-tight"><ds-text literal size="display" strong wrap role="heading" aria-level="3">Brand and visual identity</ds-text><ds-text literal wrap>A direction that feels right, turned into an identity that works on every surface.</ds-text></div><ds-text literal wrap>From the first thoughts to a finished, thorough expression, made with care and an eye for the small details.</ds-text><div class="studio-actions"><ds-button data-size="medium" data-face="outlined" href="#contact"><span>Contact us</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div></div>
</div>
</section>
<section id="about" class="studio-section studio-two">
<div class="studio-stack">
<div class="studio-tight"><ds-text literal class="studio-mono" size="display" tone="muted">01</ds-text><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">About Mørk & Lund</ds-text><ds-text literal class="studio-mono" tone="muted">A design studio in Copenhagen</ds-text></div>
<ds-text literal class="studio-lead" wrap>Mørk & Lund is a digital design studio built on a love of digital design.</ds-text>
<ds-text literal wrap>We work with websites, visual identities and graphic design, with a focus on good craft, a calm process and the small details that make a difference.</ds-text>
<div class="studio-actions"><ds-button primary data-size="large" href="#contact"><span>Contact us</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
</div>
<ds-image src="/examples/images/atelier-studio.jpg" alt="A desk by the studio window, with a plant and a laptop" ratio="4 / 5" ></ds-image>
</section>
<section class="studio-section studio-two">
<ds-image src="/examples/images/atelier-ida.jpg" alt="A portrait of Ida Mørk" ratio="4 / 5" ></ds-image>
<div class="studio-stack">
<div class="studio-tight"><ds-text literal class="studio-mono" size="display" tone="muted">02</ds-text><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Meet Ida Mørk</ds-text><ds-text literal class="studio-mono" tone="muted">The people behind the studio</ds-text></div>
<div class="studio-tight"><ds-text literal strong>Ida Mørk</ds-text><ds-text literal tone="muted">Digital designer and co-founder</ds-text></div>
<ds-text literal wrap>Ida has more than five years of agency experience as a digital designer, specialising in visual identities and websites. She works strategically and as a whole, from the first idea to the finished implementation.</ds-text><ds-text literal wrap>With a sharp eye and years of working closely with clients, she turns complex needs into clear, thorough design: digital worlds that are both visually precise and thought through in use.</ds-text>
<div class="studio-actions"><ds-button data-size="medium" data-face="outlined" href="#linkedin"><span>LinkedIn</span><ds-icon type="up-right" aria-hidden="true"></ds-icon></ds-button></div>
</div>
</section>
<section class="studio-section studio-two">
<ds-image src="/examples/images/atelier-anders.jpg" alt="A portrait of Anders Lund" ratio="4 / 5" ></ds-image>
<div class="studio-stack">
<div class="studio-tight"><ds-text literal class="studio-mono" size="display" tone="muted">03</ds-text><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Meet Anders Lund</ds-text><ds-text literal class="studio-mono" tone="muted">The people behind the studio</ds-text></div>
<div class="studio-tight"><ds-text literal strong>Anders Lund</ds-text><ds-text literal tone="muted">Digital designer and co-founder</ds-text></div>
<ds-text literal wrap>Anders has spent many years in digital design, most recently leading marketing design at a software company, where he shaped its visual identity across platforms, website and marketing.</ds-text><ds-text literal wrap>He combines design and web development with a sharp eye for structure, detail and the experience of using the thing, and turns design into scalable, finished websites of high quality.</ds-text>
<div class="studio-actions"><ds-button data-size="medium" data-face="outlined" href="#linkedin"><span>LinkedIn</span><ds-icon type="up-right" aria-hidden="true"></ds-icon></ds-button></div>
</div>
</section>
<section class="studio-section studio-two">
<figure class="studio-quote"><ds-image src="/examples/images/atelier-quote-health.jpg" alt="Wireframes drawn on a tablet" ratio="4 / 5" ></ds-image><blockquote><ds-text literal wrap>“It has been a good and professional collaboration from day one. Mørk & Lund were structured, proactive and open, with an eye for our brand, our audience and ease of use. Having design and development in one place made it easy for us to run the site ourselves afterwards.”</ds-text></blockquote><div class="studio-person"><ds-avatar src="/examples/images/atelier-sofie.jpg" label="Sofie Wang" size="large"></ds-avatar><ds-text literal strong>Sofie Wang</ds-text><ds-text literal size="small" tone="muted">Head of brand, Fjord Health</ds-text></div></figure>
<figure class="studio-quote"><ds-image src="/examples/images/atelier-quote-partners.jpg" alt="A hand sketching screens on paper" ratio="4 / 5" ></ds-image><blockquote><ds-text literal wrap>“I gave them creative freedom and had little idea which direction they would take. The result was thorough and very detailed, the process easy and the prices fair. They have my warmest recommendation.”</ds-text></blockquote><div class="studio-person"><ds-avatar src="/examples/images/atelier-mikkel.jpg" label="Mikkel Holm" size="large"></ds-avatar><ds-text literal strong>Mikkel Holm</ds-text><ds-text literal size="small" tone="muted">CEO, Holm Partners</ds-text></div></figure>
</section>
<section class="studio-section">
<div class="studio-between"><div class="studio-copy"><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Why companies choose Mørk & Lund</ds-text></div><ds-text literal size="small" tone="muted">Swipe or use the arrows</ds-text></div>
<ds-carousel label="Why companies choose us" literal slide-width="auto" no-dots buttons bleed="end">
<ds-card width="14" height="12"><span slot="label" class="studio-mono">01</span><span slot="title">Direct contact</span><ds-text literal wrap>The people you talk to are the people who design and build your site. No go-betweens, and nothing lost on the way.</ds-text></ds-card>
<ds-card width="14" height="12"><span slot="label" class="studio-mono">02</span><span slot="title">Design and development in one place</span><ds-text literal wrap>We take the whole process from the first sketch to the finished code, so the site looks exactly as designed.</ds-text></ds-card>
<ds-card width="14" height="12"><span slot="label" class="studio-mono">03</span><span slot="title">Experience from both sides</span><ds-text literal wrap>We have worked in agencies and in-house, so we know what the designer and the client each need from a collaboration.</ds-text></ds-card>
<ds-card width="14" height="12"><span slot="label" class="studio-mono">04</span><span slot="title">Service after the launch</span><ds-text literal wrap>We are there after the launch too. Questions, corrections or new ideas for the site: we help you on.</ds-text></ds-card>
</ds-carousel>
</section>
<section id="contact" class="studio-section studio-band studio-two">
<div class="studio-stack">
<div class="studio-tight"><ds-text literal size="display" strong class="studio-big" wrap role="heading" aria-level="2">Ready to talk?</ds-text></div>
<ds-text literal wrap>Tell us a little about your project, your needs and your ambitions. Then we take a no-strings talk about how we can best help.</ds-text>
<form id="studio-form" novalidate>
<div class="studio-two" style="gap:var(--ds-unit)"><ds-input name="name" label="Name" autocomplete="name"></ds-input><ds-input name="company" label="Company (optional)" autocomplete="organization"></ds-input></div>
<div class="studio-two" style="gap:var(--ds-unit)"><ds-input name="email" type="email" label="Email" autocomplete="email"></ds-input><ds-input name="phone" type="tel" label="Phone (optional)" autocomplete="tel"></ds-input></div>
<ds-input name="message" multiline rows="4" label="How can we help?"></ds-input>
<div class="studio-actions"><ds-button primary data-size="large" type="submit" id="studio-send"><span>Send</span><ds-icon type="right" aria-hidden="true"></ds-icon></ds-button><ds-text literal size="small" tone="muted">We reply within a working day.</ds-text></div>
<ds-text id="studio-status" class="studio-status" literal role="status" wrap></ds-text>
</form>
</div>
<div class="studio-stack">
<ds-image src="/examples/images/atelier-wall.jpg" alt="Printed screens pinned to the studio wall" ratio="4 / 3" ></ds-image>
<div class="studio-two" style="gap:var(--ds-unit)">
<div class="studio-tight"><div class="studio-person"><ds-avatar src="/examples/images/atelier-anders.jpg" label="Anders Lund" size="large"></ds-avatar><ds-text literal strong>Anders Lund</ds-text><ds-text literal size="small" tone="muted">Digital designer and co-founder</ds-text></div><a class="studio-link" href="tel:+4531123456">+45 31 12 34 56</a><a class="studio-link" href="mailto:anders@morklund.example">anders@morklund.example</a></div>
<div class="studio-tight"><div class="studio-person"><ds-avatar src="/examples/images/atelier-ida.jpg" label="Ida Mørk" size="large"></ds-avatar><ds-text literal strong>Ida Mørk</ds-text><ds-text literal size="small" tone="muted">Digital designer and co-founder</ds-text></div><a class="studio-link" href="tel:+4531123457">+45 31 12 34 57</a><a class="studio-link" href="mailto:ida@morklund.example">ida@morklund.example</a></div>
</div>
</div>
</section>
<section class="studio-section studio-centre"><div class="studio-tight studio-centre"><ds-text literal size="display" strong class="studio-wordmark" wrap aria-hidden="true">Mørk & Lund</ds-text></div></section>
</div>
<ds-footer slot="footer" brand="Mørk & Lund" tagline="A design studio in Copenhagen" literal year="2026" preferences="theme" columns='[{"heading":"Studio","links":[{"label":"Cases","href":"#cases"},{"label":"Services","href":"#services"},{"label":"About","href":"#about"}]},{"heading":"Contact","links":[{"label":"hello@morklund.example","href":"mailto:hello@morklund.example"},{"label":"+45 31 12 34 56","href":"tel:+4531123456"},{"label":"Copenhagen"}]}]' policies='[{"label":"Privacy","href":"#privacy"}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Atelier library.</ds-text></span></ds-footer>
</ds-page> const form = document.querySelector('#studio-form');
const status = document.querySelector('#studio-status');
form.addEventListener('submit', event => {
event.preventDefault();
const name = (new FormData(form).get('name') || '').toString().trim();
status.textContent = (name ? 'Thank you, ' + name + '. ' : 'Thank you. ') + 'We have your message and reply within a working day. Nothing is sent in this demo.';
}); Packages and prices · Tally
Section titled “Packages and prices · Tally”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="https://designsystem1.com/ds1/bbw9m8gdy3815th5cgvx/v/2.css">
<style>
/* The page stands centred, so the grid starts where the page does. Sixty-one squares less a square
each side leave fifty-nine: three cards of nineteen, or two columns of twenty-nine, one square
apart. 50% centres one tile, so a line falls half a square left of the middle, as the odd width
needs. Below sixty-one squares the page fills and the grid keeps the left edge. */
:root { --ds-grid-origin-x:max(0px, calc(50% - 30 * var(--ds-unit))); }
.pricing-wrap { box-sizing:border-box; width:100%; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; padding-inline:var(--ds-unit); min-width:0; }
.pricing-header, .pricing-footer { display:block; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; }
.pricing-hero { padding-block:calc(3.5 * var(--ds-unit)) calc(5 * var(--ds-unit)); }
.pricing-hero .pricing-title { max-width:calc(30 * var(--ds-unit)); }
.pricing-hero [lang='ja'] .pricing-title, [lang='ja'] .pricing-hero .pricing-title { max-width:none; }
.pricing-hero .pricing-lead { max-width:calc(20 * var(--ds-unit)); margin-block-start:var(--ds-unit); }
.pricing-plans { padding-block-end:calc(5 * var(--ds-unit)); }
.pricing-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.pricing-cards > ds-card { min-width:0; }
.pricing-plan { display:flex; flex-direction:column; flex:1; min-height:100%; min-width:0; }
.pricing-plan > * + * { margin-block-start:calc(0.5 * var(--ds-unit)); }
.pricing-facts { display:flex; flex-wrap:wrap; gap:0 calc(0.5 * var(--ds-unit)); }
.pricing-plan > ul[data-list="dots"] { margin-block-start:var(--ds-unit); padding-block-start:calc(0.5 * var(--ds-unit)); border-block-start:1px solid var(--ds-border-color); }
.pricing-addon { padding-block-start:var(--ds-unit); margin-block-start:var(--ds-unit); border-block-start:1px solid var(--ds-border-color); }
.pricing-addon > * + * { margin-block-start:calc(0.5 * var(--ds-unit)); }
.pricing-addon-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:0 calc(0.5 * var(--ds-unit)); }
.pricing-foot { display:grid; gap:var(--ds-unit); margin-block-start:auto; padding-block-start:var(--ds-unit); }
.pricing-foot ds-button { --ds-button-inline-size:100%; --ds-button-align:center; }
.pricing-foot a, .pricing-note a { color:inherit; font-weight:600; text-underline-offset:calc(3px * var(--ds-sf, 1)); }
.pricing-section { padding-block:calc(7 * var(--ds-unit)); }
.pricing-section > .pricing-wrap { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(1.5 * var(--ds-unit)); }
.pricing-section[data-band] > .pricing-wrap { gap:var(--ds-unit); }
.pricing-needs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 var(--ds-unit); margin:0; border-block-start:1px solid var(--ds-text-color); }
.pricing-needs > div { padding-block:var(--ds-unit) calc(17px * var(--ds-sf, 1)); border-block-end:1px solid var(--ds-border-color); }
.pricing-needs dt, .pricing-needs dd { margin:0; }
.pricing-subs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit); }
.pricing-sub { display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; min-width:0; }
.pricing-sub > ul { margin-block-start:calc(0.5 * var(--ds-unit)); }
.pricing-terms { padding-block:calc(3.5 * var(--ds-unit)); border-block-end:1px solid var(--ds-fill); }
.pricing-terms > .pricing-wrap { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.pricing-terms p { margin:0; }
.pricing-questions { border-block-start:1px solid var(--ds-text-color); }
.pricing-closing { padding-block:calc(5 * var(--ds-unit)); }
.pricing-closing > .pricing-wrap { display:grid; justify-items:start; gap:var(--ds-unit); }
.pricing-closing .pricing-title { max-width:calc(30 * var(--ds-unit)); }
.pricing-closing ds-button { --ds-button-inline-size:calc(17 * var(--ds-unit)); --ds-button-align:center; max-width:100%; }
@media(max-width:899px) {
.pricing-cards, .pricing-subs { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
.pricing-section { padding-block:calc(4 * var(--ds-unit)); }
.pricing-hero { padding-block:var(--ds-unit) calc(2 * var(--ds-unit)); }
.pricing-plans { padding-block-end:calc(4 * var(--ds-unit)); }
.pricing-needs, .pricing-terms > .pricing-wrap { grid-template-columns:minmax(0,1fr); }
.pricing-closing ds-button { --ds-button-inline-size:100%; }
.pricing-closing { padding-block:calc(4 * var(--ds-unit)); }
}
</style><div data-band="night" id="top">
<ds-header class="pricing-header" data-links="end" label="Main"><a slot="brand" data-wordmark href="#top">plain<b>shop</b></a><a href="#packages">Packages</a><a href="#send">What you send</a><a href="#after">After launch</a><a href="#questions">Questions</a><ds-button slot="actions" href="#book"><span>Book 15 min.</span></ds-button></ds-header>
<section class="pricing-hero"><div class="pricing-wrap">
<ds-text literal data-type="hero" wrap role="heading" aria-level="1" class="pricing-title">Packages and prices.</ds-text>
<ds-text literal data-type="body" wrap tone="muted" class="pricing-lead">One fixed price for the whole shop. No hourly rates, no surprises. All prices exclude VAT.</ds-text>
</div></section>
<section class="pricing-plans" id="packages"><div class="pricing-wrap"><div class="pricing-cards">
<ds-card data-plan="night"><div class="pricing-plan">
<ds-text literal data-type="name" wrap role="heading" aria-level="2" >Start</ds-text>
<ds-text literal data-type="price" wrap >€2,900</ds-text>
<ds-text literal data-type="body" wrap >For a single product or a small range, up to five.</ds-text>
<div class="pricing-facts"><ds-text literal data-type="small" wrap strong>7 working days</ds-text><ds-text literal data-type="small" wrap tone="muted">1 round of changes</ds-text></div>
<ul data-list="dots"><li>Theme in your brand</li><li>Home page and one strong product page</li><li>Card and mobile payments</li><li>Shipping</li><li>Legal pages</li><li>Checked on phones</li><li>30-minute handover</li></ul>
<div class="pricing-foot"><p class="pricing-note" style="margin:0"><ds-text literal data-type="small" wrap tone="muted">See the demo: <a href="#fern">Fern</a></ds-text></p><ds-button primary data-size="large" href="#book"><span>Book 15 minutes</span></ds-button></div>
</div></ds-card>
<ds-card data-plan="paper"><div class="pricing-plan">
<ds-text literal data-type="name" wrap role="heading" aria-level="2" >Grow</ds-text>
<ds-text literal data-type="price" wrap >€5,900</ds-text>
<ds-text literal data-type="body" wrap >For up to 50 products, or for selling subscriptions.</ds-text>
<div class="pricing-facts"><ds-text literal data-type="small" wrap strong>12 working days</ds-text><ds-text literal data-type="small" wrap tone="muted">2 rounds of changes</ds-text></div>
<ul data-list="dots"><li data-strong>Everything in Start</li><li>Collections</li><li>Filters</li><li>Free-shipping bar</li><li>Upsells</li><li>One build-your-own feature</li><li>Subscriptions, so customers buy again</li><li>Discount codes</li><li>Newsletter</li></ul>
<div class="pricing-foot"><p class="pricing-note" style="margin:0"><ds-text literal data-type="small" wrap tone="muted">See the demos: <a href="#harbour">Harbour</a> and <a href="#mill">Mill</a></ds-text></p><ds-button primary data-size="large" href="#book"><span>Book 15 minutes</span></ds-button></div>
</div></ds-card>
<ds-card data-plan="accent"><div class="pricing-plan">
<ds-text literal data-type="name" wrap role="heading" aria-level="2" >Add-ons</ds-text>
<ds-text literal data-type="body" wrap >Add to either package.</ds-text>
<div class="pricing-addon">
<div class="pricing-addon-head"><ds-text literal data-type="name" wrap role="heading" aria-level="3" data-heavy>Ads ready</ds-text><ds-text literal data-type="name" wrap >+€2,900</ds-text></div>
<ds-text literal data-type="body" wrap >For running ads from day one.</ds-text>
<ul data-list="dots"><li>Ad pixels and server events</li><li>Analytics set up</li><li>Tested events, so you can see what the ads sell</li><li>Product copy written for ads, up to five products</li><li>Three ad texts and one video script</li><li>An ad plan for the first 30 days</li></ul>
<ds-text literal data-type="small" wrap strong>+3 working days</ds-text>
</div>
<div class="pricing-addon">
<div class="pricing-addon-head"><ds-text literal data-type="name" wrap role="heading" aria-level="3" data-heavy>Moving</ds-text><ds-text literal data-type="name" wrap >+€1,500</ds-text></div>
<ds-text literal data-type="body" wrap >For a shop that already lives somewhere else.</ds-text>
<ul data-list="dots"><li>Products, variants and images, up to 100 products</li><li>Your customer list</li><li>Old addresses forwarded, so search engines and customers find the new shop</li></ul>
<ds-text literal data-type="small" wrap strong>+3 working days</ds-text>
</div>
<div class="pricing-foot"><ds-button primary data-size="large" href="#book"><span>Book 15 minutes</span></ds-button></div>
</div></ds-card>
</div></div></section>
</div>
<main>
<section class="pricing-section" id="send"><div class="pricing-wrap">
<ds-text literal data-type="display" wrap role="heading" aria-level="2" >What you send.</ds-text>
<dl class="pricing-needs">
<div><dt><ds-text literal data-type="subhead" wrap >Logo</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">PNG or SVG if you can. No logo yet? I will set your name in a typeface that suits you.</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >Photos</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">At least three of each product, sharp and in daylight. A new phone takes fine pictures.</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >Products</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">Name, price, variants such as size and colour, weight and stock. For Grow, in one spreadsheet.</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >Words</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">For Start, a few lines about each product and I will finish them. For Grow, finished product texts, and I will write the home page and the collections.</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >About you</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">Three to five lines on who you are and why you sell what you sell.</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >Shipping and rules</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">Which carriers and prices you want, your returns policy and your company details for the legal pages.</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >Access</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">I set up the shop myself. If you have a domain or an old shop, I will need access to them.</ds-text></dd></div>
</dl>
<ds-text literal data-type="body" wrap tone="muted">Delivery time starts the day your deposit is paid and I have everything.</ds-text>
</div></section>
<section class="pricing-section" data-band="quiet" id="after"><div class="pricing-wrap">
<ds-text literal data-type="display" wrap role="heading" aria-level="2" >After launch.</ds-text>
<div class="pricing-subs">
<ds-card data-plan="sheet"><div class="pricing-sub"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Care</ds-text><ds-text literal data-type="fee" wrap >€190/month</ds-text><ul data-list="rules"><li>Theme and app updates</li><li>Small changes to words, pictures and prices, up to one hour a month</li><li>Basket, payment and shipping checked every month</li><li>An answer within one working day</li></ul></div></ds-card>
<ds-card data-plan="sheet"><div class="pricing-sub"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Care + Growth</ds-text><ds-text literal data-type="fee" wrap >€390/month</ds-text><ul data-list="rules"><li>Everything in Care</li><li>A look at your sales every month: where do customers drop off?</li><li>One improvement a month, such as the product page, the basket or an offer, up to three hours in all</li></ul></div></ds-card>
</div>
<ds-text literal data-type="body" wrap tone="muted">No lock-in. You can also run the shop yourself.</ds-text>
</div></section>
<section class="pricing-terms"><div class="pricing-wrap">
<div><ds-text literal data-type="body" wrap strong>Payment</ds-text><ds-text literal data-type="body" wrap tone="muted">Half when you order. The rest before the shop opens.</ds-text></div>
<div><ds-text literal data-type="body" wrap strong>Ownership</ds-text><ds-text literal data-type="body" wrap tone="muted">The shop is handed over before it opens, so it is entirely yours.</ds-text></div>
<div><ds-text literal data-type="body" wrap strong>First customers</ds-text><ds-text literal data-type="body" wrap tone="muted">The first three get 20% off, in return for letting me show the shop as a case.</ds-text></div>
</div></section>
<section class="pricing-section" id="questions"><div class="pricing-wrap">
<ds-text literal data-type="display" wrap role="heading" aria-level="2" >Questions.</ds-text>
<div class="pricing-questions"><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">Do the prices include VAT?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">No. Every price on this page excludes VAT, which is added to the invoice.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">Who owns the shop?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">You do. The shop is built on your own account and is yours from the day it opens.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">Is the platform’s monthly fee included?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">No. You pay your shop platform directly, and I help you choose the plan that fits.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">How do I pay?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Half when you order, and the rest before the shop opens.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">How fast will the shop be ready?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Start takes 7 working days and Grow takes 12, counted from the day your deposit is paid and I have everything.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">What if I want changes?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Start includes one round of changes and Grow includes two. Anything beyond that is priced before I begin.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">I already have a shop. Can you move it?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Yes. Moving is an add-on that brings across your products, your customer list and your old addresses.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">Can you improve the shop I already have?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Often, yes. Book 15 minutes and we will look at it together.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">Can my shop sell subscriptions?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Yes. Subscriptions are part of Grow, so customers can keep buying without coming back to order.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">What happens once the shop is open?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">You can run it yourself, or choose Care, which keeps it updated and checked every month.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">What is the first-customer discount?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">The first three customers get 20% off, in return for letting me show the shop as a case.</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">Which package should I choose?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">Choose Start for a few products, and Grow for a larger range or subscriptions. If you are unsure, ask me.</ds-text></ds-accordion></div>
</div></section>
</main>
<div data-band="night">
<section class="pricing-closing" id="book"><div class="pricing-wrap">
<ds-text literal data-type="closing" wrap role="heading" aria-level="2" class="pricing-title">Not sure which package fits?</ds-text>
<ds-button primary data-size="large" href="#book"><span>Book 15 minutes</span></ds-button>
</div></section>
<ds-footer class="pricing-footer" brand="plainshop" tagline="Online shops at a fixed price" literal year="2026" columns='[{"heading":"Site","links":[{"label":"Packages","href":"#packages"},{"label":"What you send","href":"#send"},{"label":"After launch","href":"#after"},{"label":"Questions","href":"#questions"}]}]' policies='[{"label":"Terms","href":"#terms"},{"label":"Privacy","href":"#privacy"}]'><span slot="legal">VAT 12 34 56 78</span></ds-footer>
</div> Packages and prices in Japanese · Tally
Section titled “Packages and prices in Japanese · Tally”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="https://designsystem1.com/ds1/bbw9m8gdy3815th5cgvx/v/2.css">
<style>
/* The page stands centred, so the grid starts where the page does. Sixty-one squares less a square
each side leave fifty-nine: three cards of nineteen, or two columns of twenty-nine, one square
apart. 50% centres one tile, so a line falls half a square left of the middle, as the odd width
needs. Below sixty-one squares the page fills and the grid keeps the left edge. */
:root { --ds-grid-origin-x:max(0px, calc(50% - 30 * var(--ds-unit))); }
.pricing-wrap { box-sizing:border-box; width:100%; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; padding-inline:var(--ds-unit); min-width:0; }
.pricing-header, .pricing-footer { display:block; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; }
.pricing-hero { padding-block:calc(3.5 * var(--ds-unit)) calc(5 * var(--ds-unit)); }
.pricing-hero .pricing-title { max-width:calc(30 * var(--ds-unit)); }
.pricing-hero [lang='ja'] .pricing-title, [lang='ja'] .pricing-hero .pricing-title { max-width:none; }
.pricing-hero .pricing-lead { max-width:calc(20 * var(--ds-unit)); margin-block-start:var(--ds-unit); }
.pricing-plans { padding-block-end:calc(5 * var(--ds-unit)); }
.pricing-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.pricing-cards > ds-card { min-width:0; }
.pricing-plan { display:flex; flex-direction:column; flex:1; min-height:100%; min-width:0; }
.pricing-plan > * + * { margin-block-start:calc(0.5 * var(--ds-unit)); }
.pricing-facts { display:flex; flex-wrap:wrap; gap:0 calc(0.5 * var(--ds-unit)); }
.pricing-plan > ul[data-list="dots"] { margin-block-start:var(--ds-unit); padding-block-start:calc(0.5 * var(--ds-unit)); border-block-start:1px solid var(--ds-border-color); }
.pricing-addon { padding-block-start:var(--ds-unit); margin-block-start:var(--ds-unit); border-block-start:1px solid var(--ds-border-color); }
.pricing-addon > * + * { margin-block-start:calc(0.5 * var(--ds-unit)); }
.pricing-addon-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:0 calc(0.5 * var(--ds-unit)); }
.pricing-foot { display:grid; gap:var(--ds-unit); margin-block-start:auto; padding-block-start:var(--ds-unit); }
.pricing-foot ds-button { --ds-button-inline-size:100%; --ds-button-align:center; }
.pricing-foot a, .pricing-note a { color:inherit; font-weight:600; text-underline-offset:calc(3px * var(--ds-sf, 1)); }
.pricing-section { padding-block:calc(7 * var(--ds-unit)); }
.pricing-section > .pricing-wrap { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(1.5 * var(--ds-unit)); }
.pricing-section[data-band] > .pricing-wrap { gap:var(--ds-unit); }
.pricing-needs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 var(--ds-unit); margin:0; border-block-start:1px solid var(--ds-text-color); }
.pricing-needs > div { padding-block:var(--ds-unit) calc(17px * var(--ds-sf, 1)); border-block-end:1px solid var(--ds-border-color); }
.pricing-needs dt, .pricing-needs dd { margin:0; }
.pricing-subs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ds-unit); }
.pricing-sub { display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; min-width:0; }
.pricing-sub > ul { margin-block-start:calc(0.5 * var(--ds-unit)); }
.pricing-terms { padding-block:calc(3.5 * var(--ds-unit)); border-block-end:1px solid var(--ds-fill); }
.pricing-terms > .pricing-wrap { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.pricing-terms p { margin:0; }
.pricing-questions { border-block-start:1px solid var(--ds-text-color); }
.pricing-closing { padding-block:calc(5 * var(--ds-unit)); }
.pricing-closing > .pricing-wrap { display:grid; justify-items:start; gap:var(--ds-unit); }
.pricing-closing .pricing-title { max-width:calc(30 * var(--ds-unit)); }
.pricing-closing ds-button { --ds-button-inline-size:calc(17 * var(--ds-unit)); --ds-button-align:center; max-width:100%; }
@media(max-width:899px) {
.pricing-cards, .pricing-subs { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
.pricing-section { padding-block:calc(4 * var(--ds-unit)); }
.pricing-hero { padding-block:var(--ds-unit) calc(2 * var(--ds-unit)); }
.pricing-plans { padding-block-end:calc(4 * var(--ds-unit)); }
.pricing-needs, .pricing-terms > .pricing-wrap { grid-template-columns:minmax(0,1fr); }
.pricing-closing ds-button { --ds-button-inline-size:100%; }
.pricing-closing { padding-block:calc(4 * var(--ds-unit)); }
}
</style><div lang="ja"><div data-band="night" id="top">
<ds-header class="pricing-header" data-links="end" label="Main"><a slot="brand" data-wordmark href="#top">plain<b>shop</b></a><a href="#packages">料金プラン</a><a href="#send">ご用意いただくもの</a><a href="#after">公開後のサポート</a><a href="#questions">よくある質問</a><ds-button slot="actions" href="#book"><span>15分相談</span></ds-button></ds-header>
<section class="pricing-hero"><div class="pricing-wrap">
<ds-text literal data-type="hero" wrap role="heading" aria-level="1" class="pricing-title">ネットショップ制作の料金。</ds-text>
<ds-text literal data-type="body" wrap tone="muted" class="pricing-lead">ショップ一式を固定料金で。時間課金も、追加請求もありません。表示価格はすべて税込です。</ds-text>
</div></section>
<section class="pricing-plans" id="packages"><div class="pricing-wrap"><div class="pricing-cards">
<ds-card data-plan="night"><div class="pricing-plan">
<ds-text literal data-type="name" wrap role="heading" aria-level="2" >スタート</ds-text>
<ds-text literal data-type="price" wrap >298,000円</ds-text>
<ds-text literal data-type="body" wrap >商品数が少ないお店に。5商品まで対応します。</ds-text>
<div class="pricing-facts"><ds-text literal data-type="small" wrap strong>7営業日で公開</ds-text><ds-text literal data-type="small" wrap tone="muted">修正1回</ds-text></div>
<ul data-list="dots"><li>ブランドに合わせたテーマ設定</li><li>トップページと商品ページ</li><li>クレジットカードとPayPay決済</li><li>送料の設定</li><li>特定商取引法などの法定ページ</li><li>スマホ表示の確認</li><li>30分の引き渡し説明</li></ul>
<div class="pricing-foot"><p class="pricing-note" style="margin:0"><ds-text literal data-type="small" wrap tone="muted">デモを見る:<a href="#fern">Fern</a></ds-text></p><ds-button primary data-size="large" href="#book"><span>15分の相談を予約</span></ds-button></div>
</div></ds-card>
<ds-card data-plan="paper"><div class="pricing-plan">
<ds-text literal data-type="name" wrap role="heading" aria-level="2" >グロース</ds-text>
<ds-text literal data-type="price" wrap >598,000円</ds-text>
<ds-text literal data-type="body" wrap >50商品まで。定期購入を始めたいお店にも。</ds-text>
<div class="pricing-facts"><ds-text literal data-type="small" wrap strong>12営業日で公開</ds-text><ds-text literal data-type="small" wrap tone="muted">修正2回</ds-text></div>
<ul data-list="dots"><li data-strong>スタートの内容すべて</li><li>コレクションページ</li><li>絞り込み検索</li><li>送料無料バー</li><li>おすすめ商品の表示</li><li>オリジナル機能1つ</li><li>定期購入でリピートを促進</li><li>クーポン</li><li>メルマガとLINEの連携</li></ul>
<div class="pricing-foot"><p class="pricing-note" style="margin:0"><ds-text literal data-type="small" wrap tone="muted">デモを見る:<a href="#harbour">Harbour</a>、<a href="#mill">Mill</a></ds-text></p><ds-button primary data-size="large" href="#book"><span>15分の相談を予約</span></ds-button></div>
</div></ds-card>
<ds-card data-plan="accent"><div class="pricing-plan">
<ds-text literal data-type="name" wrap role="heading" aria-level="2" >オプション</ds-text>
<ds-text literal data-type="body" wrap >どちらのプランにも追加できます。</ds-text>
<div class="pricing-addon">
<div class="pricing-addon-head"><ds-text literal data-type="name" wrap role="heading" aria-level="3" data-heavy>広告スタート</ds-text><ds-text literal data-type="name" wrap >+198,000円</ds-text></div>
<ds-text literal data-type="body" wrap >公開初日から広告を出したい方に。</ds-text>
<ul data-list="dots"><li>MetaピクセルとコンバージョンAPI</li><li>GA4とGoogle広告のタグ設定</li><li>計測テスト済みで、広告の成果が見える</li><li>広告向けの商品説明文、5商品まで</li><li>広告文3本と動画台本1本</li><li>最初の30日間の広告プラン</li></ul>
<ds-text literal data-type="small" wrap strong>+3営業日</ds-text>
</div>
<div class="pricing-addon">
<div class="pricing-addon-head"><ds-text literal data-type="name" wrap role="heading" aria-level="3" data-heavy>ショップ移転</ds-text><ds-text literal data-type="name" wrap >+148,000円</ds-text></div>
<ds-text literal data-type="body" wrap >BASEやSTORES、WooCommerceなどからの移転に。</ds-text>
<ul data-list="dots"><li>商品、バリエーション、画像、100商品まで</li><li>顧客リスト</li><li>旧URLの転送設定で、検索順位の評価を引き継ぎ</li></ul>
<ds-text literal data-type="small" wrap strong>+3営業日</ds-text>
</div>
<div class="pricing-foot"><ds-button primary data-size="large" href="#book"><span>15分の相談を予約</span></ds-button></div>
</div></ds-card>
</div></div></section>
</div>
<main>
<section class="pricing-section" id="send"><div class="pricing-wrap">
<ds-text literal data-type="display" wrap role="heading" aria-level="2" >ご用意いただくもの。</ds-text>
<dl class="pricing-needs">
<div><dt><ds-text literal data-type="subhead" wrap >ロゴ</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">PNGかSVGが理想です。ロゴがなければ、お店に合う書体で店名をお作りします。</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >商品写真</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">1商品につき3枚以上。明るい場所で撮影したものをお願いします。最近のスマホで十分です。</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >商品情報</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">商品名、価格、サイズや色などのバリエーション、重さ、在庫数。グロースは1つの表にまとめてください。</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >文章</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">スタートは各商品の説明を数行いただければ仕上げます。グロースは商品説明をご用意いただき、トップページとコレクションはこちらで書きます。</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >お店の紹介</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">どんな方が、なぜその商品を販売しているのかを3〜5行で。</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >配送とルール</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">配送会社と送料、返品条件、特定商取引法の表記に載せる事業者情報。</ds-text></dd></div>
<div><dt><ds-text literal data-type="subhead" wrap >アカウント</ds-text></dt><dd><ds-text literal data-type="body" wrap tone="muted">ショップはこちらで開設します。ドメインや既存のショップがあれば、ログイン情報をご共有ください。</ds-text></dd></div>
</dl>
<ds-text literal data-type="body" wrap tone="muted">納期は、着手金のお支払いとご用意いただくものがそろった日から数えます。</ds-text>
</div></section>
<section class="pricing-section" data-band="quiet" id="after"><div class="pricing-wrap">
<ds-text literal data-type="display" wrap role="heading" aria-level="2" >公開後のサポート。</ds-text>
<div class="pricing-subs">
<ds-card data-plan="sheet"><div class="pricing-sub"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >保守</ds-text><ds-text literal data-type="fee" wrap >19,800円/月</ds-text><ul data-list="rules"><li>テーマとアプリの更新</li><li>文章、画像、価格の小さな修正、月1時間まで</li><li>カート、決済、配送の動作確認を毎月</li><li>1営業日以内にお返事</li></ul></div></ds-card>
<ds-card data-plan="sheet"><div class="pricing-sub"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >保守+改善</ds-text><ds-text literal data-type="fee" wrap >39,800円/月</ds-text><ul data-list="rules"><li>保守の内容すべて</li><li>毎月の売上分析:お客様はどこで離脱しているか</li><li>商品ページ、カート、キャンペーンなどの改善を月1回、合計3時間まで</li></ul></div></ds-card>
</div>
<ds-text literal data-type="body" wrap tone="muted">契約期間の縛りはありません。ご自身での運営も可能です。</ds-text>
</div></section>
<section class="pricing-terms"><div class="pricing-wrap">
<div><ds-text literal data-type="body" wrap strong>お支払い</ds-text><ds-text literal data-type="body" wrap tone="muted">着手金として50%、残りはショップ公開前に。</ds-text></div>
<div><ds-text literal data-type="body" wrap strong>所有権</ds-text><ds-text literal data-type="body" wrap tone="muted">ショップは公開前にお引き渡しするので、すべてお客様のものです。</ds-text></div>
<div><ds-text literal data-type="body" wrap strong>先着特典</ds-text><ds-text literal data-type="body" wrap tone="muted">先着3名様は20%オフ。その代わり、制作事例として掲載させてください。</ds-text></div>
</div></section>
<section class="pricing-section" id="questions"><div class="pricing-wrap">
<ds-text literal data-type="display" wrap role="heading" aria-level="2" >よくある質問。</ds-text>
<div class="pricing-questions"><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">ネットショップ制作の費用相場はいくらですか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">基本機能のみの小規模なショップで30万〜100万円が一般的な目安です。こちらはプランごとの固定料金で、スタートは税込298,000円からです。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">料金は税込ですか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">はい。このページの価格はすべて税込です。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">制作費のほかに毎月かかる費用はありますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">ショッププラットフォームの月額料金と決済手数料はお客様のご負担です。保守は任意で、必要な場合のみご契約いただけます。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">ECサイトの制作期間はどれくらいですか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">スタートは7営業日、グロースは12営業日です。着手金のお支払いと、ご用意いただくものがそろった日から数えます。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">どのプラットフォームで作りますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">主にShopifyで構築します。ご希望があれば、最初の相談でお聞かせください。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">ショップの所有権は誰にありますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">お客様です。お客様のアカウントで構築し、公開時点からすべてお客様のものになります。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">支払い方法を教えてください。</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">ご注文時に50%、残りをショップ公開前にお支払いいただきます。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">修正は何回までできますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">スタートは1回、グロースは2回です。それを超える場合は、作業前にお見積もりをお伝えします。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">BASEやSTORESから移転できますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">はい。ショップ移転のオプションで、商品、顧客リスト、旧URLの転送まで対応します。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">定期購入のショップは作れますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">はい。定期購入はグロースに含まれています。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">公開後の運営はどうなりますか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">ご自身で運営できるようお引き渡しします。更新や毎月の確認を任せたい場合は、保守プランをお選びください。</ds-text></ds-accordion><ds-accordion icon="plus" data-size="large"><ds-text literal data-type="question" wrap slot="summary">どのプランを選べばよいですか?</ds-text><ds-text literal data-type="body" wrap slot="details" tone="muted">商品数が少なければスタート、商品が多い場合や定期購入を始める場合はグロースが合います。迷ったらお気軽にご相談ください。</ds-text></ds-accordion></div>
</div></section>
</main>
<div data-band="night">
<section class="pricing-closing" id="book"><div class="pricing-wrap">
<ds-text literal data-type="closing" wrap role="heading" aria-level="2" class="pricing-title">どのプランが合うか、迷ったら。</ds-text>
<ds-button primary data-size="large" href="#book"><span>15分の相談を予約</span></ds-button>
</div></section>
<ds-footer class="pricing-footer" brand="plainshop" tagline="固定料金のネットショップ制作" literal year="2026" columns='[{"heading":"サイト","links":[{"label":"料金プラン","href":"#packages"},{"label":"ご用意いただくもの","href":"#send"},{"label":"公開後のサポート","href":"#after"},{"label":"よくある質問","href":"#questions"}]}]' policies='[{"label":"利用規約","href":"#terms"},{"label":"プライバシーポリシー","href":"#privacy"},{"label":"特定商取引法に基づく表記","href":"#tokushoho"}]'><span slot="legal">© 2026 plainshop</span></ds-footer>
</div></div> Private workspace · Nook
Section titled “Private workspace · Nook”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/nook.css">
<style>
/* The page stands centred in sixty-one squares, ruled down both sides, so the grid starts where the
page does. Below that the page fills and the grid keeps the left edge. */
:root { --ds-grid-origin-x:max(0px, calc(50% - 30 * var(--ds-unit))); }
.nook [hidden] { display:none !important; }
.nook-page { box-sizing:border-box; width:100%; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; min-width:0; border-inline:1px solid var(--nook-line); }
.nook-wrap { box-sizing:border-box; width:100%; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; padding-inline:var(--ds-unit); min-width:0; }
.nook-top { display:block; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; }
.nook-stack { display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; min-width:0; }
.nook-stack > * { margin:0; }
.nook-title { display:block; margin:0; }
.nook-pad { padding:calc(2 * var(--ds-unit)); min-width:0; }
.nook-rule { border-block-start:1px solid var(--nook-line); }
.nook-cta { display:flex; flex-wrap:wrap; gap:calc(0.5 * var(--ds-unit)); }
/* Blooms: blurred colour in the corners of a light section. */
.nook-bloom-a { background-image:radial-gradient(38% 55% at 100% 0%, rgba(255,150,175,.5), transparent 70%), radial-gradient(34% 50% at 0% 100%, rgba(196,238,96,.5), transparent 70%), radial-gradient(30% 45% at 100% 100%, rgba(150,205,255,.45), transparent 70%); }
.nook-bloom-b { background-image:radial-gradient(40% 55% at 0% 0%, rgba(255,196,160,.55), transparent 70%), radial-gradient(36% 50% at 100% 100%, rgba(196,238,96,.45), transparent 70%); }
.nook-bloom-c { background-image:radial-gradient(40% 60% at 100% 50%, rgba(150,205,255,.5), transparent 70%), radial-gradient(36% 55% at 0% 0%, rgba(255,150,175,.4), transparent 70%); }
/* Hero: a box ruled by hairlines, split in half so its rule meets the middle rule of the four cells below. */
.nook-hero { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block-end:1px solid var(--nook-line); }
.nook-hero-words { display:grid; gap:var(--ds-unit); align-content:center; padding:calc(4 * var(--ds-unit)) calc(2 * var(--ds-unit)); min-width:0; }
.nook-hero-lead { max-width:calc(20 * var(--ds-unit)); }
.nook-hero-art { display:grid; place-items:center; padding:calc(2 * var(--ds-unit)); border-inline-start:1px solid var(--nook-line); min-width:0; }
.nook-hero-art svg { display:block; width:100%; max-width:calc(20 * var(--ds-unit)); height:auto; color:var(--ds-text-color); }
.nook-features { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-block-end:1px solid var(--nook-line); }
.nook-features > * { padding:calc(1.5 * var(--ds-unit)) var(--ds-unit); border-inline-start:1px solid var(--nook-line); min-width:0; }
.nook-features > :first-child { border-inline-start:0; }
.nook-video { display:grid; gap:var(--ds-unit); align-content:space-between; min-height:calc(7 * var(--ds-unit)); background:#0b0b0b; color:#fff; text-decoration:none; }
.nook-video ds-text { --ds-text-color:#fff; } .nook-video { --ds-text-color-muted:#a3a3a3; }
.nook-play { display:block; width:calc(2 * var(--ds-unit)); height:calc(2 * var(--ds-unit)); border-radius:50%; background:#fff; position:relative; }
.nook-play::after { content:""; position:absolute; inset-block-start:50%; inset-inline-start:calc(50% - 3px); width:calc(0.5 * var(--ds-unit)); height:calc(0.6 * var(--ds-unit)); background:#0b0b0b; clip-path:polygon(0 0, 100% 50%, 0 100%); transform:translateY(-50%); }
/* Sections. */
.nook-section { padding-block:calc(5 * var(--ds-unit)); border-block-end:1px solid var(--nook-line); }
.nook-section[data-band] { border-block-end:0; }
.nook-section > .nook-wrap, .nook-section > .nook-page > .nook-wrap { display:grid; gap:calc(2 * var(--ds-unit)); }
.nook-head { display:grid; gap:var(--ds-unit); max-width:calc(36 * var(--ds-unit)); }
/* Three dark mock apps with their words beneath. */
.nook-apps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.nook-app { display:grid; gap:var(--ds-unit); align-content:start; min-width:0; }
.nook-mock { box-sizing:border-box; display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; min-height:calc(15 * var(--ds-unit)); padding:var(--ds-unit); border:1px solid #2c2c2c; border-radius:var(--ds-radius-card); background:#161616; overflow:hidden; min-width:0; }
.nook-mock-bar { display:flex; align-items:center; gap:calc(0.4 * var(--ds-unit)); padding-block-end:calc(0.5 * var(--ds-unit)); border-block-end:1px solid #2c2c2c; }
.nook-dot { width:calc(0.4 * var(--ds-unit)); height:calc(0.4 * var(--ds-unit)); border-radius:50%; background:#3a3a3a; }
.nook-bubble { max-width:80%; padding:calc(0.4 * var(--ds-unit)) calc(0.6 * var(--ds-unit)); border-radius:calc(0.6 * var(--ds-unit)); background:#262626; }
.nook-bubble[data-own] { justify-self:end; background:#ffffff; }
.nook-bubble[data-own] ds-text { --ds-text-color:#0b0b0b; color:#0b0b0b; }
.nook-line { height:calc(0.4 * var(--ds-unit)); border-radius:calc(0.2 * var(--ds-unit)); background:#2c2c2c; }
.nook-line[data-short] { width:62%; }
.nook-mock-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:calc(0.5 * var(--ds-unit)); align-items:center; padding-block:calc(0.4 * var(--ds-unit)); border-block-end:1px solid #2c2c2c; }
/* Numbered panels: ruled columns, each a number, a huge heading and two facts. */
.nook-panels { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--nook-line); background:rgba(255,255,255,.72); }
.nook-panel { display:grid; gap:calc(2 * var(--ds-unit)); align-content:space-between; padding:calc(1.5 * var(--ds-unit)); border-inline-start:1px solid var(--nook-line); min-width:0; }
.nook-panel:first-child { border-inline-start:0; }
.nook-facts { display:grid; gap:calc(0.5 * var(--ds-unit)); }
.nook-facts > * { padding-block-start:calc(0.5 * var(--ds-unit)); border-block-start:1px solid var(--nook-line); margin:0; }
/* Compose freely: a window with a row of tabs and a panel under them. */
.nook-window { box-sizing:border-box; display:grid; gap:var(--ds-unit); padding:var(--ds-unit); border:1px solid var(--nook-line); border-radius:var(--ds-radius-card); background:#fff; min-width:0; }
.nook-window ds-tabs { justify-self:start; max-width:100%; }
.nook-pane { display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; min-height:calc(10 * var(--ds-unit)); min-width:0; }
.nook-pane-cols { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.nook-pane-cols > * { min-width:0; }
.nook-check { display:grid; grid-template-columns:auto minmax(0,1fr); gap:calc(0.5 * var(--ds-unit)); align-items:center; }
.nook-table { display:grid; border-block-start:1px solid #0b0b0b; }
.nook-table > div { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr) minmax(0,2fr); gap:var(--ds-unit); padding-block:calc(0.5 * var(--ds-unit)); border-block-end:1px solid var(--nook-line); }
.nook-table > div > * { min-width:0; }
.nook-board { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.nook-col { display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; padding:calc(0.5 * var(--ds-unit)); border-radius:var(--ds-radius); background:var(--ds-fill); min-width:0; }
.nook-card { padding:calc(0.5 * var(--ds-unit)) var(--ds-unit); border-radius:var(--ds-radius); background:#fff; border:1px solid var(--nook-line); }
.nook-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.nook-gallery > * { min-width:0; }
.nook-views { display:grid; gap:var(--ds-unit); }
/* Think fast: three facts on rules. */
.nook-fast { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.nook-fast > div { display:grid; gap:calc(0.5 * var(--ds-unit)); align-content:start; padding-block-start:var(--ds-unit); border-block-start:1px solid #0b0b0b; }
/* Quotes. */
.nook-quotes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--nook-line); }
.nook-quote { display:grid; gap:var(--ds-unit); align-content:space-between; padding:calc(1.5 * var(--ds-unit)) var(--ds-unit); border-inline-start:1px solid var(--nook-line); min-width:0; }
.nook-quote:first-child { border-inline-start:0; }
/* Closing and footer. */
.nook-closing { padding-block:calc(7 * var(--ds-unit)); }
.nook-closing > .nook-wrap { display:grid; justify-items:start; gap:calc(2 * var(--ds-unit)); }
.nook-closing .nook-closing-title { max-width:calc(40 * var(--ds-unit)); }
.nook-footer { display:block; max-width:calc(61 * var(--ds-unit)); margin-inline:auto; }
/* The floating pill: sticky, so it holds centred at the bottom of whatever scrolls (the window or the editor canvas) and takes no room, a translucent dark bar of three places. */
.nook-float-wrap { position:sticky; inset-block-end:var(--ds-unit); z-index:20; display:flex; justify-content:center; align-items:flex-end; height:0; pointer-events:none; }
.nook-float { pointer-events:auto; box-sizing:border-box; display:flex; gap:calc(0.25 * var(--ds-unit)); padding:calc(0.5 * var(--ds-unit)); border-radius:999px; background:rgba(14,14,14,.82); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 0 0 1px rgba(255,255,255,.08); }
.nook-float a { box-sizing:border-box; display:block; height:var(--ds-unit); padding:calc(2px * var(--ds-sf, 1)) calc(0.75 * var(--ds-unit)) 0; border-radius:999px; color:#e8e8e8; font-size:var(--ds-type-size-default); line-height:calc(16px * var(--ds-sf, 1)); text-decoration:none; }
.nook-float a[aria-current] { background:#fff; color:#0b0b0b; }
@media(max-width:899px) {
.nook-hero { grid-template-columns:minmax(0,1fr); }
.nook-hero-art { border-inline-start:0; border-block-start:1px solid var(--nook-line); }
.nook-features, .nook-quotes { grid-template-columns:repeat(2,minmax(0,1fr)); }
.nook-features > :nth-child(3) { border-inline-start:0; }
.nook-features > :nth-child(n+3) { border-block-start:1px solid var(--nook-line); }
.nook-quote:nth-child(3) { border-inline-start:0; }
.nook-quote:nth-child(n+3) { border-block-start:1px solid var(--nook-line); }
.nook-apps, .nook-panels, .nook-fast, .nook-pane-cols, .nook-board, .nook-gallery { grid-template-columns:minmax(0,1fr); }
.nook-panel { border-inline-start:0; border-block-start:1px solid var(--nook-line); }
.nook-panel:first-child { border-block-start:0; }
}
@media(max-width:600px) {
.nook-section { padding-block:calc(3 * var(--ds-unit)); }
.nook-closing { padding-block:calc(4 * var(--ds-unit)); }
.nook-hero-words { padding:calc(2 * var(--ds-unit)) var(--ds-unit); }
.nook-features, .nook-quotes { grid-template-columns:minmax(0,1fr); }
.nook-features > *, .nook-quote { border-inline-start:0; border-block-start:1px solid var(--nook-line); }
.nook-features > :first-child, .nook-quote:first-child { border-block-start:0; }
.nook-table > div { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.nook-table > div > :last-child { display:none; }
}
</style>
<div class="nook" data-ds-surface id="top">
<ds-header class="nook-top" data-plain label="Main"><a slot="brand" data-wordmark href="#top">nook</a><ds-button slot="actions" primary href="#download"><span>Download</span></ds-button></ds-header>
<main>
<div class="nook-page nook-bloom-a" id="what">
<section class="nook-hero" aria-label="Nook">
<div class="nook-hero-words">
<div role="heading" aria-level="1" class="nook-title"><ds-text literal data-type="hero" wrap >A safe place</ds-text><ds-text literal data-type="hero" wrap data-tone="pink">for your team</ds-text></div>
<ds-text literal data-type="body" wrap tone="muted" class="nook-hero-lead">Nook is a private workspace for teams. Chats, documents and databases live on your devices, so the work stays yours.</ds-text>
<div class="nook-cta"><ds-button primary data-size="medium" href="#download"><span>Download</span></ds-button><ds-button secondary data-size="medium" href="#intro"><span>See how it works</span></ds-button></div>
</div>
<div class="nook-hero-art"><svg viewBox="0 0 400 340" role="img" aria-label="A small house with a lock on its door, a laptop and a phone beside it, joined by dashed lines" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 300H380"/>
<path d="M110 300V168L200 96L290 168V300"/>
<path d="M96 176L200 92L304 176"/>
<path d="M200 148C200 148 232 158 232 182V210C232 232 200 246 200 246C200 246 168 232 168 210V182C168 158 200 148 200 148Z"/>
<circle cx="200" cy="190" r="9"/>
<path d="M200 199V214"/>
<path d="M244 300V262H276V300"/>
<rect x="24" y="226" width="62" height="42" rx="4"/>
<path d="M14 276H96L90 268H20Z"/>
<rect x="318" y="206" width="30" height="58" rx="5"/>
<path d="M328 256H338"/>
<path d="M88 247C100 247 100 247 110 247" stroke-dasharray="3 5"/>
<path d="M290 235C302 235 306 235 318 235" stroke-dasharray="3 5"/>
<path d="M140 60C160 36 240 36 260 60" stroke-dasharray="3 5"/>
<path d="M120 36L140 60" stroke-dasharray="3 5"/>
<circle cx="60" cy="120" r="3"/>
<circle cx="340" cy="120" r="3"/>
<circle cx="320" cy="60" r="2"/>
</svg></div>
</section>
<div class="nook-features">
<div class="nook-stack"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Yours alone</ds-text><ds-text literal data-type="body" wrap tone="muted" >Everything is kept on your own devices. Nobody else holds a copy to read.</ds-text></div>
<div class="nook-stack"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Works together</ds-text><ds-text literal data-type="body" wrap tone="muted" >Share a space with your team. Changes meet up when everyone is back online.</ds-text></div>
<div class="nook-stack"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Built to last</ds-text><ds-text literal data-type="body" wrap tone="muted" >Your work is plain files you can open, move and keep, even without Nook.</ds-text></div>
<a class="nook-video" id="intro" href="#intro" aria-label="Watch the introduction, two minutes"><span class="nook-play" aria-hidden="true"></span><div class="nook-stack"><ds-text literal data-type="title" wrap >Watch the introduction</ds-text><ds-text literal data-type="small" wrap tone="muted">Two minutes, no sign-up</ds-text></div></a>
</div>
</div>
<section class="nook-section" data-band="dark" aria-labelledby="nook-organise"><div class="nook-wrap">
<div class="nook-head"><ds-text literal data-type="small" wrap tone="muted">One place for the day</ds-text><ds-text literal data-type="display" wrap role="heading" aria-level="2" id="nook-organise">Discuss. Organise. Remember.</ds-text></div>
<div class="nook-apps">
<div class="nook-app"><div class="nook-mock" aria-label="A chat">
<div class="nook-mock-bar"><span class="nook-dot"></span><span class="nook-dot"></span><span class="nook-dot"></span></div>
<div class="nook-bubble"><ds-text literal data-type="small" wrap >Can we move the review to Friday?</ds-text></div>
<div class="nook-bubble" data-own><ds-text literal data-type="small" wrap >Yes. I will update the plan.</ds-text></div>
<div class="nook-bubble"><ds-text literal data-type="small" wrap >Thanks, I will tell the others.</ds-text></div>
</div><div class="nook-stack"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Discuss</ds-text><ds-text literal data-type="body" wrap tone="muted" >Talk with your team in rooms that keep their own history, and turn any message into a note.</ds-text></div></div>
<div class="nook-app"><div class="nook-mock" aria-label="A document">
<div class="nook-mock-bar"><span class="nook-dot"></span><span class="nook-dot"></span><span class="nook-dot"></span></div>
<ds-text literal data-type="title" wrap >Autumn plan</ds-text>
<div class="nook-line"></div><div class="nook-line"></div><div class="nook-line" data-short></div>
<div class="nook-line"></div><div class="nook-line" data-short></div>
</div><div class="nook-stack"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Organise</ds-text><ds-text literal data-type="body" wrap tone="muted" >Write pages, link them together and keep each project in its own space.</ds-text></div></div>
<div class="nook-app"><div class="nook-mock" aria-label="A list of tasks">
<div class="nook-mock-bar"><span class="nook-dot"></span><span class="nook-dot"></span><span class="nook-dot"></span></div>
<div class="nook-mock-row"><ds-text literal data-type="small" wrap >Book the venue</ds-text><ds-tag>Done</ds-tag></div><div class="nook-mock-row"><ds-text literal data-type="small" wrap >Send the invites</ds-text><ds-tag>Doing</ds-tag></div><div class="nook-mock-row"><ds-text literal data-type="small" wrap >Print the signs</ds-text><ds-tag>To do</ds-tag></div><div class="nook-mock-row"><ds-text literal data-type="small" wrap >Thank the helpers</ds-text><ds-tag>To do</ds-tag></div>
</div><div class="nook-stack"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Remember</ds-text><ds-text literal data-type="body" wrap tone="muted" >Keep lists and records you can sort and find again, long after the day has passed.</ds-text></div></div>
</div>
</div></section>
<div class="nook-page" id="why">
<section class="nook-section nook-bloom-b" aria-labelledby="nook-privacy"><div class="nook-wrap">
<div class="nook-head"><ds-text literal data-type="small" wrap tone="muted">Why Nook</ds-text><ds-text literal data-type="display" wrap role="heading" aria-level="2" id="nook-privacy">Privacy, in three parts.</ds-text></div>
<div class="nook-panels">
<div class="nook-panel">
<div class="nook-stack"><ds-text literal data-type="number" wrap tone="muted">1</ds-text><ds-text literal data-type="panel" wrap role="heading" aria-level="3" >Yours, on your devices.</ds-text></div>
<div class="nook-facts"><ds-text literal data-type="body" wrap tone="muted" >Your chats, pages and lists are stored on the phone or computer you use.</ds-text><ds-text literal data-type="body" wrap tone="muted" >There is no account to hand over and no server that holds your work.</ds-text></div>
</div>
<div class="nook-panel">
<div class="nook-stack"><ds-text literal data-type="number" wrap tone="muted">2</ds-text><ds-text literal data-type="panel" wrap role="heading" aria-level="3" >Locked, from end to end.</ds-text></div>
<div class="nook-facts"><ds-text literal data-type="body" wrap tone="muted" >Whatever leaves your device is scrambled first, and only your team can unscramble it.</ds-text><ds-text literal data-type="body" wrap tone="muted" >Even we cannot read what you send.</ds-text></div>
</div>
<div class="nook-panel">
<div class="nook-stack"><ds-text literal data-type="number" wrap tone="muted">3</ds-text><ds-text literal data-type="panel" wrap role="heading" aria-level="3" >Open, if you leave.</ds-text></div>
<div class="nook-facts"><ds-text literal data-type="body" wrap tone="muted" >Export everything as plain files at any time, in one tap.</ds-text><ds-text literal data-type="body" wrap tone="muted" >Your work never depends on us staying around.</ds-text></div>
</div>
</div>
</div></section>
<section class="nook-section" aria-labelledby="nook-compose"><div class="nook-wrap">
<div class="nook-head"><ds-text literal data-type="small" wrap tone="muted">What you can make</ds-text><ds-text literal data-type="display" wrap role="heading" aria-level="2" id="nook-compose">Compose freely.</ds-text><ds-text literal data-type="body" wrap tone="muted" >Start with a blank page and add only what you need. Nothing is in the way.</ds-text></div>
<div class="nook-window">
<ds-tabs wrap aria-label="Parts of Nook" data-switch="compose"><ds-button control="host" role="tab" aria-controls="nook-editor" aria-selected="true" active>Editor</ds-button><ds-button control="host" role="tab" aria-controls="nook-databases" aria-selected="false">Databases</ds-button><ds-button control="host" role="tab" aria-controls="nook-templates" aria-selected="false">Templates</ds-button><ds-button control="host" role="tab" aria-controls="nook-widgets" aria-selected="false">Widgets</ds-button></ds-tabs>
<div class="nook-pane" id="nook-editor" role="tabpanel"><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Autumn plan</ds-text><ds-text literal data-type="body" wrap tone="muted" >A page is words first. Add headings, lists and links as you go.</ds-text><div class="nook-check"><ds-checkbox><input type="checkbox" aria-label="Choose the dates" checked></ds-checkbox><ds-text literal data-type="body" wrap >Choose the dates</ds-text></div><div class="nook-check"><ds-checkbox><input type="checkbox" aria-label="Ask the team for ideas"></ds-checkbox><ds-text literal data-type="body" wrap >Ask the team for ideas</ds-text></div><div class="nook-check"><ds-checkbox><input type="checkbox" aria-label="Share the plan"></ds-checkbox><ds-text literal data-type="body" wrap >Share the plan</ds-text></div></div>
<div class="nook-pane" id="nook-databases" role="tabpanel" hidden><ds-text literal data-type="title" wrap role="heading" aria-level="3" >Every list is a database</ds-text><ds-text literal data-type="body" wrap tone="muted" >Give each row its own fields, and see the same rows in a table, a board or a gallery.</ds-text></div>
<div class="nook-pane" id="nook-templates" role="tabpanel" hidden><div class="nook-pane-cols"><ds-card tone="pink"><span slot="title">Meeting notes</span><p>Date, people and what was decided.</p></ds-card><ds-card tone="apple-green"><span slot="title">Project plan</span><p>Goals, dates and who does what.</p></ds-card><ds-card tone="sharp-blue"><span slot="title">Weekly review</span><p>What went well and what comes next.</p></ds-card></div></div>
<div class="nook-pane" id="nook-widgets" role="tabpanel" hidden><div class="nook-pane-cols"><ds-stat literal label="Open tasks" figure="12" caption="Across 3 projects"></ds-stat><ds-stat literal label="Due this week" figure="4" caption="Two are yours"></ds-stat><ds-stat literal label="Pages" figure="86" caption="Added by 7 people"></ds-stat></div></div>
</div>
<div class="nook-views">
<ds-text literal data-type="title" wrap role="heading" aria-level="3" >See the same rows your way.</ds-text>
<div class="nook-window">
<ds-tabs wrap aria-label="Views" data-switch="views"><ds-button control="host" role="tab" aria-controls="nook-table" aria-selected="true" active>Table</ds-button><ds-button control="host" role="tab" aria-controls="nook-kanban" aria-selected="false">Kanban</ds-button><ds-button control="host" role="tab" aria-controls="nook-gallery" aria-selected="false">Gallery</ds-button></ds-tabs>
<div class="nook-pane" id="nook-table" role="tabpanel"><div class="nook-table"><div><ds-text literal data-type="body" wrap >Book the venue</ds-text><ds-text literal data-type="body" wrap tone="muted" >Done</ds-text><ds-text literal data-type="body" wrap tone="muted" >3 Nov</ds-text></div><div><ds-text literal data-type="body" wrap >Send the invites</ds-text><ds-text literal data-type="body" wrap tone="muted" >Doing</ds-text><ds-text literal data-type="body" wrap tone="muted" >10 Nov</ds-text></div><div><ds-text literal data-type="body" wrap >Print the signs</ds-text><ds-text literal data-type="body" wrap tone="muted" >To do</ds-text><ds-text literal data-type="body" wrap tone="muted" >17 Nov</ds-text></div><div><ds-text literal data-type="body" wrap >Thank the helpers</ds-text><ds-text literal data-type="body" wrap tone="muted" >To do</ds-text><ds-text literal data-type="body" wrap tone="muted" >24 Nov</ds-text></div></div></div>
<div class="nook-pane" id="nook-kanban" role="tabpanel" hidden><div class="nook-board"><div class="nook-col"><ds-text literal data-type="small" wrap strong>To do</ds-text><div class="nook-card"><ds-text literal data-type="small" wrap >Print the signs</ds-text></div><div class="nook-card"><ds-text literal data-type="small" wrap >Thank the helpers</ds-text></div></div><div class="nook-col"><ds-text literal data-type="small" wrap strong>Doing</ds-text><div class="nook-card"><ds-text literal data-type="small" wrap >Send the invites</ds-text></div></div><div class="nook-col"><ds-text literal data-type="small" wrap strong>Done</ds-text><div class="nook-card"><ds-text literal data-type="small" wrap >Book the venue</ds-text></div></div></div></div>
<div class="nook-pane" id="nook-gallery" role="tabpanel" hidden><div class="nook-gallery"><ds-image src="/examples/images/room.jpg" alt="A bright room with a table" ratio="4 / 3" ></ds-image><ds-image src="/examples/images/cup.jpg" alt="A cup on a desk" ratio="4 / 3" ></ds-image><ds-image src="/examples/images/chair.jpg" alt="A wooden chair by a wall" ratio="4 / 3" ></ds-image></div></div>
</div>
</div>
</div></section>
<section class="nook-section nook-bloom-c" aria-labelledby="nook-fast"><div class="nook-wrap">
<div class="nook-head"><ds-text literal data-type="small" wrap tone="muted">Made to be quick</ds-text><ds-text literal data-type="display" wrap role="heading" aria-level="2" id="nook-fast">Think fast.</ds-text></div>
<div class="nook-fast">
<div><ds-text literal data-type="figure" wrap role="heading" aria-level="3" >Offline-first</ds-text><ds-text literal data-type="body" wrap tone="muted" >Open, write and search on a plane or a train. Nook never waits for a connection.</ds-text></div>
<div><ds-text literal data-type="figure" wrap role="heading" aria-level="3" >Fast sync</ds-text><ds-text literal data-type="body" wrap tone="muted" >When you are back online, changes find their way to your team in moments.</ds-text></div>
<div><ds-text literal data-type="figure" wrap role="heading" aria-level="3" >Native on phones</ds-text><ds-text literal data-type="body" wrap tone="muted" >A real app for your phone, not a web page in a frame. It opens at once.</ds-text></div>
</div>
</div></section>
<section class="nook-section" id="who" aria-labelledby="nook-who"><div class="nook-wrap">
<div class="nook-head"><ds-text literal data-type="small" wrap tone="muted">Who uses it</ds-text><ds-text literal data-type="display" wrap role="heading" aria-level="2" id="nook-who">Teams who like quiet.</ds-text></div>
<div class="nook-quotes">
<figure class="nook-quote" style="margin:0"><ds-text literal data-type="body" wrap >We stopped worrying about where our notes go. They stay on our laptops.</ds-text><figcaption class="nook-stack"><ds-text literal data-type="small" wrap strong>Mina Okafor</ds-text><ds-text literal data-type="small" wrap tone="muted">Studio lead, Harbour Print</ds-text></figcaption></figure>
<figure class="nook-quote" style="margin:0"><ds-text literal data-type="body" wrap >I write on the train with no signal, and everything is there when I get in.</ds-text><figcaption class="nook-stack"><ds-text literal data-type="small" wrap strong>Tomas Lindgren</ds-text><ds-text literal data-type="small" wrap tone="muted">Researcher, Fjord Labs</ds-text></figcaption></figure>
<figure class="nook-quote" style="margin:0"><ds-text literal data-type="body" wrap >Our whole team moved in an afternoon. The templates did most of the work.</ds-text><figcaption class="nook-stack"><ds-text literal data-type="small" wrap strong>Aiko Tanaka</ds-text><ds-text literal data-type="small" wrap tone="muted">Operations, Little Mill</ds-text></figcaption></figure>
<figure class="nook-quote" style="margin:0"><ds-text literal data-type="body" wrap >It feels like a calm room. Nothing pings, and nothing is lost.</ds-text><figcaption class="nook-stack"><ds-text literal data-type="small" wrap strong>Ruben Castillo</ds-text><ds-text literal data-type="small" wrap tone="muted">Founder, Paper Kite</ds-text></figcaption></figure>
</div>
</div></section>
</div>
</main>
<div data-band="dark">
<section class="nook-closing nook-rule" id="download"><div class="nook-wrap">
<ds-text literal data-type="closing" wrap role="heading" aria-level="2" class="nook-closing-title">Make your own corner of the web.</ds-text>
<ds-button primary data-size="large" href="#download"><span>Download</span></ds-button>
</div></section>
<ds-footer class="nook-footer" brand="nook" tagline="A private workspace for teams" literal year="2026" columns='[{"heading":"Nook","links":[{"label":"What","href":"#what"},{"label":"Why","href":"#why"},{"label":"Who","href":"#who"}]},{"heading":"Get it","links":[{"label":"Download","href":"#download"},{"label":"Introduction","href":"#intro"}]},{"heading":"Help","links":[{"label":"Guides","href":"#guides"},{"label":"Contact","href":"#contact"}]}]'><span slot="legal">A fictional product, drawn by the Nook library.</span></ds-footer>
</div>
</div>
<div class="nook-float-wrap"><nav class="nook-float" aria-label="Sections"><a href="#what" aria-current="true">What</a><a href="#why">Why</a><a href="#who">Who</a></nav></div> 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));
const panel = document.getElementById(tab.getAttribute('aria-controls'));
if (panel) panel.hidden = !on;
});
});
});
document.querySelectorAll('.nook-float a').forEach(link => {
link.addEventListener('click', () => {
document.querySelectorAll('.nook-float a').forEach(item => item.toggleAttribute('aria-current', item === link));
});
}); Speaker launch · Graphite
Section titled “Speaker launch · Graphite”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/graphite.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><ds-header brand="Halo" href="#top" literal><a href="#overview">Overview</a><a href="#sound">Sound</a><a href="#colours">Colours</a><a href="#compare">Compare</a><ds-button slot="actions" primary href="#buy">Buy</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section id="overview" class="site-section site-centre">
<div class="site-tight site-centre"><ds-tag>New</ds-tag><ds-text literal size="display" strong class="site-giant" wrap role="heading" aria-level="1">Halo</ds-text><ds-text literal class="site-lead" wrap>Room-filling sound. Pocket-sized.</ds-text></div>
<div class="site-actions"><ds-button secondary href="#sound">Learn more</ds-button><ds-button primary href="#buy">Buy from €199</ds-button></div>
<ds-image src="/examples/images/headphones.jpg" alt="Halo, a small round fabric speaker, on a pale stone surface" ratio="16 / 9" loading="eager"></ds-image>
</section>
<section class="site-section">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Get the highlights.</ds-text><ds-text literal size="small" tone="muted">Swipe or use the arrows</ds-text></div>
<ds-carousel label="Highlights" literal slide-width="auto" no-dots buttons bleed="end">
<ds-card tone="ink" width="14" height="22" media="bleed"><span slot="label">Battery</span><span slot="title">Twelve hours, then some.</span><ds-image src="/examples/images/forest.webp" alt="Halo on a picnic blanket in the grass" ratio="1" slot="media" ></ds-image></ds-card>
<ds-card tone="sharp-blue" width="20" height="22" media="bleed"><span slot="label">Sound</span><span slot="title">Fills a room from the bookshelf.</span><ds-image src="/examples/images/room.jpg" alt="Halo on a bookshelf in a sunlit living room" ratio="3 / 2" slot="media" ></ds-image></ds-card>
<ds-card tone="hysteric-blue" width="14" height="22" media="center"><span slot="label">Outdoors</span><span slot="title">Rain, sand and the odd splash.</span><ds-image src="/examples/images/chair.jpg" alt="Water drops on the woven fabric of Halo" ratio="1" slot="media" ></ds-image></ds-card>
<ds-card tone="pink" width="14" height="22" media="center"><span slot="label">Pairs</span><span slot="title">Two make stereo.</span><ds-image src="/examples/images/cup.jpg" alt="Halo speakers in four colours" ratio="4 / 3" slot="media" ></ds-image></ds-card>
</ds-carousel>
</section>
<section id="sound" class="site-section">
<div class="site-tight site-centre"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Sound you can almost see.</ds-text><div class="site-copy"><ds-text literal wrap tone="muted">A ring of five drivers sends music every way at once, so every seat in the room is the good seat.</ds-text></div></div>
<ds-bento>
<ds-card tone="ink" data-span="2" data-rows="2" media="bleed"><span slot="label">All around</span><span slot="title">360° sound from a speaker the size of a grapefruit.</span><ds-image src="/examples/images/chair.jpg" alt="The woven fabric and the control ring on top of Halo" ratio="16 / 9" slot="media" ></ds-image></ds-card>
<ds-card ><span slot="label">Battery</span><ds-stat figure="12 h" label="of music on one charge" caption="Fast charge: 2 h in 10 min" literal></ds-stat></ds-card>
<ds-card tone="hysteric-blue"><span slot="label">Tough</span><span slot="title">IP67.</span><ds-text literal wrap>Half an hour under a metre of water, and still playing.</ds-text></ds-card>
<ds-card tone="pink" data-span="3" media="bleed"><span slot="label">Pairs in a tap</span><span slot="title">Hold two together. Now they are left and right.</span><ds-image src="/examples/images/room.jpg" alt="Two Halo speakers on a shelf" ratio="3 / 1" slot="media" ></ds-image></ds-card>
</ds-bento>
</section>
<section id="colours" class="site-section site-rule">
<div class="site-two">
<div class="site-stack"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Pick a colour. Any colour.</ds-text><ds-text id="colour-words" literal wrap tone="muted">Snow: bright, quiet, at home on any shelf.</ds-text>
<div class="site-actions" role="group" aria-label="Colour"><ds-button control="host" data-colour="Snow" active aria-pressed="true"><span class="site-swatch"><ds-swatch value="#f4f4f4"></ds-swatch>Snow</span></ds-button><ds-button control="host" data-colour="Midnight" aria-pressed="false"><span class="site-swatch"><ds-swatch value="#1e1e1e"></ds-swatch>Midnight</span></ds-button><ds-button control="host" data-colour="Sky" aria-pressed="false"><span class="site-swatch"><ds-swatch value="#69d8fb"></ds-swatch>Sky</span></ds-button><ds-button control="host" data-colour="Coral" aria-pressed="false"><span class="site-swatch"><ds-swatch value="#ff5f5f"></ds-swatch>Coral</span></ds-button></div>
</div>
<ds-image src="/examples/images/cup.jpg" alt="Halo in Snow, Midnight, Sky and Coral" ratio="4 / 3" ></ds-image>
</div>
</section>
<section class="site-section">
<ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Take it anywhere.</ds-text>
<ds-carousel label="Where Halo goes" literal buttons>
<figure class="site-slide"><ds-image src="/examples/images/forest.webp" alt="Halo on a picnic blanket by the water" ratio="16 / 9" ></ds-image><ds-text literal size="small" tone="muted">To the park, on a strap.</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/room.jpg" alt="Halo on the living room shelf" ratio="16 / 9" ></ds-image><ds-text literal size="small" tone="muted">Back on the shelf by dinner.</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/headphones.jpg" alt="Halo on a bathroom counter" ratio="16 / 9" ></ds-image><ds-text literal size="small" tone="muted">Into the shower, if you like.</ds-text></figure>
</ds-carousel>
</section>
<section id="compare" class="site-section site-rule">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Which Halo is yours?</ds-text><ds-button href="#buy" secondary>Compare all <ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
<ds-table id="compare-table" label="Compare Halo speakers"></ds-table>
</section>
<section id="buy" class="site-section site-two">
<div class="site-stack"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Questions, answered.</ds-text></div>
<div class="site-stack"><ds-accordion literal summary="Does it work with my phone?" open>Any phone or computer with Bluetooth. Hold it near an iPhone to pair in one step.</ds-accordion><ds-accordion literal summary="How long does delivery take?">Two to four working days, free, with a month to change your mind.</ds-accordion><ds-accordion literal summary="Can I replace the battery?">Yes. The base unscrews, and a new battery costs €29.</ds-accordion>
<div class="site-actions"><ds-button primary id="buy-button">Buy Halo in Snow · €199</ds-button></div><ds-text id="speaker-status" class="site-status" literal role="status" wrap></ds-text></div>
</section>
</div>
<ds-footer slot="footer" brand="Halo" tagline="A small speaker for a big room" literal year="2026" preferences="theme" columns='[{"heading":"Shop","links":[{"label":"Halo","href":"#halo"},{"label":"Halo mini","href":"#halo-mini"},{"label":"Accessories","href":"#accessories"}]},{"heading":"Support","links":[{"label":"Set up","href":"#set-up"},{"label":"Warranty","href":"#warranty"},{"label":"Contact","href":"#contact"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Graphite library.</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));});}
const words = { Snow: 'Snow: bright, quiet, at home on any shelf.', Midnight: 'Midnight: disappears into the evening.', Sky: 'Sky: a little summer, all year.', Coral: 'Coral: the one people ask about.' };
let colour = 'Snow';
document.querySelectorAll('[data-colour]').forEach(button => button.addEventListener('click', () => {
choose('[data-colour]', button); colour = button.dataset.colour;
document.querySelector('#colour-words').textContent = words[colour];
document.querySelector('#buy-button').textContent = 'Buy Halo in ' + colour + ' · €199';
}));
document.querySelector('#buy-button').addEventListener('click', () => { document.querySelector('#speaker-status').textContent = 'Halo in ' + colour + ' is in your bag. Nothing is paid in this demo.'; });
const table = document.querySelector('#compare-table');
table.columns = [{ key: 'feature', label: '' }, { key: 'mini', label: 'Halo mini' }, { key: 'halo', label: 'Halo' }, { key: 'max', label: 'Halo max' }];
table.data = [
{ feature: 'Price', mini: '€129', halo: '€199', max: '€349' },
{ feature: 'Battery', mini: '8 h', halo: '12 h', max: '20 h' },
{ feature: 'Drivers', mini: '3', halo: '5', max: '7' },
{ feature: 'Water', mini: 'IP54', halo: 'IP67', max: 'IP67' },
{ feature: 'Weight', mini: '310 g', halo: '540 g', max: '1.2 kg' },
]; Bike maker · Grove
Section titled “Bike maker · Grove”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/grove.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><ds-message form="banner" text="Free test rides every Saturday in October." literal><ds-button slot="actions" href="#ride">Book a ride</ds-button></ds-message>
<ds-header brand="Tern" href="#top" literal><a href="#bikes">Bikes</a><a href="#rides">Rides</a><a href="#specs">Specs</a><ds-button slot="actions" primary href="#ride">Test ride</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-two"><div class="site-tight"><ds-text literal tone="muted">Tern City · electric</ds-text><ds-text literal size="display" strong class="site-giant" wrap role="heading" aria-level="1">Hills, flattened.</ds-text></div><div class="site-stack"><ds-text literal class="site-lead" wrap>A light electric bike that makes the long way home the nice way home.</ds-text><div class="site-actions"><ds-button primary href="#ride">Book a test ride</ds-button><ds-button secondary href="#bikes">See the bikes <ds-icon type="down" aria-hidden="true"></ds-icon></ds-button></div></div></div>
<ds-image src="/examples/images/forest.webp" alt="A green step-through electric bike, seen from the side" ratio="16 / 9" loading="eager"></ds-image>
<div class="site-three"><ds-stat id="range" figure="120 km" label="Range" caption="On one charge" literal></ds-stat><ds-stat id="weight" figure="19 kg" label="Weight" caption="Battery included" literal></ds-stat><ds-stat id="price" value="2490" format="money" currency="EUR" whole label="From" caption="Or €104 a month" literal></ds-stat></div>
</section>
<section id="bikes" class="site-section site-rule">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Three bikes. One way of riding.</ds-text><ds-tabs role="group" aria-label="Bike"><ds-button control="host" data-bike="city" aria-pressed="true" active>City</ds-button><ds-button control="host" data-bike="gravel" aria-pressed="false">Gravel</ds-button><ds-button control="host" data-bike="cargo" aria-pressed="false">Cargo</ds-button></ds-tabs></div>
<ds-bento>
<ds-card tone="metal-green" data-span="2" data-rows="2" media="bleed"><span slot="label">Motor</span><span slot="title">Help that feels like your own legs.</span><ds-text literal wrap>The motor reads how hard you push, a thousand times a second, and adds just enough.</ds-text><ds-image src="/examples/images/room.jpg" alt="A rider on a quiet city street at dawn" ratio="3 / 2" slot="media" ></ds-image></ds-card>
<ds-card tone="chartreuse"><span slot="label">Battery</span><span slot="title">Out in one click.</span><ds-text literal wrap>Charge it at your desk; it weighs what a laptop does.</ds-text></ds-card>
<ds-card tone="ink" media="center"><span slot="label">Display</span><span slot="title">Only what you need.</span><ds-image src="/examples/images/chair.jpg" alt="The small round display on the handlebar" ratio="1" slot="media" ></ds-image></ds-card>
<ds-card data-span="3"><span slot="label">Lights</span><span slot="title">On when it is dark. Off when it is not.</span><ds-text literal wrap tone="muted">Front and rear lights wired to the battery, with a sensor that switches them for you.</ds-text></ds-card>
</ds-bento>
</section>
<section id="rides" class="site-section">
<ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Where it takes people.</ds-text>
<ds-carousel label="Rides" literal slide-width="16" buttons>
<figure class="site-slide"><ds-image src="/examples/images/lake.jpg" alt="A gravel road through pine trees at dusk" ratio="4 / 5" ></ds-image><ds-text literal wrap>Sixty kilometres of gravel, before dinner.</ds-text><ds-text literal size="small" tone="muted">Ines, Gravel</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/room.jpg" alt="A city street with a cycle lane" ratio="4 / 5" ></ds-image><ds-text literal wrap>Across town in twelve minutes, not sweating.</ds-text><ds-text literal size="small" tone="muted">Tom, City</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/forest.webp" alt="The bike parked by a garden fence" ratio="4 / 5" ></ds-image><ds-text literal wrap>Two children and the shopping, uphill.</ds-text><ds-text literal size="small" tone="muted">Mette, Cargo</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/chair.jpg" alt="The handlebar on a morning ride" ratio="4 / 5" ></ds-image><ds-text literal wrap>The car stays in the drive most days now.</ds-text><ds-text literal size="small" tone="muted">Sam, City</ds-text></figure>
</ds-carousel>
</section>
<section id="ride" class="site-section site-two site-rule">
<div class="site-stack"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Ride one this week.</ds-text><ds-text literal wrap tone="muted">Half an hour on your own, with a helmet and a route we like. No one will sell you anything.</ds-text></div>
<div class="site-stack"><div class="site-actions"><ds-calendar picker id="ride-day" label="Day" literal placeholder="Choose a day" min="2026-10-21"></ds-calendar><ds-select><select id="ride-shop" aria-label="Shop"><option>Copenhagen</option><option>Aarhus</option><option>Odense</option></select></ds-select><ds-button primary id="ride-book">Book</ds-button></div><ds-text id="ride-status" class="site-status" literal role="status" wrap></ds-text></div>
</section>
<section id="specs" class="site-section">
<ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Specifications</ds-text>
<ds-table id="bike-specs" label="Specifications"></ds-table>
</section>
</div>
<ds-footer slot="footer" brand="Tern" tagline="Electric bikes, made to be ridden" literal year="2026" preferences="theme" columns='[{"heading":"Bikes","links":[{"label":"City","href":"#city"},{"label":"Gravel","href":"#gravel"},{"label":"Cargo","href":"#cargo"}]},{"heading":"Owners","links":[{"label":"Service","href":"#service"},{"label":"Insurance","href":"#insurance"},{"label":"Parts","href":"#parts"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Grove library.</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));});}
const bikes = {
city: { range: '120 km', weight: '19 kg', price: 2490, motor: '250 W hub', gears: '5, in the hub', tyres: '42 mm city' },
gravel: { range: '140 km', weight: '17 kg', price: 2990, motor: '250 W mid-drive', gears: '11', tyres: '45 mm gravel' },
cargo: { range: '90 km', weight: '34 kg', price: 3990, motor: '250 W mid-drive', gears: 'Stepless', tyres: '55 mm' },
};
const table = document.querySelector('#bike-specs');
table.columns = [{ key: 'part', label: 'Part' }, { key: 'value', label: 'Tern' }];
function show(name) {
const bike = bikes[name];
document.querySelector('#range').figure = bike.range; document.querySelector('#weight').figure = bike.weight; document.querySelector('#price').value = bike.price;
document.querySelector('#price').caption = 'Or €' + Math.round(bike.price / 24) + ' a month';
table.columns = [{ key: 'part', label: 'Part' }, { key: 'value', label: 'Tern ' + name[0].toUpperCase() + name.slice(1) }];
table.data = [{ part: 'Motor', value: bike.motor }, { part: 'Range', value: bike.range }, { part: 'Gears', value: bike.gears }, { part: 'Tyres', value: bike.tyres }, { part: 'Weight', value: bike.weight }];
}
document.querySelectorAll('[data-bike]').forEach(button => button.addEventListener('click', () => { choose('[data-bike]', button); show(button.dataset.bike); }));
document.querySelector('#ride-book').addEventListener('click', () => {
const day = document.querySelector('#ride-day').value.split('/')[0];
document.querySelector('#ride-status').textContent = day ? 'Booked: ' + day + ' in ' + document.querySelector('#ride-shop').value + '. Nothing is sent in this demo.' : 'Choose a day first.';
});
show('city'); Festival · Bloom
Section titled “Festival · Bloom”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/bloom.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><ds-message form="banner" text="Early tickets are gone. Weekend tickets from €149." literal></ds-message>
<ds-header brand="Low Tide" href="#top" literal><a href="#line-up">Line-up</a><a href="#schedule">Schedule</a><a href="#tickets">Tickets</a><ds-button slot="actions" primary href="#tickets">Tickets</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section site-centre">
<div class="site-tight site-centre"><ds-text literal tone="muted">14–16 August 2027 · On the beach at Skagen</ds-text><ds-text literal size="display" strong class="site-giant" wrap role="heading" aria-level="1">Three days by the sea.</ds-text></div>
<ds-image src="/examples/images/lake.jpg" alt="A small stage on the beach at sunset, the crowd in silhouette" ratio="16 / 9" loading="eager"></ds-image>
</section>
<section id="line-up" class="site-section">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">The line-up</ds-text><ds-text literal size="small" tone="muted">Forty acts on three stages</ds-text></div>
<ds-carousel label="Line-up" literal slide-width="auto" no-dots buttons bleed="end">
<ds-card tone="tuned-red" width="12" height="20" media="bleed" href="#schedule"><span slot="label">Friday</span><span slot="title">Mira Sol</span><ds-image src="/examples/images/headphones.jpg" alt="A saxophone on a stand under pink stage light" ratio="4 / 5" slot="media" ></ds-image></ds-card>
<ds-card tone="ink" width="12" height="20" media="bleed" href="#schedule"><span slot="label">Friday</span><span slot="title">Night Ferry</span><ds-image src="/examples/images/cup.jpg" alt="Record decks lit by a single lamp" ratio="4 / 5" slot="media" ></ds-image></ds-card>
<ds-card tone="orange" width="12" height="20" media="bleed" href="#schedule"><span slot="label">Saturday</span><span slot="title">The Harbour Choir</span><ds-image src="/examples/images/room.jpg" alt="Rows of empty chairs before a choir performance in a tent" ratio="4 / 5" slot="media" ></ds-image></ds-card>
<ds-card tone="purple" width="12" height="20" media="bleed" href="#schedule"><span slot="label">Sunday</span><span slot="title">Salt Strings</span><ds-image src="/examples/images/chair.jpg" alt="A cello leaning against a wooden beach hut" ratio="4 / 5" slot="media" ></ds-image></ds-card>
</ds-carousel>
</section>
<section id="schedule" class="site-section site-rule">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Schedule</ds-text><ds-tabs role="group" aria-label="Day"><ds-button control="host" data-day="friday" aria-pressed="true" active>Friday</ds-button><ds-button control="host" data-day="saturday" aria-pressed="false">Saturday</ds-button><ds-button control="host" data-day="sunday" aria-pressed="false">Sunday</ds-button></ds-tabs></div>
<ds-list id="sets"></ds-list>
</section>
<section id="tickets" class="site-section">
<ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Tickets</ds-text>
<div class="site-three">
<ds-card variant="outlined"><span slot="label">One day</span><span slot="title">€69</span><div class="site-price"><div class="site-list"><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Any one day</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >All three stages</ds-text></div></div><ds-button secondary data-ticket="One day" data-price="69">Choose</ds-button></div></ds-card>
<ds-card tone="tuned-red"><span slot="label">Weekend</span><span slot="title">€149</span><div class="site-price"><div class="site-list"><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Friday to Sunday</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Re-entry all weekend</ds-text></div></div><ds-button primary data-ticket="Weekend" data-price="149">Choose</ds-button></div></ds-card>
<ds-card tone="ink"><span slot="label">Weekend and tent</span><span slot="title">€219</span><div class="site-price"><div class="site-list"><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Weekend ticket</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >A pitch in the dunes</ds-text></div></div><ds-button secondary data-ticket="Weekend and tent" data-price="219">Choose</ds-button></div></ds-card>
</div>
<div class="site-between"><ds-stat id="ticket-total" value="298" format="money" currency="EUR" whole label="2 × Weekend" literal></ds-stat><div class="site-actions"><ds-select><select id="ticket-count" aria-label="How many"><option value="1">1 ticket</option><option value="2" selected>2 tickets</option><option value="4">4 tickets</option></select></ds-select><ds-button primary id="ticket-buy">Buy tickets</ds-button></div></div>
<ds-text id="ticket-status" class="site-status" literal role="status" wrap></ds-text>
</section>
<section class="site-section site-two site-rule">
<ds-image src="/examples/images/forest.webp" alt="A drawn map of the festival on the beach, with the three stages and the dunes" ratio="4 / 3" ></ds-image>
<div class="site-stack"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Getting there</ds-text><ds-accordion literal summary="By train" open>Trains run from Copenhagen to Skagen every hour; the beach is a twenty-minute walk.</ds-accordion><ds-accordion literal summary="By bike">Racks for two thousand bikes by the north gate, watched all night.</ds-accordion><ds-accordion literal summary="By car">Park in town and take the free shuttle; there is no parking at the beach.</ds-accordion></div>
</section>
</div>
<ds-footer slot="footer" brand="Low Tide" tagline="Music on the beach at Skagen" literal year="2026" preferences="theme" columns='[{"heading":"Festival","links":[{"label":"Line-up","href":"#line-up"},{"label":"Tickets","href":"#tickets"},{"label":"Map","href":"#map"}]},{"heading":"Help","links":[{"label":"Access","href":"#access"},{"label":"Lost and found","href":"#lost-and-found"},{"label":"Contact","href":"#contact"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Bloom library.</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));});}
const sets = {
friday: [['17:00', 'Sea Glass', 'Dune'], ['19:30', 'Mira Sol', 'Beach'], ['22:00', 'Night Ferry', 'Beach']],
saturday: [['14:00', 'The Harbour Choir', 'Tent'], ['18:00', 'Low Sun', 'Dune'], ['21:30', 'Big Wave Club', 'Beach']],
sunday: [['12:00', 'Morning Swim', 'Dune'], ['16:00', 'Salt Strings', 'Tent'], ['20:00', 'Last Light', 'Beach']],
};
function showDay(day) {
const list = document.querySelector('#sets'); list.replaceChildren();
for (const [time, name, stage] of sets[day]) {
const row = document.createElement('ds-row'); row.setAttribute('fill', '');
const when = document.createElement('ds-text'); when.setAttribute('literal', ''); when.setAttribute('tone', 'muted'); when.textContent = time; when.style.width = 'calc(3 * var(--ds-unit))';
const who = document.createElement('ds-text'); who.setAttribute('literal', ''); who.setAttribute('strong', ''); who.textContent = name; who.style.flex = '1';
const where = document.createElement('ds-tag'); where.textContent = stage;
row.append(when, who, where); list.append(row);
}
}
let ticket = 'Weekend', price = 149;
function total() { const count = Number(document.querySelector('#ticket-count').value); const stat = document.querySelector('#ticket-total'); stat.value = price * count; stat.label = count + ' × ' + ticket; }
document.querySelectorAll('[data-day]').forEach(button => button.addEventListener('click', () => { choose('[data-day]', button); showDay(button.dataset.day); }));
document.querySelectorAll('[data-ticket]').forEach(button => button.addEventListener('click', () => { ticket = button.dataset.ticket; price = Number(button.dataset.price); total(); }));
document.querySelector('#ticket-count').addEventListener('change', total);
document.querySelector('#ticket-buy').addEventListener('click', () => { document.querySelector('#ticket-status').textContent = document.querySelector('#ticket-total').label + ' in your basket. Nothing is paid in this demo.'; });
showDay('friday'); total(); Developer platform · Signal
Section titled “Developer platform · Signal”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/signal.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><ds-header brand="relay" href="#top" literal><a href="#features">Product</a><a href="#pricing">Pricing</a><a href="#changelog">Changelog</a><ds-button slot="actions" href="#pricing">Sign in</ds-button><ds-button slot="actions" primary href="#pricing">Start free</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section site-two">
<div class="site-stack"><ds-text literal size="display" strong class="site-giant" wrap role="heading" aria-level="1">Ship on every merge.</ds-text><ds-text literal class="site-lead" wrap>Push to main. Relay builds, tests and puts it live in forty regions before the review tab closes.</ds-text><div class="site-actions"><ds-button primary href="#pricing">Start free</ds-button><ds-button secondary href="#features">How it works</ds-button></div></div>
<div class="site-stack"><div data-ds-prose><pre><code>$ npx relay deploy
✓ Built in 2.1 s
✓ 214 tests passed
✓ Live in 40 regions
https://north.relay.run</code></pre></div><ds-image src="/examples/images/lake.jpg" alt="Bright lines of light fanning out across a dark field" ratio="16 / 9" loading="eager"></ds-image></div>
</section>
<div class="site-three site-rule"><ds-stat figure="3.1 s" label="Median deploy" caption="From push to live" literal></ds-stat><ds-stat value="0.9999" format="percent" digits="2" label="Uptime" caption="Over the last year" literal></ds-stat><ds-stat value="40" format="number" label="Regions" caption="And every one of them is close" literal></ds-stat></div>
<section id="features" class="site-section">
<ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Everything after git push.</ds-text>
<ds-bento data-ds-fault-lines="off">
<ds-card tone="ink" data-span="2"><span slot="label">Previews</span><span slot="title">Every branch gets an address.</span><ds-text literal wrap>Share a link with the people who need to see it. It goes away when the branch does.</ds-text></ds-card>
<ds-card tone="drip-yellow"><span slot="label">Rollbacks</span><span slot="title">One click back.</span><ds-text literal wrap>Every deploy is kept. Go back to any of them in a second.</ds-text></ds-card>
<ds-card ><span slot="label">Logs</span><span slot="title">Search a week of logs.</span><ds-text literal wrap tone="muted">Across every region, as you type.</ds-text></ds-card>
<ds-card tone="every-green" data-span="2"><span slot="label">Health</span><span slot="title">We look before you have to.</span><ds-chart id="health" kind="area" rows="6" grid="none" aria-label="Requests over a week, steady with a midweek peak"></ds-chart></ds-card>
</ds-bento>
</section>
<section id="changelog" class="site-section">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Changelog</ds-text><ds-text literal size="small" tone="muted">A new thing most weeks</ds-text></div>
<ds-carousel label="Changelog" literal slide-width="auto" no-dots buttons>
<ds-card variant="outlined" width="16" height="10"><span slot="label">20 Oct</span><span slot="title">Deploys from pull requests</span><ds-text literal wrap tone="muted">Comment /deploy and the branch goes live.</ds-text></ds-card>
<ds-card variant="outlined" width="16" height="10"><span slot="label">13 Oct</span><span slot="title">Logs you can share</span><ds-text literal wrap tone="muted">Copy a link to the exact lines.</ds-text></ds-card>
<ds-card variant="outlined" width="16" height="10"><span slot="label">6 Oct</span><span slot="title">Three new regions</span><ds-text literal wrap tone="muted">Lagos, Santiago and Osaka.</ds-text></ds-card>
<ds-card variant="outlined" width="16" height="10"><span slot="label">29 Sep</span><span slot="title">Faster cold starts</span><ds-text literal wrap tone="muted">A third quicker, with nothing to change.</ds-text></ds-card>
</ds-carousel>
</section>
<section id="pricing" class="site-section site-rule">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Pricing</ds-text><ds-tabs role="group" aria-label="Billing"><ds-button control="host" data-billing="monthly" aria-pressed="true" active>Monthly</ds-button><ds-button control="host" data-billing="yearly" aria-pressed="false">Yearly</ds-button></ds-tabs></div>
<div class="site-three" data-ds-fault-lines="platform-pricing">
<ds-card variant="outlined"><span slot="label">Hobby</span><span slot="title"><span data-price="0">€0</span></span><div class="site-price"><div class="site-list"><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >One project</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Previews</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Community help</ds-text></div></div><ds-button secondary>Start free</ds-button></div></ds-card>
<ds-card tone="drip-yellow"><span slot="label">Team</span><span slot="title"><span data-price="20">€20</span></span><div class="site-price"><div class="site-list"><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Unlimited projects</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Rollbacks and logs</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Help in a day</ds-text></div></div><ds-button primary>Try it for 14 days</ds-button></div></ds-card>
<ds-card tone="ink"><span slot="label">Company</span><span slot="title"><span data-price="90">€90</span></span><div class="site-price"><div class="site-list"><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Single sign-on</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >Audit trail</ds-text></div><div><ds-icon type="check" aria-hidden="true"></ds-icon><ds-text literal >A person to call</ds-text></div></div><ds-button secondary>Talk to us</ds-button></div></ds-card>
</div>
<ds-text id="billing-note" literal size="small" tone="muted">Per person, per month, billed monthly.</ds-text>
</section>
<section class="site-section">
<ds-carousel label="What teams say" literal buttons>
<blockquote class="site-quote"><ds-text literal class="site-lead" wrap>“We stopped talking about deploys. They just happen now.”</ds-text><ds-text literal size="small" tone="muted">Ana, North Studio</ds-text></blockquote>
<blockquote class="site-quote"><ds-text literal class="site-lead" wrap>“The preview links did more for our reviews than any tool we tried.”</ds-text><ds-text literal size="small" tone="muted">Kofi, Field Notes</ds-text></blockquote>
<blockquote class="site-quote"><ds-text literal class="site-lead" wrap>“Rolled back on a Friday night in one click and went back to dinner.”</ds-text><ds-text literal size="small" tone="muted">Lea, Harbour</ds-text></blockquote>
</ds-carousel>
</section>
</div>
<ds-footer slot="footer" brand="relay" tagline="Deploys you stop thinking about" literal year="2026" preferences="theme" columns='[{"heading":"Product","links":[{"label":"Docs","href":"#docs"},{"label":"Pricing","href":"#pricing"},{"label":"Changelog","href":"#changelog"}]},{"heading":"Company","links":[{"label":"About","href":"#about"},{"label":"Status","href":"#status"},{"label":"Security","href":"#security"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Signal library.</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.querySelector('#health').data = Array.from({ length: 28 }, (_, index) => ({ time: index * 21600, value: 40 + 30 * Math.sin(Math.PI * index / 27) + 6 * Math.sin(index * 2.1) }));
document.querySelectorAll('[data-billing]').forEach(button => button.addEventListener('click', () => {
choose('[data-billing]', button);
const yearly = button.dataset.billing === 'yearly';
document.querySelectorAll('[data-price]').forEach(price => { const monthly = Number(price.dataset.price); price.textContent = '€' + (yearly ? Math.round(monthly * 0.8) : monthly); });
document.querySelector('#billing-note').textContent = yearly ? 'Per person, per month, billed yearly: two and a half months free.' : 'Per person, per month, billed monthly.';
})); Travel magazine · Lagoon
Section titled “Travel magazine · Lagoon”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/lagoon.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><ds-header brand="Atlas" href="#top" literal><a href="#stories">Stories</a><a href="#essay">Photo essay</a><a href="#letter">Letter</a><ds-button slot="actions" primary href="#letter">Subscribe</ds-button></ds-header>
<ds-page layout="column" measure="56" data-ds-surface>
<div class="site" id="top">
<section class="site-section">
<ds-card tone="ink" href="#essay" media="bleed"><span slot="label">Issue 12 · Winter</span><span slot="title">The slow way north: nine days by train, ferry and foot to the edge of the map.</span><ds-image src="/examples/images/lake.jpg" alt="A coastline seen from above, a road along the cliffs" ratio="21 / 9" slot="media" loading="eager"></ds-image></ds-card>
</section>
<section id="stories" class="site-section">
<div class="site-between"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">In this issue</ds-text><ds-text literal size="small" tone="muted">Seven stories, four countries</ds-text></div>
<ds-carousel label="Stories" literal slide-width="auto" no-dots buttons bleed="end">
<ds-card tone="hysteric-blue" width="14" height="22" media="bleed" href="#stories"><span slot="label">Alps</span><span slot="title">A village that closes its road for winter</span><ds-image src="/examples/images/forest.webp" alt="Snow on the roofs of a small alpine village" ratio="4 / 5" slot="media" ></ds-image></ds-card>
<ds-card tone="orange" width="14" height="22" media="bleed" href="#stories"><span slot="label">Desert</span><span slot="title">Six hundred kilometres of empty road</span><ds-image src="/examples/images/room.jpg" alt="A straight road into the desert at noon" ratio="4 / 5" slot="media" ></ds-image></ds-card>
<ds-card tone="pink" width="14" height="22" media="bleed" href="#stories"><span slot="label">Coast</span><span slot="title">The harbour that paints its boats every spring</span><ds-image src="/examples/images/cup.jpg" alt="Bright painted fishing boats in a small harbour" ratio="4 / 5" slot="media" ></ds-image></ds-card>
<ds-card tone="sharp-blue" width="14" height="22" media="bleed" href="#stories"><span slot="label">Rail</span><span slot="title">Sleeping on the night train, and why it is back</span><ds-image src="/examples/images/chair.jpg" alt="A night train compartment with a window onto snow" ratio="4 / 5" slot="media" ></ds-image></ds-card>
</ds-carousel>
</section>
<section id="essay" class="site-section site-rule">
<div class="site-tight site-centre"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">Nine days north</ds-text><ds-text literal tone="muted">A photo essay by Ines Holm</ds-text></div>
<ds-carousel id="essay-slides" label="Nine days north" literal buttons end>
<figure class="site-slide"><ds-image src="/examples/images/lake.jpg" alt="The coast road on the first morning" ratio="16 / 9" ></ds-image><ds-text literal wrap tone="muted">Day one. The road along the cliffs, before anyone else is up.</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/chair.jpg" alt="Snow passing the window of the night train" ratio="16 / 9" ></ds-image><ds-text literal wrap tone="muted">Day four. The night train, somewhere past the border.</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/forest.webp" alt="A village under snow at dusk" ratio="16 / 9" ></ds-image><ds-text literal wrap tone="muted">Day seven. The last village with a shop.</ds-text></figure>
<figure class="site-slide"><ds-image src="/examples/images/cup.jpg" alt="Boats in the harbour at the end of the line" ratio="16 / 9" ></ds-image><ds-text literal wrap tone="muted">Day nine. The end of the line, and the boats.</ds-text></figure>
</ds-carousel>
<div class="site-two"><div><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="3">Getting there is the point.</ds-text></div><div data-ds-prose><p>The fast way north takes three hours and two airports. We took nine days, and on most of them we did not know where we would sleep.</p><p>This issue is about the long way round: the night trains coming back, the roads that close for winter, and the people who live at the end of them.</p></div></div>
</section>
<section id="letter" class="site-section site-two site-rule">
<div class="site-stack"><ds-text literal size="display" strong class="site-big" wrap role="heading" aria-level="2">A letter from somewhere, every Sunday.</ds-text><ds-text literal wrap tone="muted">One place, one story, a few photographs. No more than that.</ds-text></div>
<div class="site-stack"><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">Subscribe</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="Atlas" tagline="A magazine for the long way round" literal year="2026" preferences="theme" columns='[{"heading":"Read","links":[{"label":"Stories","href":"#stories"},{"label":"Photo essays","href":"#photo-essays"},{"label":"Archive","href":"#archive"}]},{"heading":"Atlas","links":[{"label":"About","href":"#about"},{"label":"Contributors","href":"#contributors"},{"label":"Contact","href":"#contact"}]}]'><span slot="legal" style="min-width:0"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Lagoon library.</ds-text></span></ds-footer>
</ds-page> 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 letter arrives on Sunday. Nothing is sent in this demo.' : 'Write an email address first.';
}); Travel stays · Lagoon
Section titled “Travel stays · Lagoon”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/lagoon.css">
<style>
.lib-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.lib-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.lib-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-grow { flex:1; min-width:0; }
.lib-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.lib-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.lib-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-hero { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:stretch; }
.lib-hero-copy { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.lib-title { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.lib-copy { max-width:calc(24 * var(--ds-unit)); }
.lib-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.lib-caption > * { min-width:0; }
.lib-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-workspace { --ds-page-nav:calc(10 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.lib-workspace-nav { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); align-content:start; min-width:0; }
.lib-booking { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-stay { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; }
.lib-menu { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-dish { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:var(--ds-unit); align-items:end; min-height:calc(2 * var(--ds-unit)); padding-bottom:calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); }
.lib-order { --ds-progress-track:var(--ds-paper); display:grid; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--ds-fill); border-radius:var(--ds-radius-card); }
.lib-line { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.lib-status:empty { display:none; }
.lib-week { display:grid; grid-template-columns:minmax(0,2fr) minmax(calc(14 * var(--ds-unit)),1fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-services { display:grid; gap:0; }
.lib-service { display:grid; grid-template-columns:minmax(0,1fr) calc(6 * var(--ds-unit)) auto; gap:var(--ds-unit); align-items:end; min-height:var(--ds-unit); padding-block:calc(var(--ds-unit) / 2) calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); line-height:calc(16px * var(--sf, 1)); }
.lib-service ds-spark { height:var(--ds-unit); }
.lib-stack [hidden], .lib-three [hidden], .lib-tight [hidden] { display:none!important; }
@media(max-width:900px) { .lib-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; } .lib-menu, .lib-week { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.lib-hero, .lib-two { grid-template-columns:1fr; gap:var(--ds-unit); }
.lib-hero-copy { padding-block:0; gap:var(--ds-unit); }
.lib-three { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lib-three > :first-child { grid-column:1 / -1; }
.lib-nav .lib-nav-secondary { display:none; }
.lib-service { grid-template-columns:minmax(0,1fr) auto; }
.lib-service ds-spark { display:none; }
}
</style><ds-page layout="column" measure="52" data-ds-surface>
<div slot="header" class="lib-nav"><ds-text literal strong size="display">Stillwater</ds-text><div class="lib-actions"><ds-button href="#stays" class="lib-nav-secondary">Stays</ds-button><ds-button href="#how" class="lib-nav-secondary">How it works</ds-button><ds-button id="saved" secondary><ds-icon type="star" aria-hidden="true"></ds-icon> Saved · 0</ds-button></div></div>
<div class="lib-stack">
<section class="lib-hero">
<div class="lib-hero-copy"><div class="lib-tight"><ds-text literal size="small" tone="muted" wrap>Cabins on the water, open all year</ds-text><ds-text literal size="display" class="lib-title" wrap role="heading" aria-level="1">Slow mornings by still water.</ds-text></div>
<div class="lib-stack lib-copy"><div data-ds-prose><p>Twelve small cabins on three quiet lakes. A boat at the jetty, a stove for the evening, nowhere to be.</p></div>
<div class="lib-booking"><ds-calendar picker id="trip-dates" label="Dates" literal placeholder="Choose dates" value="2026-11-13/2026-11-16" min="2026-10-20"></ds-calendar><ds-select><select id="guests" aria-label="Guests"><option value="1">1 guest</option><option value="2" selected>2 guests</option><option value="4">4 guests</option></select></ds-select><ds-button id="search" primary>Find a cabin <ds-icon type="right" aria-hidden="true"></ds-icon></ds-button></div>
<ds-text id="trip-status" class="lib-status" literal role="status" wrap></ds-text></div></div>
<ds-image src="/examples/images/lake.jpg" alt="Mountains mirrored in a still lake at dawn" ratio="1" loading="eager"></ds-image>
</section>
<div class="lib-three"><ds-stat figure="12 cabins" label="On three lakes" caption="Each with its own jetty" literal></ds-stat><ds-stat value="140" format="money" currency="EUR" whole label="From, a night" caption="Breakfast basket included" literal></ds-stat><ds-stat figure="4.9 of 5" label="Guests say" caption="From 2,300 stays" literal></ds-stat></div>
<section id="stays" class="lib-stack lib-rule">
<div class="lib-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Stays for your dates</ds-text><ds-tabs role="group" aria-label="Kind of stay"><ds-button control="host" data-kind="all" aria-pressed="true" active>All</ds-button><ds-button control="host" data-kind="cabins" aria-pressed="false">Cabins</ds-button><ds-button control="host" data-kind="boathouses" aria-pressed="false">Boathouses</ds-button></ds-tabs></div>
<div class="lib-three">
<article class="lib-stay" data-stay="cabins"><ds-image src="/examples/images/forest.webp" alt="A path through pine forest to the cabin" ratio="1" ></ds-image><div class="lib-caption"><ds-text literal strong>Pine cabin</ds-text><ds-text literal >€140</ds-text></div><ds-text literal size="small" tone="muted">Sleeps 2 · Wood stove</ds-text><div class="lib-actions"><ds-tag>Lake view</ds-tag><ds-button secondary data-save="Pine cabin"><ds-icon type="star" aria-hidden="true"></ds-icon> Save</ds-button></div></article>
<article class="lib-stay" data-stay="boathouses"><ds-image src="/examples/images/lake.jpg" alt="The boathouse jetty over clear water" ratio="1" position="50% 80%"></ds-image><div class="lib-caption"><ds-text literal strong>The boathouse</ds-text><ds-text literal >€190</ds-text></div><ds-text literal size="small" tone="muted">Sleeps 4 · Rowing boat</ds-text><div class="lib-actions"><ds-tag>On the water</ds-tag><ds-button secondary data-save="The boathouse"><ds-icon type="star" aria-hidden="true"></ds-icon> Save</ds-button></div></article>
<article class="lib-stay" data-stay="cabins"><ds-image src="/examples/images/room.jpg" alt="A cane chair by the cabin window" ratio="1" position="50% 75%"></ds-image><div class="lib-caption"><ds-text literal strong>Reading cabin</ds-text><ds-text literal >€160</ds-text></div><ds-text literal size="small" tone="muted">Sleeps 2 · A shelf of books</ds-text><div class="lib-actions"><ds-tag>Quiet</ds-tag><ds-button secondary data-save="Reading cabin"><ds-icon type="star" aria-hidden="true"></ds-icon> Save</ds-button></div></article>
</div>
</section>
<section id="how" class="lib-two lib-rule"><div><ds-text literal size="display" strong wrap role="heading" aria-level="2">Arrive, and the lake does the rest.</ds-text></div><div class="lib-stack"><ds-accordion literal summary="How do I get the key?" open>A code arrives the morning you travel. The door opens with it until you leave.</ds-accordion><ds-accordion literal summary="Is there a boat?">Every cabin has a rowing boat, life jackets and a map of the swimming spots.</ds-accordion><ds-accordion literal summary="Can I bring a dog?">Yes, in the pine cabins. Bring its bed; we leave a bowl by the door.</ds-accordion></div></section>
</div><div slot="footer" class="lib-rule"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Lagoon library. Your changes stay here.</ds-text></div></ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
const saved = new Set();
const status = document.querySelector('#trip-status');
document.querySelectorAll('[data-kind]').forEach(button => button.addEventListener('click', () => {
choose('[data-kind]', button);
document.querySelectorAll('[data-stay]').forEach(stay => { stay.hidden = button.dataset.kind !== 'all' && stay.dataset.stay !== button.dataset.kind; });
}));
document.querySelectorAll('[data-save]').forEach(button => button.addEventListener('click', () => {
const name = button.dataset.save;
if (saved.has(name)) saved.delete(name); else saved.add(name);
button.toggleAttribute('active', saved.has(name));
document.querySelector('#saved').lastChild.textContent = ' Saved · ' + saved.size;
status.textContent = name + (saved.has(name) ? ' saved.' : ' removed from saved.');
}));
document.querySelector('#search').addEventListener('click', () => {
const [start, end] = (document.querySelector('#trip-dates').value || '').split('/');
const guests = document.querySelector('#guests').value;
if (!start) { status.textContent = 'Choose your dates first.'; return; }
const nights = end ? Math.round((Date.parse(end) - Date.parse(start)) / 86400000) : 1;
status.textContent = nights + (nights === 1 ? ' night' : ' nights') + ' for ' + guests + (guests === '1' ? ' guest' : ' guests') + ': 3 cabins are free. Nothing is booked in this demo.';
document.querySelector('#stays').scrollIntoView({ block: 'nearest' });
}); Café · Bloom
Section titled “Café · Bloom”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/bloom.css">
<style>
.lib-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.lib-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.lib-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-grow { flex:1; min-width:0; }
.lib-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.lib-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.lib-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-hero { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:stretch; }
.lib-hero-copy { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.lib-title { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.lib-copy { max-width:calc(24 * var(--ds-unit)); }
.lib-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.lib-caption > * { min-width:0; }
.lib-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-workspace { --ds-page-nav:calc(10 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.lib-workspace-nav { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); align-content:start; min-width:0; }
.lib-booking { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-stay { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; }
.lib-menu { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-dish { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:var(--ds-unit); align-items:end; min-height:calc(2 * var(--ds-unit)); padding-bottom:calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); }
.lib-order { --ds-progress-track:var(--ds-paper); display:grid; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--ds-fill); border-radius:var(--ds-radius-card); }
.lib-line { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.lib-status:empty { display:none; }
.lib-week { display:grid; grid-template-columns:minmax(0,2fr) minmax(calc(14 * var(--ds-unit)),1fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-services { display:grid; gap:0; }
.lib-service { display:grid; grid-template-columns:minmax(0,1fr) calc(6 * var(--ds-unit)) auto; gap:var(--ds-unit); align-items:end; min-height:var(--ds-unit); padding-block:calc(var(--ds-unit) / 2) calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); line-height:calc(16px * var(--sf, 1)); }
.lib-service ds-spark { height:var(--ds-unit); }
.lib-stack [hidden], .lib-three [hidden], .lib-tight [hidden] { display:none!important; }
@media(max-width:900px) { .lib-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; } .lib-menu, .lib-week { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.lib-hero, .lib-two { grid-template-columns:1fr; gap:var(--ds-unit); }
.lib-hero-copy { padding-block:0; gap:var(--ds-unit); }
.lib-three { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lib-three > :first-child { grid-column:1 / -1; }
.lib-nav .lib-nav-secondary { display:none; }
.lib-service { grid-template-columns:minmax(0,1fr) auto; }
.lib-service ds-spark { display:none; }
}
</style><ds-page layout="column" measure="48" data-ds-surface>
<div slot="header" class="lib-nav"><ds-text literal strong size="display">Petal</ds-text><div class="lib-actions"><ds-tag class="lib-nav-secondary">Open until 18:00</ds-tag><ds-button id="order-count" secondary>Order · 0</ds-button></div></div>
<div class="lib-stack">
<section class="lib-hero">
<div class="lib-hero-copy"><div class="lib-tight"><ds-text literal size="small" tone="muted" wrap>Coffee, tea and things from the oven</ds-text><ds-text literal size="display" class="lib-title" wrap role="heading" aria-level="1">Something warm, something sweet.</ds-text></div><div class="lib-stack lib-copy"><div data-ds-prose><p>Order ahead and it waits for you on the counter, still warm, with your name on the cup.</p></div><div><ds-button href="#menu" primary>See today's menu <ds-icon type="down" aria-hidden="true"></ds-icon></ds-button></div></div></div>
<ds-image src="/examples/images/cup.jpg" alt="A speckled ceramic cup of coffee" ratio="1" loading="eager"></ds-image>
</section>
<section id="menu" class="lib-menu lib-rule">
<div class="lib-stack">
<div class="lib-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Today's menu</ds-text><ds-tabs role="group" aria-label="Menu"><ds-button control="host" data-course="coffee" aria-pressed="true" active>Coffee</ds-button><ds-button control="host" data-course="tea" aria-pressed="false">Tea</ds-button><ds-button control="host" data-course="baking" aria-pressed="false">Baking</ds-button></ds-tabs></div>
<div id="dishes"></div>
</div>
<aside class="lib-order" aria-label="Your order">
<div class="lib-between"><ds-text literal strong>Your order</ds-text><ds-button id="clear-order" disabled>Clear</ds-button></div>
<ds-list id="order-lines"></ds-list>
<ds-text id="order-empty" literal tone="muted" wrap>Nothing yet. Add something from the menu.</ds-text>
<div class="lib-line"><ds-text literal strong>Total</ds-text><ds-text id="order-total" literal strong>€0.00</ds-text></div>
<ds-button id="place-order" primary disabled>Order for pickup</ds-button>
<div class="lib-tight lib-rule"><ds-stat id="stamps" figure="7 of 10" label="Stamps" caption="Three more for a free cup" literal></ds-stat><ds-progress id="stamp-progress" value="0.7" label="7 of 10 stamps"></ds-progress></div>
<ds-text id="cafe-status" class="lib-status" literal role="status" wrap></ds-text>
</aside>
</section>
</div><div slot="footer" class="lib-rule"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Bloom library. Your changes stay here.</ds-text></div></ds-page> function choose(selector, button){document.querySelectorAll(selector).forEach(item=>{item.toggleAttribute('active',item===button);item.setAttribute('aria-pressed',String(item===button));});}
const menu = {
coffee: [['Flat white', 'Double shot, whole milk', 3.6, 'Popular'], ['Filter of the week', 'Washed, from Huila', 3.2], ['Cortado', 'Equal parts', 3.4]],
tea: [['Rose and hibiscus', 'Caffeine free', 3.4, 'New'], ['Morning black', 'With oat milk', 3.0], ['Mint', 'Fresh leaves', 2.8]],
baking: [['Cardamom bun', 'Baked at seven', 3.9, 'Warm'], ['Lemon slice', 'Shortbread base', 3.5], ['Rye cookie', 'Brown butter', 2.6]],
};
let course = 'coffee', stamps = 7;
const order = new Map();
const money = value => '€' + value.toFixed(2);
function renderMenu() {
const list = document.querySelector('#dishes'); list.replaceChildren();
for (const [name, details, price, tag] of menu[course]) {
const row = document.createElement('div'); row.className = 'lib-dish';
const words = document.createElement('div'); words.className = 'lib-tight';
const label = document.createElement('ds-text'); label.setAttribute('literal', ''); label.setAttribute('strong', ''); label.textContent = name;
const more = document.createElement('ds-text'); more.setAttribute('literal', ''); more.setAttribute('size', 'small'); more.setAttribute('tone', 'muted'); more.textContent = details;
const line = document.createElement('div'); line.className = 'lib-actions'; line.append(label);
if (tag) { const badge = document.createElement('ds-tag'); badge.textContent = tag; line.append(badge); }
words.append(line, more);
const cost = document.createElement('ds-text'); cost.setAttribute('literal', ''); cost.textContent = money(price);
const add = document.createElement('ds-button'); add.setAttribute('secondary', ''); add.setAttribute('label', 'Add ' + name);
add.innerHTML = '<ds-icon type="plus" aria-hidden="true"></ds-icon> Add';
add.addEventListener('click', () => { const line = order.get(name) || { price, quantity: 0 }; line.quantity++; order.set(name, line); renderOrder(); document.querySelector('#cafe-status').textContent = name + ' added.'; });
row.append(words, cost, add); list.append(row);
}
}
function renderOrder() {
const list = document.querySelector('#order-lines'); list.replaceChildren();
let total = 0, count = 0;
for (const [name, line] of order) {
total += line.price * line.quantity; count += line.quantity;
const row = document.createElement('ds-row'); row.setAttribute('fill', '');
const words = document.createElement('ds-text'); words.setAttribute('literal', ''); words.textContent = line.quantity + ' × ' + name;
const remove = document.createElement('ds-button'); remove.textContent = 'Remove'; remove.setAttribute('label', 'Remove ' + name);
remove.addEventListener('click', () => { if (--line.quantity === 0) order.delete(name); renderOrder(); });
row.append(words, remove); list.append(row);
}
document.querySelector('#order-total').textContent = money(total);
document.querySelector('#order-count').textContent = 'Order · ' + count;
document.querySelector('#order-empty').hidden = count > 0;
document.querySelector('#place-order').toggleAttribute('disabled', count === 0);
document.querySelector('#clear-order').toggleAttribute('disabled', count === 0);
}
document.querySelectorAll('[data-course]').forEach(button => button.addEventListener('click', () => { choose('[data-course]', button); course = button.dataset.course; renderMenu(); }));
document.querySelector('#clear-order').addEventListener('click', () => { order.clear(); renderOrder(); });
document.querySelector('#place-order').addEventListener('click', () => {
stamps = Math.min(10, stamps + 1);
document.querySelector('#stamps').figure = stamps + ' of 10';
document.querySelector('#stamps').caption = stamps === 10 ? 'Your next cup is on us' : (10 - stamps) + ' more for a free cup';
document.querySelector('#stamp-progress').value = stamps / 10;
document.querySelector('#cafe-status').textContent = 'Ordered. It will be ready in about eight minutes. Nothing is paid in this demo.';
order.clear(); renderOrder();
});
renderMenu(); renderOrder(); Walking log · Grove
Section titled “Walking log · Grove”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/grove.css">
<style>
.lib-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.lib-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.lib-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-grow { flex:1; min-width:0; }
.lib-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.lib-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.lib-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-hero { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:stretch; }
.lib-hero-copy { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.lib-title { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.lib-copy { max-width:calc(24 * var(--ds-unit)); }
.lib-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.lib-caption > * { min-width:0; }
.lib-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-workspace { --ds-page-nav:calc(10 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.lib-workspace-nav { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); align-content:start; min-width:0; }
.lib-booking { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-stay { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; }
.lib-menu { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-dish { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:var(--ds-unit); align-items:end; min-height:calc(2 * var(--ds-unit)); padding-bottom:calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); }
.lib-order { --ds-progress-track:var(--ds-paper); display:grid; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--ds-fill); border-radius:var(--ds-radius-card); }
.lib-line { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.lib-status:empty { display:none; }
.lib-week { display:grid; grid-template-columns:minmax(0,2fr) minmax(calc(14 * var(--ds-unit)),1fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-services { display:grid; gap:0; }
.lib-service { display:grid; grid-template-columns:minmax(0,1fr) calc(6 * var(--ds-unit)) auto; gap:var(--ds-unit); align-items:end; min-height:var(--ds-unit); padding-block:calc(var(--ds-unit) / 2) calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); line-height:calc(16px * var(--sf, 1)); }
.lib-service ds-spark { height:var(--ds-unit); }
.lib-stack [hidden], .lib-three [hidden], .lib-tight [hidden] { display:none!important; }
@media(max-width:900px) { .lib-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; } .lib-menu, .lib-week { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.lib-hero, .lib-two { grid-template-columns:1fr; gap:var(--ds-unit); }
.lib-hero-copy { padding-block:0; gap:var(--ds-unit); }
.lib-three { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lib-three > :first-child { grid-column:1 / -1; }
.lib-nav .lib-nav-secondary { display:none; }
.lib-service { grid-template-columns:minmax(0,1fr) auto; }
.lib-service ds-spark { display:none; }
}
</style><ds-page layout="sidebar" drawer divided fill class="lib-workspace" data-ds-surface>
<div slot="nav" class="lib-workspace-nav"><ds-row><ds-avatar initial="T" color="var(--one-metal-green-pastel)"></ds-avatar><ds-text literal strong>Trailhead</ds-text></ds-row><ds-sidebar label="Walks" id="trail-nav"></ds-sidebar><div class="lib-tight"><ds-text literal size="small" tone="muted">Next weekend</ds-text><ds-image src="/examples/images/forest.webp" alt="A sunlit trail through a green forest" ratio="4 / 3" ></ds-image><ds-text literal strong>Pine ridge loop</ds-text><ds-text literal size="small" tone="muted">14 km · 420 m of climb</ds-text></div></div>
<div slot="header" class="lib-between"><ds-text id="trail-heading" literal strong>This week</ds-text><ds-button id="log-walk" primary><ds-icon type="plus" aria-hidden="true"></ds-icon> Log a walk</ds-button></div>
<div class="lib-stack">
<div class="lib-tight"><ds-text literal size="display" strong wrap role="heading" aria-level="1">Good legs this week.</ds-text><ds-text id="trail-summary" literal tone="muted" wrap>Four walks, and your longest climb since the spring.</ds-text></div>
<div class="lib-three"><ds-stat id="distance" value="42.6" format="number" digits="1" label="Distance, km" caption="7 km more than last week" literal></ds-stat><ds-stat id="climb" value="1180" format="number" label="Climb, m" caption="Mostly on Saturday" literal></ds-stat><ds-stat id="walks" value="4" format="number" label="Walks" caption="Goal: 4 a week" literal></ds-stat></div>
<section class="lib-week lib-rule">
<div class="lib-stack"><div class="lib-between"><ds-text literal strong>Kilometres a day</ds-text><ds-text literal size="small" tone="muted">13–19 October</ds-text></div><ds-bars id="days" rows="6" aria-label="Kilometres walked each day this week"></ds-bars></div>
<div class="lib-stack"><ds-text literal strong>Days out in October</ds-text><ds-calendar id="heat" compact heat fixed day-width="2" month="2026-10" label="Walks in October" literal></ds-calendar></div>
</section>
<section class="lib-stack lib-rule"><div class="lib-between"><ds-text literal size="display" strong wrap role="heading" aria-level="2">Recent walks</ds-text><ds-tag id="walk-count">4 walks</ds-tag></div><ds-table id="walk-table" label="Recent walks"></ds-table></section>
</div><div slot="footer" class="lib-rule"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Grove library. Your changes stay here.</ds-text></div></ds-page> const nav = document.querySelector('#trail-nav');
let view = 'week';
const walks = [
{ date: '19 Oct', name: 'River path', km: 8.4, climb: 120, time: '1 h 50', day: 19 },
{ date: '18 Oct', name: 'Pine ridge', km: 16.2, climb: 640, time: '4 h 10', day: 18 },
{ date: '16 Oct', name: 'Birch hollow', km: 9.6, climb: 230, time: '2 h 15', day: 16 },
{ date: '14 Oct', name: 'Lakeshore', km: 8.4, climb: 190, time: '1 h 55', day: 14 },
];
const earlier = [3, 4, 6, 8, 9, 11];
const table = document.querySelector('#walk-table');
table.columns = [{ key: 'date', label: 'Date' }, { key: 'name', label: 'Walk' }, { key: 'km', label: 'km', numeric: true }, { key: 'climb', label: 'Climb, m', numeric: true }, { key: 'time', label: 'Time', numeric: true }];
function render() {
nav.items = [{ id: 'week', label: 'This week', current: view === 'week' }, { id: 'all', label: 'All walks', meta: String(walks.length + earlier.length), current: view === 'all' }, { id: 'saved', label: 'Saved trails', meta: '3', current: view === 'saved' }];
document.querySelector('#trail-heading').textContent = view === 'week' ? 'This week' : view === 'all' ? 'All walks' : 'Saved trails';
table.data = walks.map(walk => ({ ...walk, km: walk.km.toFixed(1) }));
const km = walks.reduce((sum, walk) => sum + walk.km, 0), climb = walks.reduce((sum, walk) => sum + walk.climb, 0);
document.querySelector('#distance').value = km; document.querySelector('#climb').value = climb; document.querySelector('#walks').value = walks.length;
document.querySelector('#walk-count').textContent = walks.length + ' walks';
const days = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];
document.querySelector('#days').items = days.map((label, index) => { const value = walks.filter(walk => walk.day === 13 + index).reduce((sum, walk) => sum + walk.km, 0); return { label, value, tone: value >= 10 ? 'up' : undefined }; });
document.querySelector('#heat').events = [...earlier.map(day => ({ title: 'Walk', start: '2026-10-' + String(day).padStart(2, '0'), count: 1 + (day % 3) })), ...walks.map(walk => ({ title: walk.name, start: '2026-10-' + String(walk.day).padStart(2, '0'), count: Math.ceil(walk.km / 4) }))];
}
nav.addEventListener('sidebar-activate', event => { view = event.detail.id; render(); document.querySelector('ds-page').closeDrawer(); });
document.querySelector('#log-walk').addEventListener('click', () => {
if (walks.some(walk => walk.day === 20)) return;
walks.unshift({ date: '20 Oct', name: 'Evening loop', km: 5.2, climb: 80, time: '1 h 05', day: 20 });
document.querySelector('#trail-summary').textContent = 'Five walks. One more than your goal.';
render();
});
render(); Deploy console · Signal
Section titled “Deploy console · Signal”Point at any part of the page to see what it is made of.
<link rel="stylesheet" href="/examples/libraries/signal.css">
<style>
.lib-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--ds-unit); min-width:0; align-content:start; }
.lib-tight { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; align-content:start; }
.lib-actions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-between { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-grow { flex:1; min-width:0; }
.lib-rule { border-top:1px solid var(--ds-border-color); padding-top:var(--ds-unit); }
.lib-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ds-unit); }
.lib-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-hero { display:grid; grid-template-columns:1fr 1fr; gap:calc(2 * var(--ds-unit)); align-items:stretch; }
.lib-hero-copy { display:flex; flex-direction:column; justify-content:space-between; gap:calc(2 * var(--ds-unit)); padding-block:var(--ds-unit); }
.lib-title { --ds-sf:calc(1.5 * var(--sf, 1)); --ds-display-text-size:32px; }
.lib-copy { max-width:calc(24 * var(--ds-unit)); }
.lib-caption { display:flex; justify-content:space-between; gap:var(--ds-unit); }
.lib-caption > * { min-width:0; }
.lib-nav { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); }
.lib-workspace { --ds-page-nav:calc(10 * var(--ds-unit)); --ds-page-gap:calc(2 * var(--ds-unit)); }
.lib-workspace-nav { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(2 * var(--ds-unit)); align-content:start; min-width:0; }
.lib-booking { display:flex; flex-wrap:wrap; align-items:flex-end; gap:calc(var(--ds-unit) / 2); }
.lib-stay { display:grid; grid-template-columns:minmax(0,1fr); gap:calc(var(--ds-unit) / 2); min-width:0; }
.lib-menu { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-dish { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:var(--ds-unit); align-items:end; min-height:calc(2 * var(--ds-unit)); padding-bottom:calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); }
.lib-order { --ds-progress-track:var(--ds-paper); display:grid; gap:var(--ds-unit); padding:var(--ds-unit); background:var(--ds-fill); border-radius:var(--ds-radius-card); }
.lib-line { display:flex; justify-content:space-between; align-items:flex-end; gap:var(--ds-unit); min-height:var(--ds-unit); line-height:calc(16px * var(--sf, 1)); }
.lib-status:empty { display:none; }
.lib-week { display:grid; grid-template-columns:minmax(0,2fr) minmax(calc(14 * var(--ds-unit)),1fr); gap:calc(2 * var(--ds-unit)); align-items:start; }
.lib-services { display:grid; gap:0; }
.lib-service { display:grid; grid-template-columns:minmax(0,1fr) calc(6 * var(--ds-unit)) auto; gap:var(--ds-unit); align-items:end; min-height:var(--ds-unit); padding-block:calc(var(--ds-unit) / 2) calc(var(--ds-unit) / 2 - 1px); border-bottom:1px solid var(--ds-border-color); line-height:calc(16px * var(--sf, 1)); }
.lib-service ds-spark { height:var(--ds-unit); }
.lib-stack [hidden], .lib-three [hidden], .lib-tight [hidden] { display:none!important; }
@media(max-width:900px) { .lib-title { --ds-sf:var(--sf, 1); --ds-display-text-size:30px; } .lib-menu, .lib-week { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) {
.lib-hero, .lib-two { grid-template-columns:1fr; gap:var(--ds-unit); }
.lib-hero-copy { padding-block:0; gap:var(--ds-unit); }
.lib-three { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lib-three > :first-child { grid-column:1 / -1; }
.lib-nav .lib-nav-secondary { display:none; }
.lib-service { grid-template-columns:minmax(0,1fr) auto; }
.lib-service ds-spark { display:none; }
}
</style><ds-page layout="sidebar" drawer divided fill class="lib-workspace" data-ds-surface>
<div slot="nav" class="lib-workspace-nav"><ds-row><ds-avatar initial="r" color="var(--one-drip-yellow)"></ds-avatar><ds-text literal strong>relay</ds-text></ds-row><ds-sidebar label="Console" id="console-nav"></ds-sidebar><div class="lib-tight"><ds-text literal size="small" tone="muted">Environment</ds-text><ds-select><select id="environment" aria-label="Environment"><option value="production">production</option><option value="staging">staging</option></select></ds-select><ds-row fill><ds-text literal >Deploy on merge</ds-text><ds-switch><button type="button" role="switch" id="auto-deploy" aria-label="Deploy on merge" aria-checked="true"></button></ds-switch></ds-row></div></div>
<div slot="header" class="lib-between"><div class="lib-actions"><ds-text literal strong>Overview</ds-text><ds-tag id="env-tag">production</ds-tag></div><ds-button id="deploy" primary><ds-icon type="up" aria-hidden="true"></ds-icon> Deploy main</ds-button></div>
<div class="lib-stack">
<div class="lib-three"><ds-stat value="0.9998" format="percent" digits="2" label="Uptime, 30 days" caption="One short blip on 2 Oct" literal></ds-stat><ds-stat figure="182 ms" label="p95 latency" change="-0.08" change-format="percent" caption="Since last deploy" literal></ds-stat><ds-stat id="error-rate" value="0.0002" format="percent" digits="2" label="Errors" caption="Below the 0.1% budget" literal></ds-stat></div>
<section class="lib-stack lib-rule"><div class="lib-between"><ds-text literal strong>Requests a minute</ds-text><ds-text literal size="small" tone="muted">Last 24 hours</ds-text></div><ds-chart id="requests" kind="area" rows="8" labels aria-label="Requests a minute over the last day, peaking at midday"></ds-chart></section>
<section class="lib-two lib-rule">
<div class="lib-stack"><ds-text literal strong>Services</ds-text><div class="lib-services" id="services"></div></div>
<div class="lib-stack"><div class="lib-between"><ds-text literal strong>Deploys</ds-text><ds-text id="deploy-status" class="lib-status" literal size="small" tone="muted" role="status"></ds-text></div><ds-table id="deploys" label="Recent deploys"></ds-table></div>
</section>
</div><div slot="footer" class="lib-rule"><ds-text literal size="small" tone="muted" wrap>Fictional demo, drawn by the Signal library. Your changes stay here.</ds-text></div></ds-page> const nav = document.querySelector('#console-nav');
let view = 'overview';
function renderNav() { nav.items = [{ id: 'overview', label: 'Overview', current: view === 'overview' }, { id: 'deploys', label: 'Deploys', meta: '24', current: view === 'deploys' }, { id: 'logs', label: 'Logs', current: view === 'logs' }, { id: 'settings', label: 'Settings', current: view === 'settings' }]; }
nav.addEventListener('sidebar-activate', event => { view = event.detail.id; renderNav(); document.querySelector('ds-page').closeDrawer(); });
renderNav();
const chart = document.querySelector('#requests');
chart.format = value => Math.round(value).toLocaleString('en-GB');
chart.data = Array.from({ length: 48 }, (_, index) => ({ time: index * 1800, value: 900 + 1400 * Math.sin(Math.PI * index / 47) ** 2 + 120 * Math.sin(index * 1.7) }));
const services = [['api', 'healthy', [4, 5, 4, 6, 5, 7, 6, 8]], ['web', 'healthy', [6, 6, 7, 6, 8, 7, 9, 8]], ['worker', 'busy', [3, 5, 8, 6, 9, 11, 10, 12]], ['search', 'healthy', [5, 4, 5, 5, 4, 5, 6, 5]]];
const list = document.querySelector('#services');
for (const [name, state, values] of services) {
const row = document.createElement('div'); row.className = 'lib-service';
const label = document.createElement('ds-text'); label.setAttribute('literal', ''); label.textContent = name;
const spark = document.createElement('ds-spark'); spark.values = values; spark.setAttribute('aria-label', name + ' load over the last hour');
const tag = document.createElement('ds-tag'); tag.textContent = state;
row.append(label, spark, tag); list.append(row);
}
const table = document.querySelector('#deploys');
table.columns = [{ key: 'commit', label: 'Commit' }, { key: 'author', label: 'By' }, { key: 'when', label: 'When', numeric: true }];
const deploys = [{ commit: 'a41f9c2', author: 'mika', when: '2 h' }, { commit: '7be03d1', author: 'ren', when: '1 d' }, { commit: 'c9d2e88', author: 'alex', when: '2 d' }];
table.data = deploys;
document.querySelector('#environment').addEventListener('change', event => { document.querySelector('#env-tag').textContent = event.target.value; });
document.querySelector('#auto-deploy').addEventListener('click', event => { const on = event.currentTarget.getAttribute('aria-checked') !== 'true'; event.currentTarget.setAttribute('aria-checked', String(on)); });
const deploy = document.querySelector('#deploy');
deploy.addEventListener('click', () => {
const status = document.querySelector('#deploy-status');
deploy.setAttribute('disabled', '');
status.textContent = 'Building e17a0b4…';
setTimeout(() => { deploys.unshift({ commit: 'e17a0b4', author: 'you', when: 'now' }); table.data = [...deploys]; status.textContent = 'e17a0b4 is live on ' + document.querySelector('#environment').value + '.'; deploy.removeAttribute('disabled'); }, 1200);
}); Page layouts
Section titled “Page layouts”Sidebar
Section titled “Sidebar”Point at any part of the page to see what it is made of.
<ds-page layout="sidebar" divided fill>
<ds-sidebar slot="nav" label="Workspace"></ds-sidebar>
<ds-row slot="header" fill>
<ds-text literal strong>Atlas</ds-text>
<ds-button primary><ds-icon type="plus"></ds-icon> New item</ds-button>
</ds-row>
<ds-tabs aria-label="Atlas">
<ds-button role="tab" active aria-selected="true">Items</ds-button>
<ds-button role="tab" aria-selected="false">Activity</ds-button>
<ds-button role="tab" aria-selected="false">Files</ds-button>
</ds-tabs>
<ds-gap unit></ds-gap>
<ds-list>
<ds-row fill><ds-text literal>Write the brief</ds-text><ds-badge icon="check">Done</ds-badge></ds-row>
<ds-row fill><ds-text literal>Sketch the home page</ds-text><ds-badge>In progress</ds-badge></ds-row>
<ds-row fill><ds-text literal>Choose the typeface</ds-text><ds-badge>In progress</ds-badge></ds-row>
<ds-row fill><ds-text literal>Review with the team</ds-text><ds-badge>Next</ds-badge></ds-row>
<ds-row fill><ds-text literal>Publish</ds-text><ds-badge>Next</ds-badge></ds-row>
</ds-list>
</ds-page> const sidebar = document.querySelector('ds-sidebar');
let expanded = true;
let selected = 'atlas';
function render() {
sidebar.items = [
{ id: 'inbox', label: 'Inbox', meta: '4', current: selected === 'inbox' },
{ id: 'projects', label: 'Projects', expanded, meta: '3' },
...(expanded ? [
{ id: 'atlas', label: 'Atlas', depth: 1, current: selected === 'atlas' },
{ id: 'harbor', label: 'Harbor', depth: 1, current: selected === 'harbor' },
{ id: 'meadow', label: 'Meadow', depth: 1, current: selected === 'meadow' },
] : []),
{ id: 'archive', label: 'Archive', current: selected === 'archive' },
];
}
sidebar.addEventListener('sidebar-toggle', event => { expanded = event.detail.expanded; render(); });
sidebar.addEventListener('sidebar-activate', event => { selected = event.detail.id; render(); });
render(); List and detail
Section titled “List and detail”Point at any part of the page to see what it is made of.
<ds-page layout="split" divided fill>
<div slot="nav">
<ds-input aria-label="Search messages" type="search" placeholder="Search"></ds-input>
<ds-gap unit></ds-gap>
<ds-list>
<ds-row fill><ds-row><ds-avatar initial="M" color="#f5aad1"></ds-avatar><ds-text literal strong>Mika</ds-text></ds-row><ds-text literal tone="muted">09:41</ds-text></ds-row>
<ds-row fill><ds-row><ds-avatar initial="J" color="#99ff73"></ds-avatar><ds-text literal>Jonas</ds-text></ds-row><ds-text literal tone="muted">Yesterday</ds-text></ds-row>
<ds-row fill><ds-row><ds-avatar initial="S" color="#fec20d"></ds-avatar><ds-text literal>Sara</ds-text></ds-row><ds-text literal tone="muted">Monday</ds-text></ds-row>
<ds-row fill><ds-row><ds-avatar initial="A" color="#ccccff"></ds-avatar><ds-text literal>Ari</ds-text></ds-row><ds-text literal tone="muted">2 Oct</ds-text></ds-row>
</ds-list>
</div>
<ds-row slot="header" fill>
<ds-text literal strong>New photos from the shoot</ds-text>
<ds-button split actions aria-label="Message" options="reply:Reply,archive:Archive"></ds-button>
</ds-row>
<ds-row>
<ds-avatar-group aria-label="Mika and you">
<ds-avatar initial="M" color="#f5aad1" outlined></ds-avatar>
<ds-avatar initial="Y" color="#99ff73" outlined></ds-avatar>
</ds-avatar-group>
<ds-text literal tone="muted">Mika to you</ds-text>
</ds-row>
<ds-gap unit></ds-gap>
<ds-text literal wrap>The first selection is in the shared folder. I kept the ones with daylight on the table and dropped the dark corners.</ds-text>
<ds-gap unit></ds-gap>
<ds-text literal wrap>Pick your three favourites by Friday and I will send them for retouching.</ds-text>
</ds-page> Inspector
Section titled “Inspector”Point at any part of the page to see what it is made of.
<ds-page layout="inspector" divided fill>
<ds-sidebar slot="nav" label="Pages"></ds-sidebar>
<ds-row slot="header" fill>
<ds-text literal strong>Home page</ds-text>
<ds-row end><ds-button secondary>Preview</ds-button><ds-button primary>Publish</ds-button></ds-row>
</ds-row>
<ds-text literal size="heading" strong>A small reading room</ds-text>
<ds-gap unit></ds-gap>
<ds-text literal wrap>A quiet space starts with a few things: daylight, a place to sit and something worth reading. This page shows what a visitor sees first.</ds-text>
<ds-gap unit></ds-gap>
<ds-text literal wrap>Change the words here and the settings beside them. Nothing is saved in this example.</ds-text>
<ds-form slot="aside">
<ds-text literal strong>Page</ds-text>
<ds-input label="Address" name="slug" value="/reading-room"></ds-input>
<ds-row fill><ds-text literal>Status</ds-text><ds-select><select aria-label="Status"><option>Draft</option><option>Published</option></select></ds-select></ds-row>
<ds-row fill><ds-text literal>Show in menu</ds-text><ds-switch><button type="button" role="switch" aria-label="Show in menu" aria-checked="true"></button></ds-switch></ds-row>
<ds-row fill><ds-text literal>Language</ds-text><ds-cycle type="language" compact></ds-cycle></ds-row>
</ds-form>
</ds-page> const sidebar = document.querySelector('ds-sidebar');
let selected = 'home';
function render() {
sidebar.items = ['Home', 'About', 'Visit', 'Events'].map(label => ({ id: label.toLowerCase(), label, current: selected === label.toLowerCase() }));
}
sidebar.addEventListener('sidebar-activate', event => { selected = event.detail.id; render(); });
render();
document.querySelectorAll('ds-switch button').forEach(button => button.addEventListener('click', () => {
button.setAttribute('aria-checked', String(button.getAttribute('aria-checked') !== 'true'));
})); Column
Section titled “Column”Point at any part of the page to see what it is made of.
<ds-page layout="column" fill>
<div slot="header">
<ds-row><ds-text literal strong>Settings</ds-text></ds-row>
<ds-row><ds-text literal tone="muted">Changes apply to this device until you save them.</ds-text></ds-row>
</div>
<ds-list>
<ds-row fill><ds-text literal>Notifications</ds-text><ds-switch><button type="button" role="switch" aria-label="Notifications" aria-checked="true"></button></ds-switch></ds-row>
<ds-row fill><ds-text literal>Weekly summary</ds-text><ds-switch><button type="button" role="switch" aria-label="Weekly summary" aria-checked="false"></button></ds-switch></ds-row>
<ds-row fill><ds-text literal>Theme</ds-text><ds-cycle type="theme"></ds-cycle></ds-row>
<ds-row fill><ds-text literal>Language</ds-text><ds-cycle type="language" compact></ds-cycle></ds-row>
<ds-row fill><ds-text literal>Week starts on</ds-text><ds-select><select aria-label="Week starts on"><option>Monday</option><option>Sunday</option></select></ds-select></ds-row>
</ds-list>
<ds-gap unit></ds-gap>
<ds-accordion summary="Delete your account">
<div slot="details"><ds-text literal wrap>Your items stay on this device for 30 days, then they are removed.</ds-text></div>
</ds-accordion>
<ds-row slot="footer" end>
<ds-button secondary>Cancel</ds-button>
<ds-button primary>Save changes</ds-button>
</ds-row>
</ds-page> document.querySelectorAll('ds-switch button').forEach(button => button.addEventListener('click', () => {
button.setAttribute('aria-checked', String(button.getAttribute('aria-checked') !== 'true'));
})); Centred
Section titled “Centred”Point at any part of the page to see what it is made of.
<ds-page layout="centered" fill>
<ds-row slot="header"><ds-text literal strong>Sign in</ds-text></ds-row>
<ds-form>
<ds-input label="Email" type="email" name="email" autocomplete="email" placeholder="you@example.com" required></ds-input>
<ds-button primary>Send me a code</ds-button>
</ds-form>
<ds-text literal slot="footer" wrap tone="muted">We email you a six-digit code. This example sends nothing.</ds-text>
</ds-page> const form = document.querySelector('ds-form');
const note = document.querySelector('ds-text[slot="footer"]');
form.querySelector('ds-button').addEventListener('click', () => form.submit());
form.addEventListener('form-submit', event => {
note.text = 'A code would go to ' + event.detail.data.email + '. Nothing was sent.';
});
form.addEventListener('form-invalid', () => { note.text = 'Enter your email address to get a code.'; }); Point at any part of the page to see what it is made of.
<ds-page layout="tiles" fill>
<ds-row slot="header" fill>
<ds-text literal strong>This week</ds-text>
<ds-button split aria-label="Period" options="day:Day,week:Week,month:Month" value="week"></ds-button>
</ds-row>
<section data-tile="wide">
<ds-row fill><ds-text literal>Visitors</ds-text><ds-text literal strong>2,480</ds-text></ds-row>
<ds-chart kind="area" rows="6" aria-label="Visitors over two weeks, rising from 12 to 24 a day"></ds-chart>
</section>
<section>
<ds-row fill><ds-text literal>Sign-ups</ds-text><ds-text literal strong>124</ds-text></ds-row>
<ds-spark aria-label="Sign-ups rising over two weeks"></ds-spark>
<ds-gap unit></ds-gap>
<ds-row fill><ds-text literal>Returning</ds-text><ds-text literal strong>65%</ds-text></ds-row>
<ds-ratio aria-label="65 percent returning, 35 percent new"></ds-ratio>
</section>
<section>
<ds-row fill><ds-text literal>By day</ds-text><ds-badge>Sample</ds-badge></ds-row>
<ds-bars rows="5" aria-label="Monday 12, Tuesday 20, Wednesday 15, Thursday 18, Friday 24"></ds-bars>
</section>
<section data-tile="wide">
<ds-row><ds-text literal>Projects</ds-text></ds-row>
<ds-table></ds-table>
</section>
</ds-page> const values = [12, 15, 14, 18, 16, 21, 19, 17, 22, 20, 24, 23, 26, 24];
document.querySelectorAll('ds-chart').forEach(chart => {
Object.assign(chart, { data: values.map((value, index) => ({ time: index * 86400, value })), format: value => String(Math.round(value)) });
});
document.querySelectorAll('ds-spark').forEach(spark => { spark.values = values; });
const bars = document.querySelector('ds-bars');
bars.items = [
{ label: 'Mon', value: 12 }, { label: 'Tue', value: 20, tone: 'up' }, { label: 'Wed', value: 15 },
{ label: 'Thu', value: 18 }, { label: 'Fri', value: 24, tone: 'up' },
];
document.querySelector('ds-ratio').value = 0.65;
document.querySelector('ds-table').data = [
{ product: 'Atlas', users: 120, retention: '92%' },
{ product: 'Harbor', users: 80, retention: '88%' },
{ product: 'Meadow', users: 64, retention: '79%' },
]; HTML examples
Section titled “HTML examples”Each HTML example is a complete HTML document. Open it to try the page, or download the file and edit it in any text editor. No framework, package install or build step is needed.
The files load the Design system 1 stylesheet and bundled Lit module from this site, then use ds-* elements alongside semantic HTML. Fonts load with the stylesheet. These are online dependencies.
An article
A form with local feedback
A small report
An expandable reference
What you download
Section titled “What you download”One authored HTML file, including any example-specific script. The Lit module registers the components. The form shows local feedback and prevents submission; it has no backend.
To work offline, serve a local copy of the library bundle, its chunks, CSS and fonts, then update the URLs in your HTML.
For more components, see the component examples, or start with Use with HTML.
Photo credits
Section titled “Photo credits”The examples host photographs locally under the Pexels License: wooden chair, chair by a curtain, ceramic cup, and headphones by Moose Photos. The Image examples credit the forest and mountain photographs. Photos remain outside the component package.
The design studio example uses photographs from Unsplash under the Unsplash License: the printed proof, the laptop, the phone, the studio desk, the portraits (one, two, three, four), the tablet wireframes, the sketched screens and the pinned screens. The people and companies in it are fictional.