Lightlines
By reason-machines

json-render-generative-ui

reason-machines1.3k installs

Build dynamic interfaces from AI-written JSON.

What it does

Guides developers in building interfaces that render AI-generated specifications using a predefined, typed component catalog.

When to use it

Use when building json-render interfaces, defining component catalogs, or streaming AI-generated UI.

How to use it

It changes how the agent builds generative interfaces by defining a component catalog, mapping rendering implementations, and rendering specifications.

What you provide

  • An existing project

Uses

Latest review

What you need · 2

Lists an environment variable for OpenAI authentication when generating specifications with AI; the preferred provider can be used instead.

Lists an environment variable for Anthropic authentication as an alternative provider for AI generation, rather than requiring both provider keys.


Access · 1

This skill

OpenAI

Write

Sends UI prompts to OpenAI