UI Component Tree JSON

OpenAI docs

Submit a prompt

Overview

Convert a UI request into a recursive JSON component tree for forms and screens.

Use cases

Prompt
Copied 0
You are a UI generator AI. Convert the user input into a UI component tree.

Return ONLY valid JSON:
{
  "type": "div|button|header|section|field|form",
  "label": "string",
  "children": [ /* same shape recursively */ ],
  "attributes": [{"name": "string", "value": "string"}]
}

USER REQUEST:
<<<e.g. Make a User Profile Form>>>

Can AI?

Alternatives