Guides / Design tips

Draw a whole app icon set with Claude Code: the official Frontend Design skill plus 5 rules make 12 icons one set

AI icons look pieced together because they have no rules. Anthropic's Frontend Design skill plus one grid, stroke, radius, 4 colours and one light fixes it.

Why do other people's Claude icons look like one person drew them, while yours look pieced together from four places? Most people think you have to draw them one at a time. Wrong. A set comes from five rules: one grid, one stroke width, one corner radius, only 4 colours and one light source. In this guide we used a fictional Taiwanese bubble-tea brand, YEYU (葉語茶飲): Claude Code with Anthropic's official Frontend Design skill drew 12 app icons in one go, all hand-written SVG, each with a tiny looping animation. Every image below was drawn by Claude Code.

01Install the Frontend Design skill first (2 minutes)

  1. Open Claude Code.
  2. Type: /plugin marketplace add anthropics/skills
  3. Then type: /plugin install example-skills@anthropic-agent-skills
  4. From then on, whenever you ask Claude for icons, an interface or a web page, it follows the skill's process first.

The skill is written by Anthropic and lives in the anthropics/skills repository on GitHub; it is also available on paid claude.ai plans. Its most important step is "tokens before drawing": before it draws anything it writes the palette as 4 to 6 named hex values and turns the grid, stroke, radius and light into numbers, then every icon is drawn from that one table. The icons look like a set because they share the table.

02See the difference first: pieced together vs one set

12 icons with different colours, sizes, corner radii and stroke widths, as if pieced together from different places
"Pieced together": the same 12 icons with the five rules scrambled on purpose. Colours, tiles, sizes and light differ.

The image above is a control we made on purpose: the same icons with every rule randomised, so it looks like 12 people drew one each. The image below is the real version, drawn by the five rules.

YEYU's 12 app icons: home, menu, bubble tea, hot tea, tea leaf, ice, sugar, stamps, store, delivery, member, coupon
The real set: 12 icons on one grid, one stroke width, one corner radius, 4 colours, light from the top-left.

03Step 1: paste the prompt, with the five rules inside it

This prompt is the whole guide. The first half says what the brand is and which icons you need; the second half writes the five rules as numbers. The numbers matter: "keep the style consistent" just makes it guess.

Icon set prompt (replace the [ ] parts)
Make a full set of app icons for [brand name + one-line description].
I need [number] icons: [icon names, e.g. home, menu, member…].
Hand-write every icon as SVG, and give each one a tiny looping animation (e.g. [steam rising, leaf swaying, cup filling, ice floating…]).

Follow the skill: set the tokens (palette, rules) first, then draw. The set must look like one person drew it. Five rules:
1. One grid: draw everything on a 24×24 grid with 2 units of padding, aligned to the keylines (circle 20, square 18), so the sizes match
2. One stroke: every line is 1.5 with round caps
3. One radius: every tile has the same corner radius, and every inner shape has corner radius 2
4. Only 4 colours: [colour 1], [colour 2], [colour 3], [colour 4]; every icon picks from these 4
5. One light source: light comes from the top-left, every shape is light on the top-left and dark on the bottom-right (the dark half is one shared 18% shade layer), and every tile's shadow falls to the bottom-right

Direction: flat illustration on a rounded tile, the same palette reused throughout; simple shapes that read at a glance and stay clear when shrunk to a phone tab bar. No 3D, no gradients, no mixed styles, no grey placeholder boxes.
Finally, show me the whole set inside an app home screen and a bottom tab bar.

In the version we actually used, the brand was "a fictional Taiwanese bubble-tea shop, YEYU", and the 12 icons were: home, menu, bubble tea, hot tea, tea leaf, ice level, sugar level, stamps, store, delivery, member and coupon. The animations we listed were: hot tea steaming, leaf swaying, cup filling, ice floating, a sugar cube dropping, the map pin bouncing and the scooter wheels turning. The 4 colours were: tea green, sprout green, amber and milk cream.

04Step 2: it sets the tokens first, then draws 12 SVGs

With the skill installed, Claude doesn't start drawing. It writes a design plan first and turns the rules into numbers: the 4 colours are Tea Green #2D5A43, Sprout #A8C66C, Amber #EFA43A and Milk #F7EBD6; the shade is Tea Green darkened to #14302A at 18% opacity, not a 5th colour; a 24×24 grid with 2 units of padding and keylines of circle 20 and square 18; a 1.5 stroke with round caps; tile radius 8 and inner radius 2; light from the top-left, with every filled shape split along its diagonal into a lit half and a shaded half, and each tile's shadow offset 1.5 to the bottom-right.

Only then does it write code. All 12 icons are SVG written by code, not images. Each has its own small loop: the hot tea's steam drifts up, the tea leaf sways, the sugar cube hops, and the delivery scooter's speed lines move.

Hot tea, tea leaf, delivery and sugar icons at 4 moments each, showing steam drifting, leaves swaying and a cube hopping
4 icons at 4 moments each: steam drifts, leaves sway, speed lines move, the cube hops. The motion stays inside the icon.

05The five rules, one at a time

6 icons overlaid with a red 24×24 grid and keylines, every drawing aligned to the same lines
Rule 1, one grid: every icon sits on the same 24×24 grid and hugs the circle or square keyline, so all look one size.
The hot tea icon enlarged, with the 24-unit grid and keylines and a stroke 1.5 label
The hot tea up close: the cup sits on the circle keyline, and the steam and saucer use the same 1.5 line.
Every line in 6 icons highlighted in red; each one is stroke width 1.5
Rule 2, one stroke: every line in red. Steam, menu lines, speed lines and the ground are all 1.5 with round caps.
6 icons whose tiles all have corner radius 8
Rule 3, one radius: every tile has radius 8, and the member card, cup and coupon inside have radius 2.

Rule 4 is colour. The whole set uses only Tea Green, Sprout, Amber and Milk. The tiles rotate through the 4, so no two neighbours in the 4×3 sheet share a colour. The shaded half is not a 5th colour; it is one 18% dark-green shade layer on top.

6 icons with the palette: Tea Green #2D5A43, Sprout #A8C66C, Amber #EFA43A, Milk #F7EBD6, plus an 18% shade
Rule 4, only 4 colours: these 4 swatches plus one 18% shade. Pearls, leaves, house and sugar cubes all pick from here.

Rule 5 is the light source, and it is the one most people miss. Light comes from the top-left, and every shape is split in two: the top-left half stays the base colour, the bottom-right half gets the shade. All 12 icons split the same way, which is what makes them look like one hand.

The tea leaf icon enlarged: a sun top-left, dotted rays landing on the lit halves of the leaves, the right leaf in shade
Rule 5, one light: the sun is top-left, the half it hits is lit, the other half is shaded. Every leaf splits this way.

06Step 3: put it in the app home screen and tab bar, then fix what doesn't match

The last line of the prompt, "show me the whole set inside an app home screen and a bottom tab bar", matters. Icons look fine on their own; only inside a real screen do you learn whether they still read when small.

YEYU app home screen: this week's pick Osmanthus Oolong Milk Tea NT$65, stamps 7/10, 8 order icons and a 4-tab bar
In the app home screen: banner, 8 order icons, a tab bar that still reads tiny. Drink, price and stamps are fictional.
  1. Check the bottom tab bar first: it only passes if the icons still read at their smallest.
  2. Then look at the whole sheet: if one icon doesn't look like part of the set, ask it to fix only that one.
  3. Look at the sheet again after each fix. Don't change several icons at once; the set drifts.
  4. When you're happy, ask it to save the 12 SVG files separately for your developer or your own website.
Fix-one-icon prompt (replace the [ ] parts)
The "[store]" icon doesn't look like part of the set. Check this one against the five rules: is it aligned to the keylines on the grid, is the stroke 1.5, is the radius the same, does it use any colour outside the 4, does the light come from the top-left. Then fix it, and leave the other 11 alone.

07Good to know

  1. YEYU (葉語茶飲) is a fictional brand; the drinks, prices and stamp counts in the app are demo content, and the 12 icons were drawn by Claude Code with this skill.
  2. The "pieced together" image is a control we made by scrambling the rules on purpose. It is not another person's or another AI's work.
  3. The Frontend Design skill supplies the process (tokens first, then draw, then review). The five rules are ours, written into the prompt; they are not built into the skill.
  4. AI output changes every time. The same prompt won't give you these exact 12 icons, but it will give you the same rules.
  5. For a real app, export again to the iOS and Android size specs. These are the function icons inside the app, not the App Store icon.
  6. Use fonts licensed for commercial use, such as Noto Sans TC (SIL OFL).

Sources

Related guides