The quality of your icon depends almost entirely on the quality of your prompt. A vague prompt produces a vague icon. A specific, well-structured prompt produces exactly what you had in mind. Here's how to write one.
1. Start With the Subject#
Name the object you want clearly and specifically. The AI can't guess what "security thing" means, but it knows exactly what "a padlock" or "a shield with a keyhole" looks like.
Weak: security icon
Strong: a padlock with a keyhole
Aim for a noun phrase — one main object, optionally with a detail or two.
2. Specify the Style#
Always name the visual style explicitly. Without a style, the model will pick one at random, and results will vary wildly between generations.
Weak: a camera
Strong: a camera, flat style
Popular styles to try: flat, outline, 3D, glassmorphism, pixel art, isometric, hand-drawn, neon, gradient, minimalist.
3. Add Color Intent#
Tell the model what color palette you want. You don't need exact hex codes — descriptive language works well.
Examples:
in blue and whitemonochromevibrant gradient, purple to orangemuted earthy tones
4. Set the Mood#
A single adjective about the feel of the icon can significantly improve the result.
Examples:
bold and minimalplayful and softprofessional, cleandark and dramatic
5. Avoid Vague Filler#
Words like "nice", "cool", "modern", or "beautiful" add no visual information. The model doesn't know what "modern" looks like without more context. Replace filler with specific descriptors.
Weak: a nice modern icon
Strong: a rocket, flat style, blue and white, minimal
Putting It Together#
A well-formed prompt follows this pattern:
[subject], [style], [color], [mood]
Example: A rocket ship, flat style, orange and white, bold and minimal
That's it. Four elements. Start there and refine from the output.
Explore Style-Specific Tips#
Each icon style has its own vocabulary and prompt techniques. Dive deeper: