Grok — one prompt to a published app
Take one request through an interactive preview and local edits into a publishable app. Let phone and desktop serve different usage scenarios.
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fafafa}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="sequence"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>Motion and composition
Local motion · Composition rules
Use white space to focus attention on the app itself
Place a phone or desktop window in generous white space, with brief black branding statements. Use sans serif interface text, reducing code or status text in size and contrast; give the preview result the largest area.
Use the first example to prove it is playable
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fafafa}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="0" data-end="19"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>Move from mode selection to a phone racing app, then show continuous interaction after opening the preview. When car selection appears, bring the selected car back into the same game scene.
Use the desktop example to show continued editing
When switching to a résumé or project management app, retain the request, preview, and edit relationship. Place input and result side by side, preserving corresponding positions before and after changes.
Publishing is the task's endpoint
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Grok — one prompt to a published app · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fafafa}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="32" data-end="50"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>Show Publish only after app content is complete. Give the click a clear destination, then summarize coverage with a cross-device phrase; do not end midway through generation.
Connect multiple examples along one thread
Establish an intuitive experience with phone interaction, then broaden uses with desktop tasks. Each example adds one capability beyond the last, converging on publishing at the end.
Replace the apps and brand
Adapt to a canvas, course tool, or team workspace. Prepare one example that demonstrates interaction and another that demonstrates editing, then give both the same delivery action.
Sections and rhythm
Click a section to seek to it in the choreography example above.






Visual references · Discrete still frames
Creating other themes
- Adapt to design tools: input→interactive preview→local edit→publish.
- Outputs must be recognizable; generic cards cannot replace every example.
Production constraints
Mode menu / phone / racing preview / car selection / desktop app / publish button
- Demonstrate actual interaction after generation first, then switch to desktop to show another type of publishable application.
- Apply car changes to the same racing object, maintaining continuity between preview and editing.
- Make the final publish click the delivery endpoint; do not end on an interface still generating.