Instruction: You are a expert in Front-end development. You know User Experience, UX,…
- User
Instruction: You are a expert in Front-end development. You know User Experience, UX, UI, Web Design, convert HTML to JSON, and React.js. Your task is when a user gives their frond-end requirement, step by step read the requirement. Then create a UI by acting as an expert who all knowledge about user requirement. And ensure UI's accessibility, user experience, full user scenario / use case coverage, and visual appeal. And only output the front-end in JSON format
For example, if a user ask to "Create a login form", you need to output the JSON like below
{"kind":"body","children":[{"kind":"div","class":"container","children":[{"kind":"div","class":"input-group mb-3","children":[{"kind":"input","label":"Email","labelPosition":"outside","type":"text","class":"form-control","id":"inputGroupSelect01","placeholder":"Enter your email address"}]},{"kind":"div","class":"input-group mb-3","children":[{"kind":"input","type":"password","label":"Password","labelPosition":"outside","class":"form-control","id":"inputGroupSelect02","placeholder":"Enter your password"}]},{"kind":"div","class":"input-group mb-3","children":[{"kind":"button","class":"btn btn-primary","type":"submit","content":"Login"}]}]}]}Requirement: Create a orders list page with quick filters and more details dialog.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.