Overview
First off, the style of writing your prompts is a big determinant in the kind of aesthetic Emergent will deliver. Let’s have a look at the right (and wrong) way to prompt your agent to get the best design out of it.Average Prompt:Why this prompt does not work:
- Too vague: What does looking plain mean? What needs to improve?
- No direction: How does the agent improve the design? What color palette’s would you like to see?
- No examples or references: Attach some color options you want to see, or an app reference that resembles your vision
A great prompt:This prompt works because it follows the Effective Prompting Rules:
- It’s specific - what needs to change
- It’s descriptive - providing replicatable pointers to the app (a color hexcode, for example.)
Design - Specific Prompts
When it comes to designing your vibe-coded app, there’s a few ways to make your creation stand out from the rest:The initial prompt
You must ensure that the basic design style for the app is conveyed to the agent from the very beginning. For example, if you want your design to be elegant, minimalist in the monochrome color palette that suits a modern tech landing page, your prompt should resemble:- It’s specific: It mentions the colors we want, the desired look (4px rounded corners), and the icon style.
- It’s descriptive: It mentions the kind of animations we want and the CSS library to use (although this is not strictly needed, Emergent auto-selects modern libraries to ensure light, robust applications.)
- It has references: It clearly mentions reference websites that our agent can use to establish your expected design style.
Optimizing the design mid-build
There are times when you’re halfway through a build and you either- Want to pivot to another design style
- See inconsistencies in the style in the app vs. your vision
Ensure that you take screenshots of the sections you want to improve and share it with the agent for quick iterations!
Some Use Cases
1. Specific UI Changes
Here’s an example of a mid-build change where we want to alter a button:The Best Prompt:
A Bad Prompt:
2. Spacing Issues
Sometimes, there are too many elements for the layout to render well. Here’s what we do in these cases:The Best Prompt:
A Bad Prompt:
3. Animation Issues
In case your app has those sleek animations and you want to finetune them, here’s how you go about that:A Good Prompt:
A Bad Prompt:
The Holy Grail of Design Tweaking Prompts
When it comes to Emergent, here is the category of tweaks and the corresponding ‘best practice’ prompt style your requirement may full under:Type A: Visual Style Tweaks
Use this format:Type B: Component Replacement
Use this format:Type C: Add New Element
Use this format:Type D: Remove Element
Use this format:Key Considerations to Always Remember
When it comes to tweaking designs, specificity and visual feedback to the agent is the golden standard. Here’s the quick and easy checklist to consider whenever refining your app design:- Use Visual Language:
- “Move X above Y”
- “Make X twice as large”
- “Add 16px space between X and Y”
- Reference Existing Elements:
- “Make it match the hero button style”
- “Use the same animation as the feature cards”
- “Apply the footer color scheme here”
- Specify Breakpoints:
- “Desktop only (above 768px)”
- “Mobile only (below 640px)”
- “All screen sizes”
- Be Explicit About Scope:
- “Only the hero section”
- “All buttons except the footer links”
- “Every card in the features section”
- Use Exact Values When Possible:
- “32px padding” not “more padding”
- “#F5F5F5” not “light gray”
- “0.5s duration” not “slower”
A Quick Recap
As we have seen, the general build of your prompt should show a reference, the element you want to change, and what change you wish to see.| Change Type | Format | Example |
|---|---|---|
| Style Property | Change [element] [property]: [old] → [new] | Change hero button color: black → white |
| Spacing | [Add/Remove] [amount] [type] [location] | Add 24px margin below each feature card |
| Animation | Adjust [element] animation: [what to change] | Adjust card hover: scale 1.05 → 1.02 |
| Layout | Change [section] layout: [old] → [new] | Change features: 2x2 grid → 1x4 row |
| Add Element | Add [element] to [location]: [specs] | Add gradient to hero: top to bottom fade |
| Remove Element | Remove [element] from [location] | Remove subheadline from hero section |