Skip to main content

Wrafjs

Minimize tokens, maximize structural clarity for LLMs

Get Started →Language Spec

What is Wrafjs?

Wrafjs is a domain-specific language (.wraf) for describing UI wireframes as structured text. The language is deliberately optimized for LLM generation — minimal tokens, no ambiguous syntax, uniform structure. The output is an SVG wireframe rendered in a browser playground.

Key features

  • Token efficient — no redundant syntax, every character counts
  • LLM-friendly — deterministic, regular structure easy to generate and edit
  • Pipeline-ready — text → AST → layout → SVG in one pass