Docs
man vault
what is this
design vault stores complete website design systems. Each design is a folder of real files — CSS, HTML, React, Markdown — so you can edit them in your editor with full syntax highlighting. The site reads those files at build time and turns them into live previews, highlighted code, raw downloads and prompts.
tokens— colors, type, radius, shadows as CSS variables, Tailwind v4 theme and JSONcomponents— demo HTML, CSS and a typed React component per piecetemplates— full pages: landing, portfolio, dashboard, article, sign-inprompts— briefs for coding agents and image models, with fill-in variables
file layout
content/designs/
├── index.ts ← registry: import + list every design
└── flora/
├── meta.ts ← name, palette, type, rules, file map
├── tokens/
│ ├── tokens.css ← CSS variables (required)
│ ├── base.css ← page defaults + decoration helpers
│ ├── tailwind.css ← Tailwind v4 @theme
│ └── tokens.json ← W3C design-token format
├── components/<id>/
│ ├── preview.html ← demo markup (shown live + as code)
│ ├── style.css ← component styles
│ └── <Name>.tsx ← React version, same class names
├── templates/<id>/
│ ├── index.html
│ └── style.css
└── prompts/<id>.md ← {{var|default}} placeholders
public/designs/flora/ ← images used by previewsraw endpoints — curl-able
| /llms.txt | index of everything, for agents |
| /r/<design>/agent.md | brief + palette + rules + tokens + classes |
| /r/<design>/<design>.css | tokens + base + all components |
| /r/<design>/tokens/tokens.css | variables only |
| /r/<design>/tokens/tokens.json | design tokens JSON |
| /r/<design>/prompts/<id>.md | one prompt, raw |
| /r/<design>/components/<id>.css | one component's CSS |
| /r/<design>/templates/<id>.html | standalone page, CSS inlined |
| /preview/<design>/<id> | live preview page |
$ curl -s http://localhost:3000/r/flora/agent.md | pbcopyadd a design — 5 steps
- Create
content/designs/<slug>/and addtokens/tokens.css. - Write
meta.ts(shape below). Every file path in it is relative to the design folder. - Register it in
content/designs/index.ts. - Put images in
public/designs/<slug>/and reference them with absolute paths. - Run
npm run bannersto generate its ASCII title, thennpm run build.
27 lines
import type { DesignMeta } from "@/lib/types";
export const aurora: DesignMeta = {
slug: "aurora",
name: "Aurora",
version: "0.1.0",
status: "draft",
updated: "2026-12-01",
tagline: "One sentence on the look.",
description: "Two or three sentences on where it comes from.",
tags: ["dark", "saas"],
author: "Jasurbek Haydarov",
sources: [],
ascii: " * \n * * \n * ",
palette: [{ name: "Night", token: "--aurora-bg", hex: "#0B1020", role: "Background", on: "light" }],
typography: [],
principles: [],
dos: [],
donts: [],
tokens: [{ label: "tokens.css", file: "tokens/tokens.css", lang: "css" }],
base: [],
components: [], // { id, name, description, preview, css, react, height }
templates: [], // { id, name, description, html, css, uses, height }
prompts: [], // { id, title, kind, description, file, target }
assets: [],
previewHead: "", // e.g. <link rel="stylesheet" href="/fonts/aurora.css">
};prompt variables
Write {{name|default value}} anywhere in a prompt. The site shows an input for each variable; empty inputs fall back to the default. Variable names use letters, digits and underscores.
Tip: ask an agent to “add a new design to the vault from this screenshot” and paste this page’s raw layout — the folder format is simple enough to generate.
keyboard
| ^K / : | command line + search |
| 1 – 8, 0 | key bar actions |
| 6 | cycle theme: cobalt, amber, phosphor, paper |
| 7 | CRT scanlines on/off |
| ↑ ↓ enter | move and open in lists |
Commands: help, ls, open, copy flora/agent, curl flora, theme, crt.
roadmap
- auth — sign-in (Auth.js or Clerk) to save favourite designs and private drafts
- editor — tweak tokens in the browser and download the result
- more designs — the registry and routes already handle any number