Introduction
Velz is a JavaScript framework for building websites. It is opinionated about the things that are usually decided badly: type, spacing, motion, colour and file layout. It is quiet about everything else.
What you get
- File based routing, server rendered pages, and islands for interaction.
- A design system with fluid type, an 8px spacing scale and one easing curve.
- Adapters for Cloudflare Workers, Vercel and Node, all using the Web Fetch API.
- A linter and an MCP server so an AI coding agent builds against the real API.
What you do not get
There is no plugin marketplace, no config file to learn and no opinion about your data layer. Velz renders pages, it does not own your database.
The shape of a project
src/
app.tsx app shell, wraps every page
pages/ routes
index.tsx /
about.tsx /about
blog/
layout.tsx wraps everything under /blog
[slug].tsx /blog/:slug
islands/ interactive components, hydrated in the browser
api/ request handlers
styles.css your styles, on top of the design systemOne rule worth keeping
A page is server rendered unless it has to be otherwise. Put interaction in src/islands and the rest of the site ships no JavaScript at all.