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
Alternatives
Generate feature code from project filesThis prompt takes a project's files and change instructions as JSON and returns the code to build the requested feature. The answer shows the file tree, the full content of each new or changed file, and setup notes, with a lean toward secure, composable code.Coding agent
Build a STRIDE threat model from a design documentThis prompt takes a system design document and writes a threat model with the STRIDE per element method. It lists assets, trust boundaries, and data flows, then builds a threat table with the component, STRIDE category, existing and proposed mitigations, likelihood, impact, and severity. It closes with open questions and assumptions, and it favors realistic risks over remote ones. The output is Markdown without bold or italics.Coding agent
Clothing Search Tool Call JSONConvert a clothing request into a product-search call with category, subcategory, and color arguments.Commerce
Conditional Logic Decision TreeMap conditional code into a decision tree with execution traces and refactoring opportunities.Coding agent