Skip to content

Icon Generator

Flagged

Creates optimized SVG icons with consistent stroke weights, viewBox sizing, and accessibility attributes. Supports icon sprite sheet generation.

By Community 2,800 stars v1.0.0 Updated 2026-03-10
$ Copy the SKILL.md file to your project's .claude/skills/ directory

About This Skill

Icon Generator creates clean, optimized SVG icons from text descriptions or by refining existing SVG files. Every icon follows a consistent grid system with uniform stroke weights, proper viewBox dimensions, and built-in accessibility attributes.

How It Works

  1. Description parsing — Interprets your icon description (e.g., "shopping cart with badge") into geometric primitives
  2. Grid alignment — Places elements on a 24x24 pixel grid with 1.5px or 2px stroke weight
  3. Path optimization — Simplifies SVG paths, removes redundant points, and merges overlapping shapes
  4. Accessibility — Adds aria-label, role="img", and title elements for screen readers
  5. Component wrapping — Exports as React/Vue component with configurable size, color, and className props

Best For

  • Teams building custom icon sets instead of using icon libraries
  • Projects requiring consistent icon style across the interface
  • Optimizing bloated SVG exports from design tools
  • Generating icon sprites for HTTP/1.1 performance optimization

Optimization

SVG output is optimized using SVGO-equivalent rules: removes metadata, editor artifacts, empty groups, and unnecessary transforms. Typical size reduction is 40-60% from raw Figma/Illustrator exports.

Use Cases

  • Creating custom SVG icons for web applications
  • Building icon sprite sheets for performance optimization
  • Generating React/Vue icon components with size and color props
  • Optimizing existing SVG icons to reduce file size

Pros & Cons

Pros

  • +Consistent grid-aligned icon output
  • +Built-in accessibility attributes
  • +Significant file size optimization

Cons

  • -Complex illustrations are beyond scope — best for simple UI icons
  • -Cannot render previews — needs browser or SVG viewer to verify

Related AI Tools

Related Skills

FAQ

What does Icon Generator do?
Creates optimized SVG icons with consistent stroke weights, viewBox sizing, and accessibility attributes. Supports icon sprite sheet generation.
What platforms support Icon Generator?
Icon Generator is available on Claude Code, Cursor, Gemini CLI.
What are the use cases for Icon Generator?
Creating custom SVG icons for web applications. Building icon sprite sheets for performance optimization. Generating React/Vue icon components with size and color props.
What tools work with Icon Generator?
Icon Generator works well with Canva.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.