Add and manage 19,000+ icons from 9 libraries in React, Vue, Svelte, or web projects using the Unicon CLI for search, bundles, previews, and tree-shakable co...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install unicon或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install unicon⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/unicon/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: unicon description: Help users add icons to their projects using the Unicon icon library. Unicon provides 19,000+ icons from Lucide, Phosphor, Hugeicons, Heroicons, Tabler, Feather, Remix, Simple Icons (brand logos), and Iconoir. Use when adding icons to React, Vue, Svelte, or web projects; using the unicon CLI to search, get, or bundle icons; setting up .uniconrc.json config; generating tree-shakeable icon components; using the Unicon API; or converting between icon formats. license: MIT metadata: author: webrenew version: "0.2.0" website: https://unicon.sh repository: https://github.com/WebRenew/unicon openclaw: emoji: "🦄" requires: bins: ["node"] install: - type: node package: "@webrenew/unicon" global: true ---
Unicon is a unified icon library providing 19,000+ icons from 9 popular libraries. Unlike traditional npm packages that bundle thousands of icons, Unicon generates only the icons you need.
# Install CLI globally
npm install -g @webrenew/unicon
# Or use directly with npx
npx @webrenew/unicon search "dashboard"
| Command | Description | |---------|-------------| | unicon search | AI-powered semantic search (supports --pick for interactive selection) | | unicon get | Get single icon to stdout, file, or clipboard (--copy) | | unicon info | Show detailed icon information | | unicon preview | ASCII art preview in terminal | | unicon bundle | Bundle multiple icons (supports --stars for favorites) | | unicon init | Create .uniconrc.json config (--interactive for wizard) | | unicon sync | Regenerate bundles (--watch for auto-sync) | | unicon add | Add bundle to config | | unicon star | Add icon to favorites | | unicon audit | Find unused/missing icons in project | | unicon sources | List available icon libraries | | unicon categories | List icon categories | | unicon cache | Manage local cache | | unicon skill | Install AI assistant skills |
| Format | Extension | Use Case | |--------|-----------|----------| | react | .tsx | React/Next.js (auto-detected) | | vue | .vue | Vue 3 SFC (auto-detected) | | svelte | .svelte | Svelte components (auto-detected) | | svg | .svg | Raw SVG markup | | json | .json | Data/programmatic use |
Note: CLI auto-detects your framework from package.json and uses the appropriate format.
| Source | Icons | Description | |--------|-------|-------------| | lucide | 1,900+ | Beautiful & consistent | | phosphor | 1,500+ | 6 weights available | | hugeicons | 1,800+ | Modern outlined icons | | heroicons | 292 | Tailwind Labs | | tabler | 4,600+ | Pixel-perfect stroke | | feather | 287 | Simple and clean | | remix | 2,800+ | Multiple categories | | simple-icons | 3,300+ | Brand logos | | iconoir | 1,600+ | Modern outlined icons |
# 1. Initialize config (interactive wizard)
unicon init --interactive
# 2. Search for icons interactively
unicon search "navigation arrows" --pick
# 3. Add bundle to config
unicon add nav --query "arrow chevron menu"
# 4. Generate components
unicon sync
# 5. Import and use
# import { ArrowRight, Menu } from "./src/icons/nav"
# Output to stdout (auto-detects framework)
unicon get home
# Copy to clipboard directly
unicon get home --copy
# Save to file
unicon get settings --format react -o ./Settings.tsx
# Different framework
unicon get home --format vue -o ./Home.vue
# Search and pick icons interactively
unicon search "dashboard" --pick
# Then choose action: copy, save, star, or create bundle
# Bundle all dashboard icons (tree-shakeable by default)
unicon bundle --category Dashboards -o ./src/icons
# Bundle specific icons by search
unicon bundle --query "social media" --format svg -o ./public/icons
# Bundle all favorited icons
unicon bundle --stars -o ./src/icons/favorites
# Single file mode (not tree-shakeable)
unicon bundle --query "ui" --single-file -o ./icons.tsx
# Star icons for later
unicon star home
unicon star settings
unicon star user
# Bundle all starred icons
unicon bundle --stars -o ./src/icons/favorites
# View favorites
unicon favorites
# Auto-regenerate when config changes
unicon sync --watch
# Find unused bundled icons and missing imports
unicon audit
# ASCII art preview
unicon preview home
# Custom size
unicon preview star --width 24
Unlike npm install lucide-react which downloads thousands of icons:
import { Home } from "./icons"Browse and copy icons at: https://unicon.sh
.uniconrc.json schemaInstall Unicon skills for AI coding assistants:
# List supported assistants
unicon skill --list
# Install for specific assistant
unicon skill --ide claude # Claude Code
unicon skill --ide cursor # Cursor
unicon skill --ide windsurf # Windsurf
# Install for all supported assistants
unicon skill --all
| IDE | Directory | |-----|-----------| | Claude Code | .claude/skills/unicon/SKILL.md | | Cursor | .cursor/rules/unicon.mdc | | Windsurf | .windsurf/rules/unicon.md | | Agent | .agent/rules/unicon.md | | Antigravity | .antigravity/rules/unicon.md | | OpenCode | .opencode/rules/unicon.md | | Codex | .codex/unicon.md | | Aider | .aider/rules/unicon.md |
Once installed, ask your AI assistant: "Add a home icon to my project"
Icons are cached locally at ~/.unicon/cache for 24 hours:
unicon cache --stats # Show cache info
unicon cache --clear # Clear cache安装 🦄 Unicon CLI 后,可以对 AI 说这些话来触发它
Help me get started with 🦄 Unicon CLI
Explains what 🦄 Unicon CLI does, walks through the setup, and runs a quick demo based on your current project
Use 🦄 Unicon CLI to add and manage 19,000+ icons from 9 libraries in React, Vue, Svelte...
Invokes 🦄 Unicon CLI with the right parameters and returns the result directly in the conversation
What can I do with 🦄 Unicon CLI in my marketing & growth workflow?
Lists the top use cases for 🦄 Unicon CLI, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/unicon/ 目录(个人级,所有项目可用),或 .claude/skills/unicon/(项目级)。重启 AI 客户端后,用 /unicon 主动调用,或让 AI 根据上下文自动发现并使用。
🦄 Unicon CLI 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
🦄 Unicon CLI 可免费安装使用。请查阅仓库了解许可证信息。
Add and manage 19,000+ icons from 9 libraries in React, Vue, Svelte, or web projects using the Unicon CLI for search, bundles, previews, and tree-shakable co...
🦄 Unicon CLI 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using 🦄 Unicon CLI
Identifies repetitive steps in your workflow and sets up 🦄 Unicon CLI to handle them automatically