awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
unplugin avatar

unplugin/unplugin-icons

0
View on GitHub↗
4,774 stele·155 fork-uri·TypeScript·mit·3 vizualizăriwww.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.

Istoric stele

Graficul istoricului de stele pentru unplugin/unplugin-iconsGraficul istoricului de stele pentru unplugin/unplugin-icons

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face 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.

Care sunt principalele funcționalități ale unplugin/unplugin-icons?

Principalele funcționalități ale unplugin/unplugin-icons sunt: 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.

Care sunt câteva alternative open-source pentru unplugin/unplugin-icons?

Alternativele open-source pentru unplugin/unplugin-icons includ: 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…

Alternative open-source pentru Unplugin Icons

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Unplugin Icons.
  • phosphor-icons/homepageAvatar phosphor-icons

    phosphor-icons/homepage

    6,912Vezi pe GitHub↗

    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
    Vezi pe GitHub↗6,912
  • antfu/unplugin-iconsAvatar antfu

    antfu/unplugin-icons

    4,876Vezi pe GitHub↗

    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
    Vezi pe GitHub↗4,876
  • antfu/unplugin-vue-componentsAvatar antfu

    antfu/unplugin-vue-components

    4,288Vezi pe GitHub↗

    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
    Vezi pe GitHub↗4,288
  • unplugin/unplugin-vue-componentsAvatar unplugin

    unplugin/unplugin-vue-components

    4,288Vezi pe GitHub↗

    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
    Vezi pe GitHub↗4,288
Vezi toate cele 30 alternative pentru Unplugin Icons→