Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Astro starter template with CUBE CSS for blogs, documentation, and marketing sites.
Astro Cube is a minimal, open-source Astro starter template that bundles the CUBE CSS methodology, Every Layout patterns, and Utopia fluid type and spacing into a barebones foundation for blogs, documentation sites, and marketing pages.
Astro Cube is a minimal starter kit for Astro, the static site builder, created by developer williamhzo. It takes a standard Astro project structure and adds a CUBE CSS stylesheet architecture, fluid typography and spacing via Utopia's clamp() functions, and a set of Every Layout examples, producing a lightweight, responsive site with a perfect Lighthouse score. The template is intentionally almost-unopinionated: instead of a batteries-included solution, it provides copyable stylesheets and examples that explain how to apply the included methodologies.
data-theme attribute on the body element switches themes; the starter leaves the switch implementation to you.The template is a standard Astro project. To run it locally, clone the repository, run npm i to install dependencies, then npm run dev to start the dev server; npm run build outputs to ./dist/ and npm run preview serves that production build. Alternatively, GitHub's "Use this template" button creates a new repository pre-populated with the starter.
Yes, the repository is publicly available on GitHub under williamhzo's account; no pricing or license restrictions are mentioned in the README.
The template's topics include "no-javascript," meaning the demo styles and layout work without script. Astro itself can still transpile and ship script components if you add them.
It uses CUBE CSS as its architecture, Utopia for fluid clamp-based type and spacing, and Every Layout for compositional patterns. It does not rely on a UI framework like Tailwind.
Yes, but the starter is intentionally barebones. You would add Astro content collections or a CMS integration yourself; the README positions it as a starting kit rather than a battery-included solution.
The README links to a live deployment at astro-cube.vercel.app (Vercel), which shows the template running with its default content.
