UI Component Tree JSON
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?
- Generate a UI component tree as JSONPaste into a general LLM and convert a UI request into a recursive JSON component tree for forms and screens