skip to content

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 JSON
  • components — demo HTML, CSS and a typed React component per piece
  • templates — full pages: landing, portfolio, dashboard, article, sign-in
  • prompts — 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 previews

raw endpoints — curl-able

/llms.txtindex of everything, for agents
/r/<design>/agent.mdbrief + palette + rules + tokens + classes
/r/<design>/<design>.csstokens + base + all components
/r/<design>/tokens/tokens.cssvariables only
/r/<design>/tokens/tokens.jsondesign tokens JSON
/r/<design>/prompts/<id>.mdone prompt, raw
/r/<design>/components/<id>.cssone component's CSS
/r/<design>/templates/<id>.htmlstandalone page, CSS inlined
/preview/<design>/<id>live preview page
$ curl -s http://localhost:3000/r/flora/agent.md | pbcopy

add a design — 5 steps

  1. Create content/designs/<slug>/ and add tokens/tokens.css.
  2. Write meta.ts (shape below). Every file path in it is relative to the design folder.
  3. Register it in content/designs/index.ts.
  4. Put images in public/designs/<slug>/ and reference them with absolute paths.
  5. Run npm run banners to generate its ASCII title, then npm 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, 0key bar actions
6cycle theme: cobalt, amber, phosphor, paper
7CRT scanlines on/off
↑ ↓ entermove 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
vault — command line
  • pageHome — ~/
  • pageAll designs — ls designs/
  • pagePrompt library — ls prompts/
  • pageTemplate gallery — ls templates/
  • pageDocs: add a design — man vault
  • designFlora — Warm botanical interfaces with paper surfaces and hard shadows.
  • pageFlora tokens — flora/tokens
  • componentFlora / Button — Primary, secondary, dark, ghost and icon buttons that lift and press.
  • componentFlora / Card — Paper, sage and dark cards; link cards lift on hover.
↑↓ select · enter open · esc close · try: copy flora/agent