kubai087/kubai-icons

★ 547⑂ 28

An agent skill that draws animated icons in one consistent style, for Claude Code, Codex and other coding agents.

About kubai087/kubai-icons

kubai087/kubai-icons is an open-source project on GitHub, mainly written in JavaScript. An agent skill that draws animated icons in one consistent style, for Claude Code, Codex and other coding agents. It currently holds 547 stars and 28 forks with 0 open issues, and was last pushed on 2026-11-09 (repository created 2026-11-03).

Project Overview

AI Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository kubai087/kubai-icons · default branch master · size 9403 KB · watchers 1 · source: GitHub REST API and repository README

README

https://github.com/kubai087/kubai-icons/blob/HEAD/

Kubai Icons

An agent skill that draws animated icons in one consistent style.
Plus 2,800+ open-source icons drawn with it, for React, Vue and the web.

Install the skill · Browse the icons · Use them in code · Docs

https://github.com/kubai087/kubai-icons/blob/HEAD/Sixteen icons opening one after another on hover: a folder opens, an envelope unseals, a calendar turns a page, a lock springs open, a gear turns

What's included

| Part | What you get | | --- | --- | | Agent skill | The rules, engine and self-check that draw every icon in one hand. Give Claude Code, Codex or another coding agent a product, and it draws the icons that product needs. | | Icon library | 2,800+ icons: nearly 900 objects, plus badged and slashed "off" versions. For React, Vue, plain JavaScript, web components and static SVG. MIT licensed. | | Website | icons.kubai.design, in 16 languages. Search every icon by name, shape or meaning, recolor it, copy its code or a prompt for your agent, download it as SVG or PNG, and save a collection as a ZIP. |

Install the skill

Copy this into your agent 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. An agent without skill support can read SKILL.md from the cloned folder and follow it.

[!TIP]
The skill asks for careful geometry and several rounds of looking at its own screenshots, so use a capable model that can read images. It was developed and blind-tested with Claude Opus 5.5, which we recommend. Other models, such as GPT in Codex, can use the same skill. In Claude Code, run claude --model claude-opus-5-5.
Install it yourself


Clone the repository into your skills folder. In Codex, use ~/.agents/skills instead.

git clone https://github.com/kubai087/kubai-icons.git ~/.claude/skills/kubai-icons

Or download kubai-icons-v*.zip from the latest release and unzip it there:

unzip kubai-icons-v*.zip -d ~/.claude/skills/

The agent picks the skill up the next time it starts.

Publishing to a skill marketplace that asks for a version and display names in SKILL.md? Upload kubai-icons-v*-platform.zip from the same release. It carries those fields at the top of the frontmatter.

Ask for icons

Describe what you need in plain words. The skill triggers on requests about icons, so you don't need to name it.

The agent then:

1. Reads the rules and writes one line per feature: an everyday object and what it does on hover ("a folder opens", "a lock springs open"). 2. Draws each icon after the closest existing one, reusing the engine. 3. Runs the self-check beside existing icons, compares sizes, outlines, layers and colors, and repeats until every item on the checklist passes.

To start a set for your own product, the skill copies the engine, gallery and self-check into your project and works there.

https://github.com/kubai087/kubai-icons/blob/HEAD/Six icons on hover: an alarm clock rings, a notebook opens, a scan line sweeps a QR code, a door opens to an exit arrow, a calculator key presses, a compass needle settles north

Drawn by a fresh Claude session that had nothing but SKILL.md and PROMPT.md. Each blind test closes the gaps it finds in the rules.

Use the icons

| 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 the `` web component | | kubai-icons-static | Standalone SVG files for Image from the project README, design tools, native apps and CDNs |

npm i kubai-icons-react
import { Folder, CalendarCheck } from "kubai-icons-react";

// 24px, follows the text color

// Any CSS color, the soft look, a green badge

// Plays when the button is hovered

Open

No build step? One script tag loads any icon on demand:


Find an icon and copy its code on the website. Guides for every package are in the documentation.

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 color, so a single value repaints the whole icon. Each part has exactly two keyframes, rest and hover.

https://github.com/kubai087/kubai-icons/blob/HEAD/Eight icons moving through seven palettes: one color per icon, five clear tones, and black

The complete rules are in PROMPT.md.

Reference

What the skill ships


| Part | What it does for the model | | --- | --- | | PROMPT.md | The rules, each one a hard requirement: canvas and keylines, layers, corners and outlines, light, color, marks and motion. | | src/engine.js | Color derivation, outside outlines, gradients, shadows, interpolation and palettes, already built. New icons reuse them instead of reinventing them. | | src/icons.js | 66 worked examples. Each new icon starts from the closest one in structure. | | scripts/check.mjs | A headless self-check: rest, hover, every moment in between, 24px, 28px and every palette. |

index.html opens a local gallery of these 66 examples. The full library is on the website.

Export static SVG


This exports the skill's own icons, whose names and palettes are in Chinese. For the library, download from the website or use kubai-icons-static.

node scripts/export.mjs --only 文件夹,日历 --palette 薄荷 --out icons/

| Option | What it does | | --- | --- | | --palette | 彩色 (default), 蓝灰, 青瓷, 薄荷, 薰衣草, 杏色 or 黑色. | | --accent #hex | Paints every icon in one accent color. | | --state hover | Exports the end of the hover instead of the rest pose. | | --size 96 | Width and height in pixels. | | --pad 2.5 | Room around the canvas, in icon units, so the shadow isn't cut off. | | --out dir | Where the files go; export/ by default. |

Run the self-check


Needs Node.js 18 or later and Chrome. Everything runs headless.

node scripts/check.mjs --only 剪刀,地图 --with 文件夹,邮件,下载

| Option | What it does | | --- | --- | | --only | Checks only these icons. Without it, the whole set. | | --with | Adds existing icons beside them for comparison. | | --accent #F59E0B | Paints every icon in one accent color, to check marks on light accents. | | --scale 3 | Renders every sheet at 3×, to look for seams. | | --out dir | Writes the screenshots somewhere other than check-out/. |

CHROME overrides the browser path. The animations in this README come from node scripts/media.mjs, which also needs ffmpeg and img2webp.

Work on the library and website


Needs Node.js 20 or later; the contact sheets also need Chrome.

npm install
npm run build        # every package, from icons/ and badges/
npm run validate     # names, metadata and markup of every icon
npm test
node tools/check.mjs --only folder,mail --with download   # contact sheets in check-out/lib
npm run site:dev     # the website

Each icon is one module in icons/; docs/authoring.md explains the format. The website is a static Next.js export in site/.

Contributing

See CONTRIBUTING.md and the code of conduct. Security issues go through SECURITY.md.

License

| Part | License | In short | | --- | --- | --- | | Icons (icons/, badges/) and the four packages | MIT | Use, change and redistribute them in any project, commercial or not. | | The skill | Kubai Icons License | Source-available. See below. | | Website (site/, tools/, tests/, docs/) | All rights reserved | You may read the source and run it to prepare a contribution, but not copy or host it. |

Under the Kubai Icons License:

LICENSING.md lists which file falls under which license. The Kubai and Lumno names and logos are not licensed for reuse. The construction comes from the bookmark folder icon in Lumno.

GitHub Stars & Activity

547Stars
28Forks
0Open issues
JavaScriptLanguage

GitHub Popularity

GitHub stars547
Forks28
Open issues0
Primary languageJavaScript
LicenseNOASSERTION
Stars gained today0
Created2026-11-03
Last pushed2026-11-09

Trending History

Weekly boardrank #97 · ▲ 0 stars

Related AI Projects

1

affaan-m / ECC

JavaScript★ 300,137⑂ 0
→
2

DietrichGebert / ponytail

JavaScript★ 187,554⑂ 0
→
3

Snailclimb / JavaGuide

JavaScript★ 159,497⑂ 0
→
4

addyosmani / agent-skills

JavaScript★ 114,492⑂ 0
→
5

Leonxlnx / taste-skill

JavaScript★ 112,461⑂ 0
→
6

Anil-matcha / Open-Generative-AI

JavaScript★ 33,623⑂ 6,382▲ 309 stars
→
7

tradesdontlie / tradingview-mcp

JavaScript★ 7,133⑂ 2,896▲ 9 stars
→
8

morluto / rea

TypeScript★ 446,457⑂ 0
→

More AI Rankings