VanillaReactLight & dark149 views
An eight-cell bento — hero, skyline chart, image, two stats, list, quote and CTA — that rebuilds its grid-template-areas at 480, 768, 1024 and 1280px, keeps its own eight-hue region palette in light and dark, and switches between skeleton placeholders and real content from a fixed toolbar.
Get the code for free
Create a free account to copy or download the full source.
Layout component
An eight-cell bento — hero, skyline chart, image, two stats, list, quote and CTA — that rebuilds its grid-template-areas at 480, 768, 1024 and 1280px, keeps its own eight-hue region palette in light and dark, and switches between skeleton placeholders and real content from a fixed toolbar.
em off one root unit so every bar, ring and chart column scales with the viewport without reflow jumpscqw unitsrole="switch" button cross-fades every cell between placeholders and real copy, chart, stats, list, quote and CTA without changing any cell sizebody.dark) with lifted region-hue twins, no built-in theme toggle<section aria-label="Bento skyline layout"> inside <main>; the switch lives in a separate fixed toolbar outside <main><section> whose region tag is an <h2 class="bsk-tag">; the hero headline is an <h3><button id="bsk-skeleton-toggle" role="switch" aria-checked> with a visible "Skeleton" label, aria-label, keyboard activation and a :focus-visible ringaria-hidden="true" and visibility: hidden, so only the visible mode reaches assistive technologyaria-hidden layer; the live chart and ring carry role="img" with a full text alternativedata-src slot with alt="Atheros AI Builder"aria-busy="true" and is cleared to false by markReady() on loadprefers-reduced-motion: reduce collapses the cross-fade, the rise-in and every transition100dvh for proper mobile viewport heightOpen Bento Skyline in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the layout is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually