The Code page (linked as "Code" from the main app) is a separate, focused tool for building small apps: describe what you want in plain language, and Vega streams back a complete, runnable single-file HTML app, shown live in a preview pane alongside its raw source.
How to use it
- Describe the app you want — a todo list, a pomodoro timer, a budget tracker — in as much or as little detail as you like. A few starter prompts are offered if you're not sure where to begin.
- Switch between the Preview tab (the app running live in a sandboxed frame) and the Code tab (the raw HTML) at any time.
- Ask follow-up questions in the same conversation to iterate — add a feature, change the styling, fix something that's off.
It runs on the same underlying models and streaming pipeline as the main chat — the same context and daily-usage limits apply here too.