awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
unplugin avatar

unplugin/unplugin-icons

0
View on GitHub↗
4,774 Stars·155 Forks·TypeScript·mit·8 Aufrufewww.npmjs.com/package/unplugin-icons↗

Unplugin Icons

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 different frontend frameworks. A pipeline-based transformation system lets users customize icon appearance—such as size, style, and class—before the SVG is injected into the build. Additionally, it supports importing icons as raw SVG strings for direct use in templates or as framework components, all without runtime overhead.

Automatic icon detection in templates and JSX eliminates manual import statements, while custom icon collection loading and component-based imports extend flexibility. The overall design ensures that icons are handled efficiently and consistently regardless of the build tool or framework in use.

Features

  • Cross-Framework Build Plugins - Works with multiple frontend frameworks to import icons without runtime overhead.
  • Cross-Build-Tool Plugins - Provides a single API that adapts to multiple build tools via a shared plugin interface.
  • Automatic Component Imports - Automatically detects icons used in templates and JSX and imports them without manual statements.
  • Icon Import Path Conventions - Maps import paths like ~icons/collection/name to SVG files using a predefined naming convention.
  • Icon Collections - Provides a single API to access icons from multiple popular icon sets like Material and Font Awesome.
  • Build Plugin Importers - Imports icons from popular icon sets as framework components or raw SVG with automatic tree-shaking.
  • Icon Components - Imports icons from popular sets as framework components with automatic tree-shaking.
  • Custom SVG Loaders - Provides a custom loader mechanism to load user-defined SVG icons from files, inline content, or remote sources.
  • Icon Libraries - Allows importing icons as framework components using a convention-based path with tree-shaking.
  • Template Scan Importers - Automatically resolves and imports icons used in template code, eliminating manual import statements.
  • SVG Component Transformations - Provides a chain of configurable transformations to resize, style, and wrap SVGs as components during the build.
  • Bundler Integration Tools - Integrates with bundlers to include only the icons used in the project source code into the final build.
  • Usage-Based Auto Importers - Scans source code for icon usage and automatically imports only the exact icons used, eliminating unused icons.
  • Custom Source - Loads user-provided SVG files or remote sources as a custom icon collection accessible via the same import syntax.
  • Custom Source Loaders - Enables loading user-defined SVG icons from files, inline content, or remote sources for use alongside built-in collections.
  • Core Frameworks - On-demand icon loading for component-based projects.
  • Icon Libraries - On-demand access to thousands of icons as components.

Star-Verlauf

Star-Verlauf für unplugin/unplugin-iconsStar-Verlauf für unplugin/unplugin-icons

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Unplugin Icons

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Unplugin Icons.
  • phosphor-icons/homepageAvatar von phosphor-icons

    phosphor-icons/homepage

    6,912Auf GitHub ansehen↗

    Phosphor Icons is an icon library that provides SVG components for React and Vue, designed with tree-shaking support so only the icons actually used are included in the final JavaScript bundle. The library offers runtime customization of icons, allowing developers to override SVG rendering through inline styles, event handlers, and render props. Icons can be styled by passing props to set color, size, and weight for quick visual adjustments in React or Vue applications. The project also includes a webfont-based icon set that can be used in any web page by adding a stylesheet and applying CSS

    TypeScripticon-fonticon-packicons
    Auf GitHub ansehen↗6,912
  • antfu/unplugin-iconsAvatar von antfu

    antfu/unplugin-icons

    4,876Auf GitHub ansehen↗

    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

    TypeScript
    Auf GitHub ansehen↗4,876
  • antfu/unplugin-vue-componentsAvatar von antfu

    antfu/unplugin-vue-components

    4,288Auf GitHub ansehen↗

    unplugin-vue-components is a build tool that automatically injects import and registration statements for Vue components based on their usage in templates. It functions as a framework-agnostic plugin compatible with multiple build tools, including Vite, Webpack, and Rollup. The project provides automated resolution for components from external UI libraries and supports directory-based namespacing to organize elements by folder. To maintain developer experience, it includes a type generator that creates TypeScript declaration files for components imported at build time. Additional capabilitie

    TypeScript
    Auf GitHub ansehen↗4,288
  • unplugin/unplugin-vue-componentsAvatar von unplugin

    unplugin/unplugin-vue-components

    4,288Auf GitHub ansehen↗

    unplugin-vue-components is a build tool that automatically imports and registers Vue components used in templates, eliminating the need for manual import statements. It functions as a plugin for various bundlers, including Vite and Webpack, to resolve and inject component dependencies during the compilation process. The project features a mapping system that identifies and imports components from popular third-party Vue interface libraries. This resolution logic can be extended via custom resolver extensions to modify how specific UI libraries are discovered and imported. To maintain type sa

    TypeScriptauto-importcomponentsunplugin
    Auf GitHub ansehen↗4,288
Alle 30 Alternativen zu Unplugin Icons anzeigen→

Häufig gestellte Fragen

Was macht unplugin/unplugin-icons?

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.

Was sind die Hauptfunktionen von unplugin/unplugin-icons?

Die Hauptfunktionen von unplugin/unplugin-icons sind: Cross-Framework Build Plugins, Cross-Build-Tool Plugins, Automatic Component Imports, Icon Import Path Conventions, Icon Collections, Build Plugin Importers, Icon Components, Custom SVG Loaders.

Welche Open-Source-Alternativen gibt es zu unplugin/unplugin-icons?

Open-Source-Alternativen zu unplugin/unplugin-icons sind unter anderem: phosphor-icons/homepage — Phosphor Icons is an icon library that provides SVG components for React and Vue, designed with tree-shaking support… antfu/unplugin-icons — unplugin-icons is a universal icon component provider and build-time asset optimizer that transforms diverse SVG… antfu/unplugin-vue-components — unplugin-vue-components is a build tool that automatically injects import and registration statements for Vue… unplugin/unplugin-vue-components — unplugin-vue-components is a build tool that automatically imports and registers Vue components used in templates,… react-icons/react-icons — This project is a comprehensive collection of type-safe SVG icon libraries bundled into a single, consistent… gorangajic/react-icons — react-icons is an SVG icon component library and multi-pack aggregator for React applications. It provides a single…