Declare — a UI language for you and your AI

davidtemkin.github.io74 min read

Declare is a new domain-specific UI language designed for both humans and AI models, combining layout, motion, state, and drawing directly into its grammar and compiler. According to creator David Temkin, the language offers "comprehension leverage" by remaining small enough for an LLM to hold entirely in context while providing verifiable correctness through a strict compiler. Benchmarks cited by the author suggest apps built in Declare require significantly fewer lines of code and pass compiler checks more reliably than equivalent implementations in React. Open article →

More on this topic