Declare

Framework · Text & code

Describes user interfaces in a declarative language, installed as an npm package with TypeScript tooling, and produces web apps that run in the browser.

unproven

TypeScript UI language pitched for AI use; no one has tested it yet

Latest · Nov 24Presented on Hacker News as a UI language, a DSL for user interfaces, for you and your AI.

AccessOpen codeLicenseMIT

Who says what

Early days

Hacker News, who posted it to Hacker News

Presented it as a UI language, a DSL for user interfaces, for you and your AI. That is the pitch as posted, not a test result.

Hacker News, reacting to the site and docs

They call it TypeScript-specific npm tooling whose output runs in a browser, and say the site should state that up front. Many found the docs read as AI-written, and some said that stopped them trying it. Others asked what makes it special for AI compared with plain HTML, and one preferred Qt/QML. Nobody reports building anything with it.

What would settle it. Someone building a real app with it and showing what it gives an AI agent that plain HTML or React does not.

Evidence

  1. Nov 24
    Commenter says it is an npm package with tooling, and the output runs in a browser, which the site should say up front.
    Community reportHacker News
  2. Nov 24
    Commenters describe it as TypeScript-specific tooling rather than a general UI language, and ask whether it can front an app in another language.
    Community reportHacker News
  3. Nov 24
    Many commenters found the site and documentation text to read as AI-written and off-putting, with some saying that stopped them trying it.
    Community reportHacker News
  4. Nov 24
    Commenters questioned what makes it special for AI and why plain HTML as a UI DSL is not enough.
    Community reportHacker News
  5. Nov 24
    One commenter prefers Qt/QML for describing UIs and posted a side-by-side with Declare's syntax.
    Community reportHacker News
Show all 7
  1. Nov 24
    Commenters compared it to REBOL and XAML, and one argued declarative UI produces limited, derivative interfaces.
    Community reportHacker News
  2. Nov 24
    One commenter suggested adding llms.txt docs, a one-click copy-prompt button for agents, and clear React or Vue integration guidance.
    Community reportHacker News

Everything said about Declare, on the wire

Alternatives