Help users add icons to their projects using the Unicon icon library...
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 <query> |
AI-powered semantic search |
unicon get <name> |
Get single icon to stdout or file |
unicon bundle |
Bundle multiple icons by category or query |
unicon init |
Create .uniconrc.json config |
unicon sync |
Regenerate all bundles from config |
unicon skill |
Install AI assistant skills for Claude, Cursor, Windsurf, etc. |
unicon skills |
List and download skills from the public registry |
| Format | Extension | Use Case |
|---|---|---|
react |
.tsx |
React/Next.js (default) |
vue |
.vue |
Vue 3 SFC |
svelte |
.svelte |
Svelte components |
svg |
.svg |
Raw SVG markup |
json |
.json |
Data/programmatic use |
| 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
unicon init
# 2. Search for icons you need
unicon search "navigation arrows"
# 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
unicon get home
# Copy to clipboard (macOS)
unicon get home | pbcopy
# Save to file
unicon get settings --format react -o ./Settings.tsx
# Different framework
unicon get home --format vue -o ./Home.vue
# Bundle all dashboard icons
unicon bundle --category Dashboards --format react -o ./src/icons
# Bundle specific icons by search
unicon bundle --query "social media" --format svg -o ./public/icons
# Split into individual files (tree-shakeable)
unicon bundle --category Navigation --split -o ./src/icons
# 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
references/cli-commands.md for all commands and optionsreferences/config-file.md for .uniconrc.json schemareferences/api-reference.md for REST endpointsInstall 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