awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
antfu avatar

antfu/unplugin-icons

0
View on GitHub↗
4,876 stars·157 forks·TypeScript·MIT·19 viewswww.npmjs.com/package/unplugin-icons↗

Unplugin Icons

unplugin-icons is a universal icon component provider and build-time asset optimizer that transforms diverse SVG libraries into a unified cross-framework interface. It functions as an SVG icon pipeline, converting thousands of icons from various sets into on-demand components or raw strings for use across different frontend frameworks.

The tool provides a cross-framework icon library that optimizes bundle sizes by exclusively including the specific icons referenced in the source code. It further simplifies the development workflow through automatic icon importing and the use of aliases to map long collection names to shorter identifiers.

The system manages SVG components by allowing the loading of custom icon sets and the application of global transformations. It also includes visual configuration capabilities to customize icon size and color through global settings or query parameters.

Features

  • Cross-Framework Providers - Provides a universal system to transform diverse SVG libraries into on-demand components for multiple frontend frameworks.
  • Icon Set Integrations - Integrates thousands of icons from diverse libraries as consistent components across various frontend frameworks.
  • Bundle Size Optimization - Reduces bundle size by extracting only the specific icons referenced in the source code.
  • SVG Asset Pipelines - Implements a comprehensive pipeline for importing, transforming, and optimizing SVG assets into UI components.
  • SVG Icon Components - Converts icons from various sets into reusable components compatible across different UI frameworks.
  • Icon Libraries - Provides a unified interface for accessing multiple icon sets as components across different environments.
  • Frontend Asset Optimization - Reduces final bundle sizes by loading only the specific icons used in the source code.
  • Build-Time Component Generation - Transforms icon data into framework-specific components during the build process based on import statements.
  • SVG Component Transformations - Converts raw SVG paths and attributes into valid framework components during the build process.
  • Tree-Shakeable Icon Bundles - Ensures only referenced icons are included in the final bundle to minimize asset size.
  • Icon Appearance Customizations - Modifies icon size, color, and visual attributes via global configuration and query parameters.
  • Automatic Component Imports - Automatically injects referenced icons into templates to eliminate the need for explicit import statements.
  • Icon Alias Mappings - Provides a lookup table to map short identifiers to full icon collection names during module resolution.
  • Virtual Modules - Intercepts module requests to provide dynamic icon components without requiring physical files on disk.
  • Collection Aliasing - Maps long icon collection names to short identifiers to simplify imports within a project.
  • Import URL Parameter Injection - Allows modifying generated icon components by parsing parameters passed within the import URL string.
  • Build-Time Icon Transformations - Applies global modifications to custom icons during the loading phase to ensure visual consistency.
  • Asset Loaders - Accesses icon sets as components.
  • Icon Frameworks and Utilities - A plugin for on-demand icon loading in modern build tools.

Star history

Star history chart for antfu/unplugin-iconsStar history chart for antfu/unplugin-icons

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does antfu/unplugin-icons do?

unplugin-icons is a universal icon component provider and build-time asset optimizer that transforms diverse SVG libraries into a unified cross-framework interface. It functions as an SVG icon pipeline, converting thousands of icons from various sets into on-demand components or raw strings for use across different frontend frameworks.

What are the main features of antfu/unplugin-icons?

The main features of antfu/unplugin-icons are: Cross-Framework Providers, Icon Set Integrations, Bundle Size Optimization, SVG Asset Pipelines, SVG Icon Components, Icon Libraries, Frontend Asset Optimization, Build-Time Component Generation.

Which projects share features with antfu/unplugin-icons?

Projects with overlapping indexed features include: gorangajic/react-icons — react-icons is an SVG icon component library and multi-pack aggregator for React applications. It provides a single… mingcute-design/mingcute-icons — Mingcute Icons is a comprehensive library of scalable vector icons designed for consistent branding across web and… fortawesome/react-fontawesome — This project is a Font Awesome React component library and SVG icon framework used for rendering vector graphics… unplugin/unplugin-icons — unplugin-icons is a build-time plugin that integrates with modern bundlers to import icons from popular icon sets… yulimchen/vue3-h5-template — This project is a pre-configured foundation for building mobile-responsive web applications using Vue 3 and Vite. It… joanzapata/android-iconify — android-iconify is a multi-provider icon framework and library for Android applications. It enables the integration…

Projects sharing features with Unplugin Icons

These projects share indexed features with Unplugin Icons. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • gorangajic/react-iconsgorangajic avatar

    gorangajic/react-icons

    12,596View on GitHub↗

    react-icons is an SVG icon component library and multi-pack aggregator for React applications. It provides a single interface to integrate and manage multiple third-party SVG icon sets as individual components. The library is designed as a tree-shakable icon set, allowing the import of specific icons to reduce final bundle sizes. It includes a global icon style provider to define default colors, sizes, and accessibility titles across all embedded icons. The project covers multi-library icon management and frontend asset optimization to maintain a consistent design language while improving pa

    TypeScript
    View on GitHub↗12,596
  • fortawesome/react-fontawesomeFortAwesome avatar

    FortAwesome/react-fontawesome

    3,732View on GitHub↗

    This project is a Font Awesome React component library and SVG icon framework used for rendering vector graphics within React applications. It provides a type-safe implementation for managing, layering, and rendering icons through prop-driven SVG generation. The library is designed as a tree-shakable asset delivery system, allowing build tools to exclude unused icons from the final bundle to optimize application size. It utilizes TypeScript to provide compile-time validation for icon names and properties. The framework covers a wide range of visual capabilities, including icon sizing, rotati

    TypeScriptfontawesomefrontendjavascript
    View on GitHub↗3,732
  • mingcute-design/mingcute-iconsmingcute-design avatar

    mingcute-design/mingcute-icons

    1,588View on GitHub↗

    Mingcute Icons is a comprehensive library of scalable vector icons designed for consistent branding across web and mobile interfaces. The collection provides assets in multiple formats, including native components for frontend frameworks, webfont sets for typography-based styling, and raw vector files for design software integration. The project distinguishes itself through its flexible delivery methods, which allow developers to choose between component-based rendering for programmatic control over visual properties or CSS-based mapping for standard layout integration. To support efficient d

    CSSiconicon-fonticon-pack
    View on GitHub↗1,588
  • unplugin/unplugin-iconsunplugin avatar

    unplugin/unplugin-icons

    4,774View on GitHub↗

    unplugin-icons is a build-time plugin that integrates with modern bundlers to import icons from popular icon sets automatically. It detects icon usage in source code and tree-shakes the final bundle to include only the icons actually referenced, reducing unnecessary payload. The plugin also provides a mechanism for loading custom SVG icon collections from local files or remote sources, making them accessible through the same import syntax as built-in sets. The plugin is framework-agnostic and offers a conventional path resolution scheme for referencing icons by collection and name across diff

    TypeScripticonifyiconsjsx
    View on GitHub↗4,774
  • Compare all 30 related projects→