←Components Directory
FIG. 21/Controls/10 DISTINCT SPECS
Toggles & Controls
Domain-grounded switches, interactive billing toggles, theme & layout switchers, synth filter racks, GDPR consent controls, and commerce steppers.
01 / Notification Switch List
Slack · Dev AlertsLoading preview…
<div class="w-full max-w-lg overflow-hidden rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 shadow-sm text-black dark:text-zinc-100" data-notif-panel>
<div class="flex items-center justify-between border-b border-slate-100 dark:border-zinc-800/80 bg-slate-50/70 dark:bg-zinc-800/60 px-5 py-3.5">
<div class="flex items-center gap-2.5">
<span class="flex h-7 w-7 items-center justify-center rounded-lg bg-indigo-600 text-white">
<svg class="h-3.5 w-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"/></svg>
</span>
<div>
<p class="text-xs font-bold text-slate-900 dark:text-zinc-100">Workspace Alert Routing</p>
<p class="text-[11px] text-slate-500 dark:text-zinc-400">Target: <span class="font-mono text-slate-700 dark:text-zinc-300">#prod-releases</span></p>
</div>
</div>
<span data-active-count class="rounded-full bg-emerald-50 dark:bg-emerald-500/15 px-2.5 py-0.5 text-[11px] font-semibold text-emerald-700 dark:text-emerald-300 ring-1 ring-inset ring-emerald-200">2 active</span>
</div>
<div class="divide-y divide-slate-100 dark:divide-zinc-800/80 px-5">
<div class="flex items-center justify-between gap-4 py-4">
<div class="flex min-w-0 items-start gap-3">
<span class="mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-indigo-50 dark:bg-indigo-500/15 text-indigo-600 dark:text-indigo-400">
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8"><path stroke-linecap="round" stroke-linejoin="round" d="M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 0 1 .865-.501 48.172 48.172 0 0 0 3.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"/></svg>
</span>
<div class="min-w-0">
<div class="flex items-center gap-2"><p class="text-sm font-semibold text-slate-900 dark:text-zinc-100">Slack Deploy Hooks</p><span class="rounded bg-slate-100 dark:bg-zinc-800 px-1.5 py-0.5 font-mono text-[10px] text-slate-600 dark:text-zinc-300">Instant</span></div>
<p class="mt-0.5 text-xs text-slate-500 dark:text-zinc-400">Post build SHA & preview URLs whenever main ships.</p>
</div>
</div>
<button type="button" aria-pressed="true" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-indigo-600',!on);this.classList.toggle('bg-slate-200',on);this.firstElementChild.classList.toggle('translate-x-5',!on);this.firstElementChild.classList.toggle('translate-x-0',on);const n=this.closest('[data-notif-panel]').querySelectorAll('button[aria-pressed=true]').length;this.closest('[data-notif-panel]').querySelector('[data-active-count]').textContent=n+' active';" class="relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full bg-indigo-600 p-0.5 transition-colors">
<span class="h-5 w-5 translate-x-5 rounded-full bg-white shadow-xs transition-transform border border-slate-200 dark:border-zinc-800"></span>
</button>
</div>
<div class="flex items-center justify-between gap-4 py-4">
<div class="flex min-w-0 items-start gap-3">
<span class="mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-amber-50 dark:bg-amber-500/15 text-amber-600 dark:text-amber-400">
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"/></svg>
</span>
<div class="min-w-0">
<div class="flex items-center gap-2"><p class="text-sm font-semibold text-slate-900 dark:text-zinc-100">PagerDuty P1 Escalation</p><span class="rounded bg-amber-50 dark:bg-amber-500/15 px-1.5 py-0.5 font-mono text-[10px] text-amber-700 dark:text-amber-300">SMS</span></div>
<p class="mt-0.5 text-xs text-slate-500 dark:text-zinc-400">Wake on-call engineer if 5xx rate exceeds 1.5%.</p>
</div>
</div>
<button type="button" aria-pressed="true" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-indigo-600',!on);this.classList.toggle('bg-slate-200',on);this.firstElementChild.classList.toggle('translate-x-5',!on);this.firstElementChild.classList.toggle('translate-x-0',on);const n=this.closest('[data-notif-panel]').querySelectorAll('button[aria-pressed=true]').length;this.closest('[data-notif-panel]').querySelector('[data-active-count]').textContent=n+' active';" class="relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full bg-indigo-600 p-0.5 transition-colors">
<span class="h-5 w-5 translate-x-5 rounded-full bg-white shadow-xs transition-transform border border-slate-200 dark:border-zinc-800"></span>
</button>
</div>
<div class="flex items-center justify-between gap-4 py-4">
<div class="flex min-w-0 items-start gap-3">
<span class="mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-slate-100 dark:bg-zinc-800 text-slate-600 dark:text-zinc-300">
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"/></svg>
</span>
<div class="min-w-0">
<div class="flex items-center gap-2"><p class="text-sm font-semibold text-slate-900 dark:text-zinc-100">Weekly Executive Digest</p><span class="rounded bg-slate-100 dark:bg-zinc-800 px-1.5 py-0.5 font-mono text-[10px] text-slate-500 dark:text-zinc-400">Mon 09:00</span></div>
<p class="mt-0.5 text-xs text-slate-500 dark:text-zinc-400">Latency benchmarks and SLA summary via email.</p>
</div>
</div>
<button type="button" aria-pressed="false" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-indigo-600',!on);this.classList.toggle('bg-slate-200',on);this.firstElementChild.classList.toggle('translate-x-5',!on);this.firstElementChild.classList.toggle('translate-x-0',on);const n=this.closest('[data-notif-panel]').querySelectorAll('button[aria-pressed=true]').length;this.closest('[data-notif-panel]').querySelector('[data-active-count]').textContent=n+' active';" class="relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full bg-slate-200 dark:bg-zinc-700 p-0.5 transition-colors text-black dark:text-zinc-100">
<span class="h-5 w-5 translate-x-0 rounded-full bg-white shadow-xs transition-transform border border-slate-200 dark:border-zinc-800"></span>
</button>
</div>
</div>
</div>02 / Billing Cycle & Plan Switch
Linear · BillingLoading preview…
<div class="w-full max-w-md rounded-2xl border border-white/12 bg-white dark:bg-[#111319] p-5 text-slate-900 dark:text-white shadow-lg dark:shadow-2xl" data-billing-box>
<div class="flex flex-wrap items-center justify-between gap-3">
<div>
<span class="font-mono text-[10px] uppercase tracking-widest text-indigo-600 dark:text-indigo-400">Workspace Plan</span>
<h4 class="text-base font-bold tracking-tight text-slate-900 dark:text-white">Pro Engineering</h4>
</div>
<div class="inline-flex rounded-xl border border-slate-200 dark:border-white/15 bg-slate-50 dark:bg-[#090B10] p-1 text-xs font-semibold">
<button type="button" onclick="const r=this.closest('[data-billing-box]');r.querySelector('[data-price]').textContent='$24';r.querySelector('[data-saving]').textContent='Billed monthly · Cancel anytime';this.className='rounded-lg bg-white/15 px-3 py-1.5 text-white';this.nextElementSibling.className='inline-flex items-center gap-1.5 rounded-lg px-3 py-1.5 text-zinc-400 hover:text-zinc-200';" class="rounded-lg px-3 py-1.5 text-slate-600 dark:text-zinc-400 hover:text-slate-800 dark:hover:text-zinc-200">Monthly</button>
<button type="button" onclick="const r=this.closest('[data-billing-box]');r.querySelector('[data-price]').textContent='$19';r.querySelector('[data-saving]').textContent='Saves $480/yr across 8 seats';this.className='inline-flex items-center gap-1.5 rounded-lg bg-indigo-500 px-3 py-1.5 text-white shadow-sm';this.previousElementSibling.className='rounded-lg px-3 py-1.5 text-zinc-400 hover:text-zinc-200';" class="inline-flex items-center gap-1.5 rounded-lg bg-indigo-500 px-3 py-1.5 text-white shadow-sm">Annual <span class="rounded bg-emerald-400/20 px-1.5 py-0.5 font-mono text-[9px] text-emerald-300">-20%</span></button>
</div>
</div>
<div class="mt-5 flex items-baseline justify-between rounded-xl border border-slate-900/15 dark:border-white/15 bg-slate-900/[0.07] dark:bg-white/[0.03] px-4 py-3.5">
<div class="flex items-baseline gap-1.5">
<span data-price class="text-3xl font-bold tracking-tight text-slate-900 dark:text-white">$19</span>
<span class="text-xs text-slate-600 dark:text-zinc-400">/ seat / mo</span>
</div>
<span data-saving class="text-right text-[11px] font-medium text-emerald-600 dark:text-emerald-400">Saves $480/yr across 8 seats</span>
</div>
<div class="mt-4 flex flex-wrap items-center justify-between gap-2 border-t border-slate-200 dark:border-white/15 pt-3.5 text-xs text-slate-600 dark:text-zinc-400">
<span>8 seats · SSO & Audit Logs included</span>
<button type="button" class="rounded-lg bg-slate-900 dark:bg-white px-3 py-1.5 text-xs font-semibold text-white dark:text-zinc-950 hover:bg-zinc-200 border border-slate-200 dark:border-zinc-800">Update Cycle</button>
</div>
</div>03 / Liquid Glass Theme Studio
Liquid Glass 2026Loading preview…
<div class="w-full max-w-md space-y-3 rounded-3xl border border-slate-900/20 dark:border-white/30 bg-slate-900/[0.04] dark:bg-white/14 p-4 text-slate-900 dark:text-white shadow-lg dark:shadow-2xl backdrop-blur-2xl" data-glass-theme>
<div data-preview-card class="rounded-2xl border border-slate-900/15 dark:border-white/25 bg-white/85 dark:bg-slate-950/55 p-4 transition-colors">
<div class="flex items-center justify-between">
<div class="flex items-center gap-2"><span class="h-2.5 w-2.5 rounded-full bg-cyan-500 dark:bg-cyan-300"></span><span class="text-xs font-semibold">macOS Appearance Preview</span></div>
<span data-mode-tag class="rounded-full bg-slate-900/[0.07] dark:bg-white/15 px-2 py-0.5 font-mono text-[10px]">Obsidian Glass</span>
</div>
<div class="mt-3 grid grid-cols-3 gap-2">
<div class="h-8 rounded-lg bg-slate-200/80 dark:bg-white/15"></div>
<div class="h-8 rounded-lg bg-slate-200/80 dark:bg-white/10"></div>
<div class="h-8 rounded-lg bg-cyan-500/20 dark:bg-cyan-300/30"></div>
</div>
</div>
<div class="grid grid-cols-3 gap-1.5 rounded-2xl border border-slate-900/15 dark:border-white/25 bg-slate-900/[0.07] dark:bg-white/12 p-1.5 text-xs font-semibold">
<button type="button" onclick="const r=this.closest('[data-glass-theme]');const p=r.querySelector('[data-preview-card]');p.className='rounded-2xl border border-slate-300/80 bg-white/90 text-slate-900 p-4 transition-colors';r.querySelector('[data-mode-tag]').textContent='Daylight Paper';r.querySelectorAll('[data-tbtn]').forEach(b=>b.className='flex items-center justify-center gap-1.5 rounded-xl py-2 text-slate-700 dark:text-white/80 hover:bg-slate-900/10 dark:hover:bg-white/10');this.className='flex items-center justify-center gap-1.5 rounded-xl bg-slate-900 dark:bg-white py-2 text-white dark:text-slate-950 shadow-sm';" data-tbtn class="flex items-center justify-center gap-1.5 rounded-xl py-2 text-slate-700 dark:text-white/80 hover:bg-slate-900/10 dark:hover:bg-white/10">☀ Light</button>
<button type="button" onclick="const r=this.closest('[data-glass-theme]');const p=r.querySelector('[data-preview-card]');p.className='rounded-2xl border border-white/25 bg-slate-950/75 text-white p-4 transition-colors';r.querySelector('[data-mode-tag]').textContent='Obsidian Glass';r.querySelectorAll('[data-tbtn]').forEach(b=>b.className='flex items-center justify-center gap-1.5 rounded-xl py-2 text-slate-700 dark:text-white/80 hover:bg-slate-900/10 dark:hover:bg-white/10');this.className='flex items-center justify-center gap-1.5 rounded-xl bg-slate-900 dark:bg-white py-2 text-white dark:text-slate-950 shadow-sm';" data-tbtn class="flex items-center justify-center gap-1.5 rounded-xl bg-slate-900 dark:bg-white py-2 text-white dark:text-slate-950 shadow-sm">☾ Dark</button>
<button type="button" onclick="const r=this.closest('[data-glass-theme]');const p=r.querySelector('[data-preview-card]');p.className='rounded-2xl border border-slate-900/15 dark:border-white/30 bg-slate-900/[0.06] dark:bg-white/20 text-slate-900 dark:text-white p-4 backdrop-blur-md transition-colors';r.querySelector('[data-mode-tag]').textContent='Adaptive Frost';r.querySelectorAll('[data-tbtn]').forEach(b=>b.className='flex items-center justify-center gap-1.5 rounded-xl py-2 text-slate-700 dark:text-white/80 hover:bg-slate-900/10 dark:hover:bg-white/10');this.className='flex items-center justify-center gap-1.5 rounded-xl bg-slate-900 dark:bg-white py-2 text-white dark:text-slate-950 shadow-sm';" data-tbtn class="flex items-center justify-center gap-1.5 rounded-xl py-2 text-slate-700 dark:text-white/80 hover:bg-slate-900/10 dark:hover:bg-white/10">✦ Auto</button>
</div>
</div>04 / Feature Flag Env Matrix
LaunchDarkly · DarkLoading preview…
<div class="w-full max-w-lg rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-5 text-slate-900 dark:text-white shadow-lg dark:shadow-2xl" data-flag-panel>
<div class="flex flex-wrap items-center justify-between gap-2 border-b border-slate-200 dark:border-zinc-800 pb-3.5">
<div>
<div class="flex items-center gap-2">
<span class="h-2 w-2 rounded-full bg-emerald-400"></span>
<span class="font-mono text-xs font-bold text-emerald-600 dark:text-emerald-400">flag: checkout_v3_express</span>
</div>
<p class="mt-1 text-xs text-slate-600 dark:text-zinc-400">Commit <code class="font-mono text-slate-700 dark:text-zinc-300">e8f9a21</code> · Rollout ring target</p>
</div>
<span data-env-summary class="rounded-lg border border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-900 px-2.5 py-1 font-mono text-[11px] text-slate-700 dark:text-zinc-300">2 / 3 active</span>
</div>
<div class="mt-4 grid grid-cols-1 gap-3 sm:grid-cols-3">
<div class="rounded-xl border border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-900/60 p-3">
<div class="flex items-center justify-between">
<span class="text-xs font-semibold text-slate-800 dark:text-zinc-200">Dev</span>
<button type="button" aria-pressed="true" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-emerald-500',!on);this.classList.toggle('bg-zinc-700',on);this.firstElementChild.classList.toggle('translate-x-4',!on);this.firstElementChild.classList.toggle('translate-x-0',on);const root=this.closest('[data-flag-panel]');root.querySelector('[data-env-summary]').textContent=root.querySelectorAll('button[aria-pressed=true]').length+' / 3 active';" class="inline-flex h-5 w-9 cursor-pointer rounded-full bg-emerald-500 p-0.5 transition-colors"><span class="h-4 w-4 translate-x-4 rounded-full bg-white transition-transform border border-slate-200 dark:border-zinc-800"></span></button>
</div>
<p class="mt-2 font-mono text-[10px] text-emerald-600 dark:text-emerald-400">100% traffic</p>
</div>
<div class="rounded-xl border border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-900/60 p-3">
<div class="flex items-center justify-between">
<span class="text-xs font-semibold text-slate-800 dark:text-zinc-200">Stage</span>
<button type="button" aria-pressed="true" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-emerald-500',!on);this.classList.toggle('bg-zinc-700',on);this.firstElementChild.classList.toggle('translate-x-4',!on);this.firstElementChild.classList.toggle('translate-x-0',on);const root=this.closest('[data-flag-panel]');root.querySelector('[data-env-summary]').textContent=root.querySelectorAll('button[aria-pressed=true]').length+' / 3 active';" class="inline-flex h-5 w-9 cursor-pointer rounded-full bg-emerald-500 p-0.5 transition-colors"><span class="h-4 w-4 translate-x-4 rounded-full bg-white transition-transform border border-slate-200 dark:border-zinc-800"></span></button>
</div>
<p class="mt-2 font-mono text-[10px] text-emerald-600 dark:text-emerald-400">100% QA pass</p>
</div>
<div class="rounded-xl border border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-900/60 p-3">
<div class="flex items-center justify-between">
<span class="text-xs font-semibold text-slate-800 dark:text-zinc-200">Prod</span>
<button type="button" aria-pressed="false" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-emerald-500',!on);this.classList.toggle('bg-zinc-700',on);this.firstElementChild.classList.toggle('translate-x-4',!on);this.firstElementChild.classList.toggle('translate-x-0',on);const root=this.closest('[data-flag-panel]');root.querySelector('[data-env-summary]').textContent=root.querySelectorAll('button[aria-pressed=true]').length+' / 3 active';" class="inline-flex h-5 w-9 cursor-pointer rounded-full bg-slate-100 dark:bg-zinc-700 p-0.5 transition-colors border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"><span class="h-4 w-4 translate-x-0 rounded-full bg-white transition-transform border border-slate-200 dark:border-zinc-800"></span></button>
</div>
<p class="mt-2 font-mono text-[10px] text-slate-500 dark:text-zinc-500">0% gated hold</p>
</div>
</div>
<div class="mt-3.5 rounded-xl border border-slate-200 dark:border-zinc-800/80 bg-slate-100 dark:bg-zinc-900/40 px-3.5 py-2.5">
<div class="flex justify-between font-mono text-[10px] text-slate-600 dark:text-zinc-400"><span>CANARY DISTRIBUTION</span><span class="text-emerald-600 dark:text-emerald-400">EU-WEST + US-EAST</span></div>
<div class="mt-2 flex h-1.5 w-full overflow-hidden rounded-full bg-slate-100 dark:bg-zinc-800 border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"><div class="w-2/3 bg-emerald-500"></div><div class="w-1/6 bg-amber-400/70"></div></div>
</div>
</div>05 / Brutalist Grid Studio Panel
Neo-BrutalistLoading preview…
<div class="w-full max-w-md border-2 border-black dark:border-zinc-200 bg-white dark:bg-zinc-900 p-5 shadow-[6px_6px_0px_#000] dark:shadow-[6px_6px_0px_#e4e4e7] text-black dark:text-zinc-100" data-brut-panel>
<div class="flex items-center justify-between gap-4 border-b-2 border-black dark:border-zinc-200 pb-3.5">
<div>
<span class="font-mono text-[10px] font-bold uppercase tracking-widest text-zinc-500 dark:text-zinc-400">CANVAS ENGINE</span>
<p class="text-sm font-black uppercase text-black dark:text-white">Public Showcase Mode</p>
</div>
<button type="button" onclick="const on=this.dataset.on==='1';this.dataset.on=on?'0':'1';this.classList.toggle('bg-[#4ADE80]',!on);this.classList.toggle('bg-zinc-200',on);this.classList.toggle('justify-end',!on);this.classList.toggle('justify-start',on);this.closest('[data-brut-panel]').querySelector('[data-status-badge]').textContent=on?'PRIVATE DRAFT':'LIVE EMBED';" data-on="1" class="flex h-7 w-13 shrink-0 cursor-pointer items-center justify-end border-2 border-black dark:border-zinc-200 bg-[#4ADE80] p-0.5 text-black dark:text-black">
<span class="h-5 w-5 border-2 border-black dark:border-zinc-200 bg-white dark:bg-zinc-800 text-black dark:text-zinc-100"></span>
</button>
</div>
<div class="mt-3.5 flex items-center justify-between border-2 border-black dark:border-zinc-200 bg-[#FAF8F4] dark:bg-zinc-800/60 p-3" style="background-image: radial-gradient(#000 1px, transparent 1px); background-size: 10px 10px;">
<div class="border-2 border-black dark:border-zinc-200 bg-white dark:bg-zinc-800 px-2.5 py-1 font-mono text-[10px] font-black text-black dark:text-zinc-100">12-COL · 24PX GUTTER</div>
<span data-status-badge class="border-2 border-black dark:border-zinc-200 bg-[#FDE047] px-2 py-0.5 font-mono text-[10px] font-black text-black dark:text-black">LIVE EMBED</span>
</div>
<div class="mt-3.5 flex flex-wrap gap-2">
<button type="button" onclick="this.classList.toggle('bg-[#FDE047]');this.classList.toggle('bg-white');this.classList.toggle('dark:bg-zinc-800');this.classList.toggle('dark:text-black');this.classList.toggle('dark:text-zinc-100');" class="cursor-pointer border-2 border-black dark:border-zinc-200 bg-[#FDE047] px-3 py-1 font-mono text-xs font-black text-black dark:text-black">✓ Grid Snap</button>
<button type="button" onclick="this.classList.toggle('bg-[#FDE047]');this.classList.toggle('bg-white');this.classList.toggle('dark:bg-zinc-800');this.classList.toggle('dark:text-black');this.classList.toggle('dark:text-zinc-100');" class="cursor-pointer border-2 border-black dark:border-zinc-200 bg-[#FDE047] px-3 py-1 font-mono text-xs font-black text-black dark:text-black">✓ Bleed Marks</button>
<button type="button" onclick="this.classList.toggle('bg-[#FDE047]');this.classList.toggle('bg-white');this.classList.toggle('dark:bg-zinc-800');this.classList.toggle('dark:text-black');this.classList.toggle('dark:text-zinc-100');" class="cursor-pointer border-2 border-black dark:border-zinc-200 bg-white dark:bg-zinc-800 px-3 py-1 font-mono text-xs font-bold text-black dark:text-zinc-100">Auto Save</button>
</div>
</div>06 / Workspace View & Mode Bar
Layout SwitcherLoading preview…
<div class="w-full max-w-lg overflow-hidden rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 shadow-sm text-black dark:text-zinc-100" data-view-wrap>
<div class="flex flex-wrap items-center justify-between gap-3 border-b border-slate-100 dark:border-zinc-800/80 px-4 py-3">
<div class="flex items-center gap-2">
<span class="text-xs font-bold text-slate-900 dark:text-zinc-100">Sprint #14 Issues</span>
<span class="rounded-full bg-slate-100 dark:bg-zinc-800 px-2 py-0.5 font-mono text-[10px] text-slate-600 dark:text-zinc-300">6 open</span>
</div>
<div class="inline-flex rounded-xl border border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-800/60 p-1 text-xs">
<button type="button" onclick="const r=this.closest('[data-view-wrap]');r.querySelectorAll('[data-pane]').forEach(p=>p.classList.add('hidden'));r.querySelector('[data-pane=board]').classList.remove('hidden');r.querySelectorAll('[data-vbtn]').forEach(b=>b.className='inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1 font-medium text-slate-500');this.className='inline-flex items-center gap-1.5 rounded-lg bg-white px-2.5 py-1 font-semibold text-slate-900 shadow-xs';" data-vbtn class="inline-flex items-center gap-1.5 rounded-lg bg-white px-2.5 py-1 font-semibold text-slate-900 shadow-xs">Board</button>
<button type="button" onclick="const r=this.closest('[data-view-wrap]');r.querySelectorAll('[data-pane]').forEach(p=>p.classList.add('hidden'));r.querySelector('[data-pane=list]').classList.remove('hidden');r.querySelectorAll('[data-vbtn]').forEach(b=>b.className='inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1 font-medium text-slate-500');this.className='inline-flex items-center gap-1.5 rounded-lg bg-white px-2.5 py-1 font-semibold text-slate-900 shadow-xs';" data-vbtn class="inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1 font-medium text-slate-500">List</button>
<button type="button" onclick="const r=this.closest('[data-view-wrap]');r.querySelectorAll('[data-pane]').forEach(p=>p.classList.add('hidden'));r.querySelector('[data-pane=timeline]').classList.remove('hidden');r.querySelectorAll('[data-vbtn]').forEach(b=>b.className='inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1 font-medium text-slate-500');this.className='inline-flex items-center gap-1.5 rounded-lg bg-white px-2.5 py-1 font-semibold text-slate-900 shadow-xs';" data-vbtn class="inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1 font-medium text-slate-500">Timeline</button>
</div>
</div>
<div class="p-4">
<div data-pane="board" class="grid grid-cols-1 gap-2.5 sm:grid-cols-3">
<div class="rounded-xl bg-slate-50 dark:bg-zinc-800/60 p-2.5"><p class="text-[10px] font-bold uppercase text-slate-400 dark:text-zinc-500">Todo · 2</p><div class="mt-2 rounded-lg border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 p-2 text-xs font-medium text-slate-800 dark:text-zinc-200">Audit contrast</div></div>
<div class="rounded-xl bg-indigo-50/70 dark:bg-indigo-500/15 p-2.5"><p class="text-[10px] font-bold uppercase text-indigo-600 dark:text-indigo-400">Active · 2</p><div class="mt-2 rounded-lg border border-indigo-200 dark:border-indigo-500/30 bg-white dark:bg-zinc-800 p-2 text-xs font-medium text-slate-800 dark:text-zinc-200">Refactor toggles</div></div>
<div class="rounded-xl bg-emerald-50/70 dark:bg-emerald-500/15 p-2.5"><p class="text-[10px] font-bold uppercase text-emerald-700 dark:text-emerald-300">Done · 2</p><div class="mt-2 rounded-lg border border-emerald-200 dark:border-emerald-500/30 bg-white dark:bg-zinc-800 p-2 text-xs font-medium text-slate-800 dark:text-zinc-200">Ship skeleton kit</div></div>
</div>
<div data-pane="list" class="hidden divide-y divide-slate-100 dark:divide-zinc-800/80 rounded-xl border border-slate-200 dark:border-zinc-800 text-xs">
<div class="flex items-center justify-between px-3 py-2.5"><span class="font-medium text-slate-900 dark:text-zinc-100">Refactor toggles</span><span class="rounded-full bg-indigo-50 dark:bg-indigo-500/15 px-2 py-0.5 text-[10px] font-semibold text-indigo-700 dark:text-indigo-300">In Progress</span></div>
<div class="flex items-center justify-between px-3 py-2.5"><span class="font-medium text-slate-900 dark:text-zinc-100">Audit contrast</span><span class="rounded-full bg-slate-100 dark:bg-zinc-800 px-2 py-0.5 text-[10px] text-slate-600 dark:text-zinc-300">Backlog</span></div>
<div class="flex items-center justify-between px-3 py-2.5"><span class="font-medium text-slate-900 dark:text-zinc-100">Ship skeleton kit</span><span class="rounded-full bg-emerald-50 dark:bg-emerald-500/15 px-2 py-0.5 text-[10px] font-semibold text-emerald-700 dark:text-emerald-300">Merged</span></div>
</div>
<div data-pane="timeline" class="hidden space-y-2.5 text-xs">
<div class="flex items-center gap-3"><span class="w-20 shrink-0 font-mono text-[10px] text-slate-500 dark:text-zinc-400">WEEK 1</span><div class="h-6 w-2/3 rounded-lg bg-indigo-500 px-2.5 py-1 text-[11px] font-semibold text-white">Design & QA</div></div>
<div class="flex items-center gap-3"><span class="w-20 shrink-0 font-mono text-[10px] text-slate-500 dark:text-zinc-400">WEEK 2</span><div class="ml-auto h-6 w-3/5 rounded-lg bg-emerald-600 px-2.5 py-1 text-[11px] font-semibold text-white">GA Release</div></div>
</div>
</div>
</div>07 / Synth Filter & Drive Rack
Hardware AudioLoading preview…
<div class="w-full max-w-md rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-[#0D0F13] p-5 text-slate-900 dark:text-white shadow-lg dark:shadow-2xl" data-synth-rack>
<div class="flex items-center justify-between border-b border-slate-200 dark:border-zinc-800 pb-3">
<div class="flex items-center gap-2"><span class="h-2 w-2 rounded-full bg-amber-400"></span><span class="font-mono text-xs font-bold tracking-wider">VCF // 24DB LADDER</span></div>
<div class="flex gap-1 font-mono text-[10px]">
<span class="rounded bg-amber-50 dark:bg-amber-400/20 px-2 py-0.5 font-bold text-amber-700 dark:text-amber-300">LPF</span>
<span class="rounded bg-slate-50 dark:bg-zinc-900 px-2 py-0.5 text-slate-500 dark:text-zinc-500 border border-slate-200 dark:border-white/15">BPF</span>
<span class="rounded bg-slate-50 dark:bg-zinc-900 px-2 py-0.5 text-slate-500 dark:text-zinc-500 border border-slate-200 dark:border-white/15">HPF</span>
</div>
</div>
<div class="mt-3.5 rounded-xl border border-zinc-800/90 bg-slate-900/[0.06] dark:bg-black/60 p-3">
<svg viewBox="0 0 260 56" class="h-12 w-full" aria-hidden="true">
<path d="M 4 38 L 135 38 Q 165 38 175 14 Q 184 36 205 46 L 256 52" fill="none" stroke="#FBBF24" stroke-width="2" stroke-linecap="round"/>
<line x1="175" y1="4" x2="175" y2="52" stroke="#3F3F46" stroke-dasharray="3 3"/>
</svg>
</div>
<div class="mt-4 space-y-3.5">
<div>
<div class="flex justify-between font-mono text-xs"><span class="text-slate-600 dark:text-zinc-400">CUTOFF FREQ</span><span data-cut-val class="font-bold text-amber-700 dark:text-amber-400">2,400 Hz</span></div>
<input type="range" min="200" max="8000" value="2400" oninput="this.closest('[data-synth-rack]').querySelector('[data-cut-val]').textContent=Number(this.value).toLocaleString()+' Hz'" class="mt-1.5 w-full cursor-pointer accent-amber-400" />
</div>
<div>
<div class="flex justify-between font-mono text-xs"><span class="text-slate-600 dark:text-zinc-400">RESONANCE / Q</span><span data-res-val class="font-bold text-cyan-600 dark:text-cyan-400">42%</span></div>
<input type="range" min="0" max="100" value="42" oninput="this.closest('[data-synth-rack]').querySelector('[data-res-val]').textContent=this.value+'%'" class="mt-1.5 w-full cursor-pointer accent-cyan-400" />
</div>
</div>
</div>08 / GDPR Privacy Switch Panel
Compliance · GDPRLoading preview…
<div class="w-full max-w-md overflow-hidden rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-5 shadow-md text-black dark:text-zinc-100" data-gdpr-card>
<div class="flex items-start justify-between gap-3">
<div>
<h4 class="text-sm font-bold text-slate-900 dark:text-zinc-100">Data & Cookie Governance</h4>
<p class="mt-0.5 text-xs text-slate-500 dark:text-zinc-400">Manage consent scopes stored on this browser.</p>
</div>
<span class="rounded-full bg-emerald-50 dark:bg-emerald-500/15 px-2.5 py-0.5 text-[10px] font-semibold text-emerald-700 dark:text-emerald-300 ring-1 ring-emerald-200">GDPR Ready</span>
</div>
<div class="mt-4 space-y-2.5 text-xs">
<div class="flex items-center justify-between gap-3 rounded-xl bg-slate-50 dark:bg-zinc-800/60 px-3.5 py-2.5">
<div><p class="font-semibold text-slate-900 dark:text-zinc-100">Strictly Necessary</p><p class="text-[11px] text-slate-500 dark:text-zinc-400">Auth session & CSRF protection</p></div>
<span class="font-mono text-[10px] font-bold text-emerald-700 dark:text-emerald-300">LOCKED ON</span>
</div>
<div class="flex items-center justify-between gap-3 rounded-xl border border-slate-200 dark:border-zinc-800 px-3.5 py-2.5">
<div><p class="font-semibold text-slate-900 dark:text-zinc-100">Product Telemetry</p><p class="text-[11px] text-slate-500 dark:text-zinc-400">Anonymized performance metrics</p></div>
<button type="button" aria-pressed="true" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-slate-900',!on);this.classList.toggle('bg-slate-200',on);this.firstElementChild.classList.toggle('translate-x-4',!on);this.firstElementChild.classList.toggle('translate-x-0',on);" class="relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full bg-slate-900 dark:bg-white p-0.5 transition-colors"><span class="h-4 w-4 translate-x-4 rounded-full bg-white shadow-xs transition-transform border border-slate-200 dark:border-zinc-800"></span></button>
</div>
<div class="flex items-center justify-between gap-3 rounded-xl border border-slate-200 dark:border-zinc-800 px-3.5 py-2.5">
<div><p class="font-semibold text-slate-900 dark:text-zinc-100">Session Replay</p><p class="text-[11px] text-slate-500 dark:text-zinc-400">Debug UX issues in real flows</p></div>
<button type="button" aria-pressed="false" onclick="const on=this.getAttribute('aria-pressed')==='true';this.setAttribute('aria-pressed',!on);this.classList.toggle('bg-slate-900',!on);this.classList.toggle('bg-slate-200',on);this.firstElementChild.classList.toggle('translate-x-4',!on);this.firstElementChild.classList.toggle('translate-x-0',on);" class="relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full bg-slate-200 dark:bg-zinc-700 p-0.5 transition-colors text-black dark:text-zinc-100"><span class="h-4 w-4 translate-x-0 rounded-full bg-white shadow-xs transition-transform border border-slate-200 dark:border-zinc-800"></span></button>
</div>
</div>
<div class="mt-4 flex gap-2">
<button type="button" onclick="this.closest('[data-gdpr-card]').querySelectorAll('button[aria-pressed]').forEach(b=>{b.setAttribute('aria-pressed','false');b.classList.remove('bg-slate-900','dark:bg-white');b.classList.add('bg-slate-200','dark:bg-zinc-700');b.firstElementChild.classList.remove('translate-x-4');b.firstElementChild.classList.add('translate-x-0');});" class="flex-1 rounded-xl border border-slate-200 dark:border-zinc-700 py-2 text-xs font-semibold text-slate-700 dark:text-zinc-300 hover:bg-slate-50 dark:hover:bg-zinc-800">Reject Optional</button>
<button type="button" onclick="this.textContent='Preferences Saved ✓'" class="flex-1 rounded-xl bg-slate-900 dark:bg-white py-2 text-xs font-semibold text-white dark:text-slate-950 hover:bg-slate-800 dark:hover:bg-zinc-200">Save Preferences</button>
</div>
</div>09 / Editorial Print Plan Radios
Editorial SerifLoading preview…
<div class="w-full max-w-lg rounded-2xl border border-stone-200 dark:border-zinc-800 bg-[#FAF8F4] dark:bg-zinc-900/95 p-5 text-slate-900 dark:text-zinc-100" data-ed-plans>
<div class="flex items-center justify-between border-b border-stone-200 dark:border-zinc-800 pb-3">
<span class="font-mono text-[10px] uppercase tracking-widest text-stone-500 dark:text-stone-400">THE ATELIER QUARTERLY · N° 48</span>
<span class="font-mono text-[10px] font-semibold text-stone-800 dark:text-stone-200">ISSUE MEMBERSHIP</span>
</div>
<div class="mt-4 grid grid-cols-1 gap-3 sm:grid-cols-2">
<button type="button" onclick="const r=this.closest('[data-ed-plans]');r.querySelector('[data-ed-summary]').textContent='Includes hardcover Issue N° 48 shipped quarterly + full archive.';this.className='cursor-pointer rounded-xl border-2 border-stone-900 dark:border-stone-200 bg-white dark:bg-zinc-800 p-4 text-left shadow-xs text-black dark:text-zinc-100';this.querySelector('[data-dot]').className='h-4 w-4 rounded-full border-4 border-stone-900 dark:border-stone-200';this.nextElementSibling.className='cursor-pointer rounded-xl border border-stone-200 dark:border-zinc-700 bg-white/80 dark:bg-zinc-800/60 p-4 text-left hover:border-stone-400';this.nextElementSibling.querySelector('[data-dot]').className='h-4 w-4 rounded-full border border-stone-300 dark:border-zinc-600';" class="cursor-pointer rounded-xl border-2 border-stone-900 dark:border-stone-200 bg-white dark:bg-zinc-800 p-4 text-left shadow-xs text-black dark:text-zinc-100">
<div class="flex items-center justify-between">
<span class="font-serif text-base font-medium text-stone-900 dark:text-stone-100">Digital + Print</span>
<span data-dot class="h-4 w-4 rounded-full border-4 border-stone-900 dark:border-stone-200"></span>
</div>
<p class="mt-1.5 text-xs font-semibold text-stone-900 dark:text-stone-100">$18 / month</p>
<p class="mt-0.5 text-[11px] text-stone-500 dark:text-stone-400">Linen monograph delivered worldwide</p>
</button>
<button type="button" onclick="const r=this.closest('[data-ed-plans]');r.querySelector('[data-ed-summary]').textContent='Instant access to 48 digitized monographs & essay PDFs.';this.className='cursor-pointer rounded-xl border-2 border-stone-900 dark:border-stone-200 bg-white dark:bg-zinc-800 p-4 text-left shadow-xs text-black dark:text-zinc-100';this.querySelector('[data-dot]').className='h-4 w-4 rounded-full border-4 border-stone-900 dark:border-stone-200';this.previousElementSibling.className='cursor-pointer rounded-xl border border-stone-200 dark:border-zinc-700 bg-white/80 dark:bg-zinc-800/60 p-4 text-left hover:border-stone-400';this.previousElementSibling.querySelector('[data-dot]').className='h-4 w-4 rounded-full border border-stone-300 dark:border-zinc-600';" class="cursor-pointer rounded-xl border border-stone-200 dark:border-zinc-700 bg-white/80 dark:bg-zinc-800/60 p-4 text-left hover:border-stone-400">
<div class="flex items-center justify-between">
<span class="font-serif text-base font-medium text-stone-900 dark:text-stone-100">Digital Only</span>
<span data-dot class="h-4 w-4 rounded-full border border-stone-300 dark:border-zinc-600"></span>
</div>
<p class="mt-1.5 text-xs font-semibold text-stone-900 dark:text-stone-100">$9 / month</p>
<p class="mt-0.5 text-[11px] text-stone-500 dark:text-stone-400">Full web reader + PDF archive</p>
</button>
</div>
<p data-ed-summary class="mt-3.5 text-xs text-stone-600 dark:text-stone-300">Includes hardcover Issue N° 48 shipped quarterly + full archive.</p>
</div>10 / Merch Variant & Bag Stepper
Commerce TactileLoading preview…
<div class="w-full max-w-md rounded-2xl border border-stone-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-5 shadow-xs text-black dark:text-zinc-100" data-merch-box>
<div class="flex items-center justify-between gap-3 border-b border-stone-100 dark:border-zinc-800/80 pb-3.5">
<div>
<p class="text-[11px] font-semibold uppercase tracking-wider text-stone-400 dark:text-zinc-400">Atelier Knitwear</p>
<h4 class="text-sm font-bold text-stone-900 dark:text-stone-100">Heavyweight Merino Crewneck</h4>
</div>
<span class="text-base font-bold text-stone-900 dark:text-stone-100">$118</span>
</div>
<div class="mt-3.5 flex flex-wrap items-center justify-between gap-4">
<div>
<p class="mb-1.5 text-[11px] font-semibold text-stone-500 dark:text-stone-400">Size: <span data-size-label class="text-stone-900 dark:text-stone-100">M (Regular)</span></p>
<div class="flex items-center gap-1.5">
<button type="button" onclick="const r=this.closest('[data-merch-box]');r.querySelector('[data-size-label]').textContent='M (Regular)';r.querySelectorAll('[data-sz]').forEach(b=>b.className='rounded-lg border border-stone-200 dark:border-zinc-700 px-3 py-1.5 text-xs font-semibold text-stone-700 dark:text-zinc-300');this.className='rounded-lg border border-stone-900 dark:border-white bg-stone-900 dark:bg-white px-3 py-1.5 text-xs font-semibold text-white dark:text-stone-950';" data-sz class="rounded-lg border border-stone-900 dark:border-white bg-stone-900 dark:bg-white px-3 py-1.5 text-xs font-semibold text-white dark:text-stone-950">M</button>
<button type="button" onclick="const r=this.closest('[data-merch-box]');r.querySelector('[data-size-label]').textContent='L (Relaxed)';r.querySelectorAll('[data-sz]').forEach(b=>b.className='rounded-lg border border-stone-200 dark:border-zinc-700 px-3 py-1.5 text-xs font-semibold text-stone-700 dark:text-zinc-300');this.className='rounded-lg border border-stone-900 dark:border-white bg-stone-900 dark:bg-white px-3 py-1.5 text-xs font-semibold text-white dark:text-stone-950';" data-sz class="rounded-lg border border-stone-200 dark:border-zinc-700 px-3 py-1.5 text-xs font-semibold text-stone-700 dark:text-zinc-300">L</button>
<button type="button" onclick="const r=this.closest('[data-merch-box]');r.querySelector('[data-size-label]').textContent='XL (2 left)';r.querySelectorAll('[data-sz]').forEach(b=>b.className='rounded-lg border border-stone-200 dark:border-zinc-700 px-3 py-1.5 text-xs font-semibold text-stone-700 dark:text-zinc-300');this.className='rounded-lg border border-stone-900 dark:border-white bg-stone-900 dark:bg-white px-3 py-1.5 text-xs font-semibold text-white dark:text-stone-950';" data-sz class="rounded-lg border border-stone-200 dark:border-zinc-700 px-3 py-1.5 text-xs font-semibold text-stone-700 dark:text-zinc-300">XL</button>
</div>
</div>
<div>
<p class="mb-1.5 text-[11px] font-semibold text-stone-500 dark:text-stone-400">Quantity</p>
<div class="inline-flex items-center rounded-xl border border-stone-200 dark:border-zinc-800 bg-stone-50 dark:bg-zinc-800/60">
<button type="button" onclick="const r=this.closest('[data-merch-box]');const q=r.querySelector('[data-qty]');const n=Math.max(1,Number(q.textContent)-1);q.textContent=n;r.querySelector('[data-sub]').textContent='$'+(n*118);" class="cursor-pointer px-3 py-1.5 text-sm font-bold text-stone-700 dark:text-stone-300">−</button>
<span data-qty class="px-3 text-xs font-bold text-stone-900 dark:text-stone-100">2</span>
<button type="button" onclick="const r=this.closest('[data-merch-box]');const q=r.querySelector('[data-qty]');const n=Number(q.textContent)+1;q.textContent=n;r.querySelector('[data-sub]').textContent='$'+(n*118);" class="cursor-pointer px-3 py-1.5 text-sm font-bold text-stone-700 dark:text-stone-300">+</button>
</div>
</div>
</div>
<div class="mt-4 flex items-center justify-between border-t border-stone-100 dark:border-zinc-800/80 pt-3.5 text-xs">
<span class="text-stone-500 dark:text-stone-400">Subtotal: <strong data-sub class="text-stone-950 dark:text-white">$236</strong></span>
<span class="font-medium text-emerald-700 dark:text-emerald-300">Free Express Shipping</span>
</div>
</div>