Like Astro, if Astro were made for React.

Zero JavaScript
until a page needs it.

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 pagedeck
Read the docs

As light as plain HTML. Built like a React app.

  • Interactive only where you need it

    Mark 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.

  • Zero JavaScript by default

    A page with nothing to click, type or play ships plain HTML and CSS, without a single script.

  • React all the way down

    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 ›

Unstyled, your look.

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.

Paper
Paper CSS · 22 lines
.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;
}
Signal
Signal CSS · 36 lines
.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;
}

Small, leans on the browser.

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.

Built for agents.

Whether you write the code or your coding agent does, pagedeck leaves less to guess.

Accessible by default.

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 ›

pagedeck is part of deck.cool, a family of unstyled React packages that look like you and work like the browser. Meet the family ›