Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsJul 16, 2026·3 min de lectura

Ionicons — Premium Open-Source Icon Pack by Ionic

A set of 1,300+ beautifully crafted open-source icons for web, iOS, Android, and desktop apps. Each icon ships in outline, filled, and sharp variants with built-in lazy-loading via Web Components.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Ionicons
Comando de instalación directa
npx -y tokrepo@latest install 3a79bea8-80f5-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con dry-run.

Introduction

Ionicons is a premium-quality icon set maintained by the Ionic team. It provides over 1,300 icons in three visual variants — outline, filled, and sharp — covering common UI actions, device hardware, logos, and social media. The icons ship as Web Components that lazy-load SVGs on demand.

What Ionicons Does

  • Delivers 1,300+ icons spanning UI actions, hardware, social logos, and more
  • Offers three style variants per icon: outline, filled, and sharp
  • Ships as Web Components with automatic lazy-loading of SVG assets
  • Provides framework integrations for React, Vue, Angular, and vanilla JS
  • Supports custom SVG injection via the src attribute for loading your own icons

Architecture Overview

Ionicons is built with Stencil, a Web Component compiler by the Ionic team. Each icon is a custom element () that resolves the icon name to an SVG URL, fetches it lazily, and injects the SVG markup into the shadow DOM. This architecture means unused icons never download, keeping payload minimal. The Stencil build produces framework wrappers so icons work natively in React JSX, Vue templates, and Angular modules.

Self-Hosting & Configuration

  • Include the Ionicons script from a CDN for zero-config usage in any HTML page
  • Install via npm for bundler integration and tree-shaking support
  • Set the name attribute to switch between outline (default), filled, and sharp variants
  • Use the src attribute to load custom SVG icons through the same lazy-loading pipeline
  • Host icon SVGs on your own CDN by pointing the asset path to your server

Key Features

  • Three visual styles per icon for consistent design across different UI contexts
  • Lazy-loaded Web Components that fetch only the icons actually rendered on screen
  • Works in any framework or no framework at all via standard custom elements
  • SVG-based rendering that scales cleanly to any size and responds to CSS color
  • MIT licensed with no attribution required for commercial or personal projects

Comparison with Similar Tools

  • Feather Icons — 280 minimalist stroke icons; Ionicons offers 4x more icons plus multiple style variants
  • Heroicons — Tailwind team's set with outline and solid styles; smaller set but tightly integrated with Tailwind CSS
  • Lucide — community fork of Feather with 1,500+ icons; similar size to Ionicons but without the Web Component lazy-loading
  • Bootstrap Icons — 2,000+ icons tied to the Bootstrap ecosystem; Ionicons is framework-agnostic via Web Components
  • Material Symbols — Google's variable-font icon system with thousands of icons; heavier infrastructure but extreme breadth

FAQ

Q: Do I need to use the Ionic framework to use Ionicons? A: No. Ionicons works in any web project via a script tag or npm install, with no Ionic dependency.

Q: How do I switch between outline, filled, and sharp styles? A: Append the variant suffix to the name: name="heart-outline", name="heart", or name="heart-sharp".

Q: Are Ionicons free for commercial projects? A: Yes. The entire set is MIT licensed and free for any use.

Q: How large is the download if I use all icons? A: Icons lazy-load individually, so only the ones visible on screen are fetched. The full set is around 3 MB of SVG files.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados