Skip to main content
Sometimes, your app output may not match your imagination or vision. In these cases, it’s important to know the steps to elevate the design output to match your envisioned look and feel as closely as possible - because your app deserves to look sharp!

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:
This prompt ticks off the key rules for an effective design prompt:
  • 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.
If you want to take this to the next level, attach a screenshot of a website which has the design style and vibe you want to emulate!

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
In these cases, it is understandably frustrating to further prompt the agent and troubleshoot. However, here is the basic prompt structure that gives you a better chance of getting where you wanted:
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:
Pro Tip: If you do not know the animation styles Emergent has used in your apps, you can ask the agent for the current duration and animation styles it is using on specific pages.

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:
As always, attaching a screenshot of the UI issue in chat and describing what you want to see instead will be the cherry on top for all of these prompts.

Type A: Visual Style Tweaks

Use this format:
Example:

Type B: Component Replacement

Use this format:
Example:

Type C: Add New Element

Use this format:
Example:

Type D: Remove Element

Use this format:
Example:

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:
  1. Use Visual Language:
    • “Move X above Y”
    • “Make X twice as large”
    • “Add 16px space between X and Y”
  2. Reference Existing Elements:
    • “Make it match the hero button style”
    • “Use the same animation as the feature cards”
    • “Apply the footer color scheme here”
  3. Specify Breakpoints:
    • “Desktop only (above 768px)”
    • “Mobile only (below 640px)”
    • “All screen sizes”
  4. Be Explicit About Scope:
    • “Only the hero section”
    • “All buttons except the footer links”
    • “Every card in the features section”
  5. Use Exact Values When Possible:
    • “32px padding” not “more padding”
    • “#F5F5F5” not “light gray”
    • “0.5s duration” not “slower”
If you’re unsure about what spacing, color hexcode or animation duration your app is currently using, you can always ask the agent for that information and tweak it accordingly.

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.