Loading...
Loading...
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.
npx skill4agent add webrenew/unicon unicon# Install CLI globally
npm install -g @webrenew/unicon
# Or use directly with npx
npx @webrenew/unicon search "dashboard"| Command | Description |
|---|---|
| AI-powered semantic search (supports |
| Get single icon to stdout, file, or clipboard ( |
| Show detailed icon information |
| ASCII art preview in terminal |
| Bundle multiple icons (supports |
| Create .uniconrc.json config ( |
| Regenerate bundles ( |
| Add bundle to config |
| Add icon to favorites |
| Find unused/missing icons in project |
| List available icon libraries |
| List icon categories |
| Manage local cache |
| Install AI assistant skills |
| Format | Extension | Use Case |
|---|---|---|
| | React/Next.js (auto-detected) |
| | Vue 3 SFC (auto-detected) |
| | Svelte components (auto-detected) |
| | Raw SVG markup |
| | Data/programmatic use |
package.json| Source | Icons | Description |
|---|---|---|
| 1,900+ | Beautiful & consistent |
| 1,500+ | 6 weights available |
| 1,800+ | Modern outlined icons |
| 292 | Tailwind Labs |
| 4,600+ | Pixel-perfect stroke |
| 287 | Simple and clean |
| 2,800+ | Multiple categories |
| 3,300+ | Brand logos |
| 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 24npm install lucide-reactimport { Home } from "./icons".uniconrc.json# 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 | |
| Cursor | |
| Windsurf | |
| Agent | |
| Antigravity | |
| OpenCode | |
| Codex | |
| Aider | |
~/.unicon/cacheunicon cache --stats # Show cache info
unicon cache --clear # Clear cache