Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
better-auth avatar

Better Icons

  • 4.2k installs
  • 1.2k repo stars
  • Updated April 2, 2026
  • better-auth/better-icons

better-icons is an agent skill for search 200+ iconify libraries and retrieve svg icons via better-icons cli or mcp tools.

About

The better-icons skill Use when working with icons in any project. Provides CLI for searching 200+ icon libraries (Iconify) and retrieving SVGs. Commands: `better-icons search <query>` to find icons, `better-icons get <id>` to get SVG. Also available as MCP server for AI agents. Search and retrieve icons from 200+ libraries via Iconify. Before using any better-icons commands, ensure the tool is available in the environment. Option 1 Install globally (recommended, matches all examples below): ```bash Using npm npm install -g better-icons bash Using npm npm install -g better-icons Using Bun (faster) bun add -g better-icons Option 2 — Run without installing (prefix every command with npx or bunx): bash Using npx (npm) npx better-icons search arrow --limit 10 npx better-icons get lucide:home icon.svg Using bunx (Bun — faster) bunx better-icons search arrow --limit 10 bunx better-icons get lucide:home icon.svg

  • Search 200+ Iconify libraries and retrieve SVG icons via better-icons CLI or MCP tools.
  • Documented workflow in SKILL.md with reference files and command examples.
  • Targets Design & UI/UX tasks during the build phase.
  • Compatible with claude-code, cursor, codex.
  • Ground claims in SKILL.md; confirm prerequisites before write or deploy steps.

Better Icons by the numbers

  • 4,234 all-time installs (skills.sh)
  • +161 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #81 of 1,896 Design & UI/UX skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

better-icons capabilities & compatibility

Capabilities
search 200+ iconify libraries and retrieve svg i · documented workflow in skill.md with reference f · targets design & ui/ux tasks during the build ph · compatible with claude code, cursor, codex. · ground claims in skill.md; confirm prerequisites
Use cases
ui design · frontend
From the docs

What better-icons says it does

Search and retrieve icons from 200+ libraries via Iconify.
SKILL.md
Before using any `better-icons` commands, ensure the tool is available in the environment.
SKILL.md
npx better-icons search arrow --limit 10
SKILL.md
npx skills add https://github.com/better-auth/better-icons --skill better-icons

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4.2k
repo stars1.2k
Security audit3 / 3 scanners passed
Last updatedApril 2, 2026
Repositorybetter-auth/better-icons

How do I search 200+ iconify libraries and retrieve svg icons via better-icons cli or mcp tools with documented agent guidance?

Search 200+ Iconify libraries and retrieve SVG icons via better-icons CLI or MCP tools.

Who is it for?

Developers who need design & ui/ux help during build work.

Skip if: Skip when the task falls outside Design & UI/UX scope described in SKILL.md.

When should I use this skill?

Search 200+ Iconify libraries and retrieve SVG icons via better-icons CLI or MCP tools.

What you get

Completed design & ui/ux workflow aligned with SKILL.md steps and validation.

  • SVG markup strings
  • Iconify icon IDs
  • MCP tool responses

By the numbers

  • Search 200+ Iconify libraries and retrieve SVG icons via better-icons CLI or MCP tools.
  • Documented workflow in SKILL.md with reference files and command examples.
  • Targets Design & UI/UX tasks during the build phase.

Files

SKILL.mdMarkdownGitHub ↗

Better Icons

Search and retrieve icons from 200+ libraries via Iconify.

Installation

Before using any better-icons commands, ensure the tool is available in the environment.

Option 1 — Install globally (recommended, matches all examples below):

# Using npm
npm install -g better-icons

# Using Bun (faster)
bun add -g better-icons

Option 2 — Run without installing (prefix every command with `npx` or `bunx`):

# Using npx (npm)
npx better-icons search arrow --limit 10
npx better-icons get lucide:home > icon.svg

# Using bunx (Bun — faster)
bunx better-icons search arrow --limit 10
bunx better-icons get lucide:home > icon.svg
For AI agents: Prefer the global install so that better-icons is on $PATH and the commands below work as-is. Run the install step once during environment setup, then use the commands without npx/bunx.

CLI

# Search icons
better-icons search <query> [--prefix <prefix>] [--limit <n>] [--json]

# Search and download all found icons as SVG files
better-icons search <query> -d [dir] [--color <color>] [--size <px>]

# Get icon SVG (outputs to stdout)
better-icons get <icon-id> [--color <color>] [--size <px>] [--json]

# Setup MCP server for AI agents
better-icons setup [-a cursor,claude-code] [-s global|project]

Examples

better-icons search arrow --limit 10
better-icons search home --json | jq '.icons[0]'
better-icons get lucide:home > icon.svg
better-icons get mdi:home --color '#333' --json

# Batch download all search results
better-icons search arrow -d              # saves to ./icons/
better-icons search check -d ./my-icons   # saves to ./my-icons/
better-icons search star -d -c '#000' -s 24 --limit 64

Icon ID Format

prefix:name - e.g., lucide:home, mdi:arrow-right, heroicons:check

Popular Collections

lucide, mdi, heroicons, tabler, ph, ri, solar, iconamoon

---

MCP Tools (for AI agents)

ToolDescription
search_iconsSearch across all libraries
get_iconGet single icon SVG
get_iconsBatch retrieve multiple icons
list_collectionsBrowse available icon sets
recommend_iconsSmart recommendations for use cases
find_similar_iconsFind variations across collections
sync_iconAdd icon to project file
scan_project_iconsList icons in project

TypeScript Interfaces

interface SearchIcons {
  query: string
  limit?: number        // 1-999, default 32
  prefix?: string       // e.g., 'mdi', 'lucide'
  category?: string     // e.g., 'General', 'Emoji'
}

interface GetIcon {
  icon_id: string       // 'prefix:name' format
  color?: string        // e.g., '#ff0000', 'currentColor'
  size?: number         // pixels
}

interface GetIcons {
  icon_ids: string[]    // max 20
  color?: string
  size?: number
}

interface RecommendIcons {
  use_case: string      // e.g., 'navigation menu'
  style?: 'solid' | 'outline' | 'any'
  limit?: number        // default 10
}

interface SyncIcon {
  icons_file: string    // absolute path
  framework: 'react' | 'vue' | 'svelte' | 'solid' | 'svg'
  icon_id: string
  component_name?: string
}

API

All icons from https://api.iconify.design

Related skills

Forks & variants (1)

Better Icons has 1 known copy in the catalog totaling 109 installs. They canonicalize to this original listing.

How it compares

better-icons is an agent skill for search 200+ iconify libraries and retrieve svg icons via better-icons cli or mcp tools, not a generic alternative.

FAQ

Who is better-icons for?

Developers using Design & UI/UX workflows with agent-guided SKILL.md steps.

When should I use better-icons?

Search 200+ Iconify libraries and retrieve SVG icons via better-icons CLI or MCP tools.

Is better-icons safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.