Kubai Icons: draw animated icons that all match
The short version
Ask a coding agent for ten icons and you usually get ten different styles. Kubai Icons is a free skill for Claude Code and Codex that fixes that. You describe what your app needs, and it draws each icon in one consistent style that animates on hover: a folder opens, an envelope unseals, a lock springs open.
It also ships 2,800+ finished icons, MIT licensed, for React, Vue, plain JavaScript and static SVG. This page is the install, the prompts to ask with, and how to keep a set matching.
| Part | What it does | Picture it as |
|---|---|---|
| Agent skill | Rules, a drawing engine and a self-check that draw every icon in one hand | A house style guide your agent actually follows |
| Icon library | 2,800+ ready icons for React, Vue, the web and static SVG | A full set already drawn in that style |
| One accent | Every gradient, outline and shadow derives from a single colour | One paint can for the whole set |
| Self-check | Screenshots each new icon beside the old ones and redraws until they match | A designer holding your icon up next to the rest |
Install the skill
Paste this into Claude Code or Codex and send it.
Install the Kubai Icons skill for me:
clone https://github.com/kubai087/kubai-icons into your skills folder as kubai-icons
(~/.claude/skills in Claude Code, ~/.agents/skills in Codex;
if it's already there, pull the latest version instead),
make sure SKILL.md exists in that folder, and tell me when it's ready.
Restart your agent and the skill is ready. Use a model that can read images, since the skill looks at its own screenshots. The README recommends Claude Opus 5.5.
| Step | What you do | Done when |
|---|---|---|
| 1 | Paste the install prompt and send it | The agent says the skill is ready |
| 2 | Restart your agent | The skill shows up in its skill list |
| 3 | Ask for icons in plain words | New icons appear beside your existing ones |
| 4 | Let it run its self-check | It reports every item on the checklist passing |
Copy these prompts
Paste them into Claude Code or Codex once the skill is installed. You do not need to name the skill; it triggers on icon requests.
1. Draw icons for my whole app
Read this repository and draw dynamic icons for its main features. Write one line per feature first: an everyday object and what it does on hover. Then draw each icon after the closest existing one and run the self-check beside the existing icons until it passes.
2. Add one icon that matches
We need an icon for Export that matches the others. Draw it after the closest existing icon, then compare its size, outline and colours against the rest of the set and fix anything that does not match.
3. Give me static files
Give me static SVG files of these icons that I can drop into Figma, in one accent colour: [list your icons and the hex].
Use the ready-made library
| Package | For |
|---|---|
| kubai-icons-react | React 18+ and Next.js, server rendering included |
| kubai-icons-vue | Vue 3 and Nuxt |
| kubai-icons | Any page: a framework-free API and a web component |
| kubai-icons-static | Standalone SVG files for img tags, design tools and native apps |
npm i kubai-icons-react
Browse and copy any icon's code at icons.kubai.design/icons. Icons and packages are MIT licensed.
How an icon is built
Every icon is a back piece, optional white content and a front piece, like a folder holding a sheet of paper. Outlines sit outside the fill, so shapes keep their full size. Every gradient, outline and shadow derives from one accent colour, so a single value repaints the whole icon. Each part has exactly two keyframes: rest and hover.
If you are building something like this
The ideas worth copying are small. Give the agent hard rules instead of taste. Ship an engine it reuses instead of reinventing. Make it screenshot its own work next to what already exists and redraw until it matches. Drive every colour from one value so recolouring costs nothing.
One licensing note: the skill is source-available under the Kubai Icons License. You can use it and share unmodified copies, but not sell or republish a modified version. The icons and packages are MIT, and the Kubai name and logos are not licensed for reuse.
Run this on your codebase
If your app already has icons from several places, paste this into Claude Code from the project root.
Audit every icon in this project. List where each one comes from, then group them by style: stroke weight, fill versus outline, corner radius and colour. Tell me which icons do not match the majority, and give me the smallest set of changes that makes them consistent.