Ridgeline Shell
A three-layer rain jacket for long wet days
$189.00
See the whole productLike Astro, if Astro were made for React.
Build it in React, style it with your own CSS, or hand it to your agent. Every page reaches your visitors as finished HTML, and only the parts you make interactive bring any JavaScript.
npm create pagedeckMark a component "use client" once, in its own file. Every page that uses it comes alive there, and every page that does not stays plain HTML.
A page with nothing to click, type or play ships plain HTML and CSS, without a single script.
Pages, layouts and interactive parts are all React components. There is no template language to learn and no wrapper file to write.
0 B
of JavaScript on a page with nothing interactive
This page, measured when the site was built. One byte more and the build fails.
See one interactive page, and what it costs ›pagedeck brings no CSS and no theme, so there is nothing to undo: the markup is your own React. Here is one product card, drawn twice from the same content. Only the stylesheet changes, and neither look costs a byte of JavaScript.
A three-layer rain jacket for long wet days
$189.00
See the whole product.paper .teaser {
padding: 36px 32px;
border-radius: 2px;
background: #f4efe6;
color: #2b2118;
font-family: Georgia, "Times New Roman", serif;
box-shadow: 0 18px 40px rgb(0 0 0 / .4);
}
.paper .teaser h3 {
margin: 0 0 8px;
font-size: 34px;
font-style: italic;
font-weight: 400;
}
.paper .teaser p {
margin: 0 0 18px;
font-size: 18px;
line-height: 1.5;
}
.paper .teaser a {
color: #8a3b12;
}A three-layer rain jacket for long wet days
$189.00
See the whole product.signal .teaser {
display: grid;
gap: 12px;
padding: 24px;
border: 2px solid #3ddc97;
background: #000;
color: #3ddc97;
font-family: ui-monospace, Menlo, monospace;
text-transform: uppercase;
}
.signal .teaser h3 {
margin: 0;
font-size: 20px;
letter-spacing: .08em;
}
.signal .teaser h3::after {
content: "";
display: inline-block;
width: .6em;
height: 1em;
margin-left: .3em;
vertical-align: -.15em;
background: currentcolor;
}
.signal .teaser p {
margin: 0;
font-size: 14px;
}
.signal .teaser a {
justify-self: start;
padding: 8px 14px;
background: #3ddc97;
color: #000;
font-size: 14px;
text-decoration: none;
}The browser already knows how to show a page. pagedeck hands it finished HTML and steps aside, so the only JavaScript on a page is the JavaScript that page asked for.
Every page becomes finished HTML before anyone visits, so your words are on screen before a single script runs.
Give each page a JavaScript budget, and the build fails when a page ships one byte more. This page's budget is 0 B.
pagedeck reads your whole CMS entry while it builds the site, and sends the browser only what the page needs. On the content demo it reads 67.1 kB and sends the browser just 2.3 kB, so a phone has far less to download.
See the content demo ›Whether you write the code or your coding agent does, pagedeck leaves less to guess.
Pages are React components, and interactive parts use React's own "use client". An agent that knows React already knows how to build here.
pagedeck is written in TypeScript and ships its types, so your editor and your agent know every option and flag a wrong one as it is written, before the page is built.
Ship more JavaScript than a page's budget, link to a page that does not exist, or give a page a second main area, and the build stops. Your agent hears about it before your readers do.
pagedeck looks after page structure and search for you, for keyboard and screen reader users alike. Each line below is backed by a test in pagedeck's own repo.
Try the search ›Screen readers let people jump straight to a page's main content. Every page gets exactly one main area to jump to (its main landmark), and a component that adds a second fails the build.
Search works from the keyboard alone: arrow keys move through the results, Enter opens one and Escape closes the list. It follows the pattern screen readers expect (a combobox).
Start typing before search is ready, and your text is kept, cursor position and all.
pagedeck is part of deck.cool, a family of unstyled React packages that look like you and work like the browser. Meet the family ›