Designing UI With Amp
Use Amp to explore UI designs, refine a direction, and build it in your app. Start with a screenshot and describe what you want people to be able to do.
Amp uses its image tool, Painter, to generate mockups when you ask for UI ideas. You can compare designs before committing to an implementation, then keep working in the same thread to turn the chosen design into code.
Start With Your UI and a Goal
Attach a screenshot of the page you want to improve, or ask Amp to run your app and take one. Explain what is difficult to use and what should stay the same.
You can attach images or mention image files with @. If you are starting
from scratch, describe the screen and its purpose instead. Add a reference image if you have a
visual style in mind, and say which parts Amp should borrow.
Compare Different Layouts
Ask for alternatives that change how the UI works, rather than only its colors or spacing. Include the states you need to judge the design, such as an open menu.
Amp can ask Painter to put several variants in one comparison image. For larger screens, ask for separate images so you can read each design. Painter generates one image per call, so Amp makes multiple calls for separate images.
Check whether each design supports the task you described. Image models can invent controls or leave out requirements; a polished image does not mean the design is complete.
Refine a Direction
Choose an image and describe what to keep and what to change. You can refer to a labeled variant in the same thread without rewriting the original request.
Amp passes the selected image back to Painter as a reference along with instructions for the revision. When available, it can also include your original screenshot to preserve your app’s styling. Painter accepts up to three reference images per call.
You can combine parts of different variants too:
Continue with specific feedback on the result. For a precise change to the working UI, such as adjusting padding or fixing a button, ask Amp to edit the code directly instead of generating another mockup.
Build and Review the UI
When you have a direction you like, ask Amp to implement it using your app’s existing components. The generated image is a design reference, not a working interface.
Review the running app as well as the screenshots. In an orb, ask for a portal so you can try it yourself:
Use the portal’s floating review button to select an element and send feedback to the same thread. Test interactions in the app; a mockup cannot tell you whether a menu works or focus moves correctly.
Create Supporting Assets
Painter can also generate images for the UI. Ask for a transparent background when an isolated asset will sit over your app’s background.
Painter supports transparent PNGs. Amp should check the file’s transparency as well as its appearance before delivering it; a white or checkerboard background alone is not proof.
Keep the background for a complete composition, such as a UI mockup or poster. An app icon with its own designed background should stay opaque too. See Painter for the available background options.