{"id":25834397,"url":"https://github.com/hugeicons/angular","last_synced_at":"2026-05-11T08:48:56.574Z","repository":{"id":279227330,"uuid":"933141386","full_name":"hugeicons/angular","owner":"hugeicons","description":"Angular icon components for Hugeicons - Seamlessly integrate beautiful icons into your Angular applications.","archived":false,"fork":false,"pushed_at":"2025-02-15T08:43:44.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T13:54:42.028Z","etag":null,"topics":["angular","angular-components","icon-library","icons","svg-icons"],"latest_commit_sha":null,"homepage":"https://hugeicons.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugeicons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-15T08:43:25.000Z","updated_at":"2025-02-23T10:34:20.000Z","dependencies_parsed_at":"2025-02-24T13:56:03.221Z","dependency_job_id":"aa7a3cec-04e1-4dd9-8639-7dd7eabbfd47","html_url":"https://github.com/hugeicons/angular","commit_stats":null,"previous_names":["hugeicons/angular"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugeicons%2Fangular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugeicons%2Fangular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugeicons%2Fangular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugeicons%2Fangular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugeicons","download_url":"https://codeload.github.com/hugeicons/angular/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241300162,"owners_count":19940486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-components","icon-library","icons","svg-icons"],"created_at":"2025-03-01T00:58:13.750Z","updated_at":"2026-05-11T08:48:56.568Z","avatar_url":"https://github.com/hugeicons.png","language":"TypeScript","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Icons"],"readme":"![Hugeicons Logo](https://raw.githubusercontent.com/hugeicons/react/main/assets/logo.png)\n\n# @hugeicons/angular\n\n\u003e Hugeicons Angular rendering library for fast, customizable icons with TypeScript and tree-shaking support\n\n## What is Hugeicons?\n\nHugeicons is a large icon set for modern web and mobile apps. The free package includes 5,100+ Stroke Rounded icons. The Pro package provides 51,000+ icons across 10 styles.\n\n## How It Works\n\nThis package (`@hugeicons/angular`) is a **rendering library** - it provides the `HugeiconsIconComponent` that displays icons in your Angular app. The icons themselves come from separate icon packages:\n\n- **Free icons**: `@hugeicons/core-free-icons` (5,100+ icons)\n- **Pro icons**: `@hugeicons-pro/core-*` packages (51,000+ icons, requires license)\n\n### Key Highlights\n- **5,100+ Free Icons**: Stroke Rounded set for unlimited personal and commercial projects\n- **51,000+ Pro Icons, 10 Styles**: Stroke, Solid, Bulk, Duotone, and Twotone families for sharp, rounded, and standard needs with richer variants\n- **Pixel Perfect Grid**: Built on a 24x24 grid for crisp rendering at any size\n- **Customizable**: Easily adjust colors, sizes, and styles to match your design needs\n- **Tree Shaking Ready**: Named exports keep bundles lean in modern bundlers\n- **Regular Updates**: New icons added regularly to keep up with evolving design trends\n\n\n\u003e **Looking for Pro Icons?** Check out our docs at [hugeicons.com/docs](https://hugeicons.com/docs) for detailed information about pro icons, styles, and advanced usage.\n\n![Hugeicons Icons](https://raw.githubusercontent.com/hugeicons/react/main/assets/icons.png)\n\n## Table of Contents\n- [What is Hugeicons?](#what-is-hugeicons)\n- [How It Works](#how-it-works)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Inputs](#inputs)\n- [Examples](#examples)\n  - [Basic Usage](#basic-usage)\n  - [Custom Size and Color](#custom-size-and-color)\n  - [More examples and patterns](#more-examples-and-patterns)\n- [Performance](#performance)\n- [Troubleshooting](#troubleshooting)\n- [Browser Support](#browser-support)\n- [Related Packages](#related-packages)\n- [Pro Version](#pro-version)\n- [License](#license)\n- [Related](#related)\n\n## Features\n\n- Customizable colors, sizes, and stroke width\n- TypeScript support with full type definitions\n- Tree shakeable for optimal bundle size\n- Standalone component (Angular 17.1+)\n- Signal-based inputs for optimal performance\n- Alternate icon support for dynamic interactions\n\n## Installation\n\n```bash\n# Using npm\nnpm install @hugeicons/angular @hugeicons/core-free-icons\n\n# Using yarn\nyarn add @hugeicons/angular @hugeicons/core-free-icons\n\n# Using pnpm\npnpm add @hugeicons/angular @hugeicons/core-free-icons\n\n# Using bun\nbun add @hugeicons/angular @hugeicons/core-free-icons\n```\n\n## Usage\n\nThe `HugeiconsIconComponent` is a standalone component. Import it directly in your component:\n\n```typescript\nimport { Component } from '@angular/core';\nimport { HugeiconsIconComponent } from '@hugeicons/angular';\nimport { SearchIcon } from '@hugeicons/core-free-icons';\n\n@Component({\n  selector: 'app-example',\n  standalone: true,\n  imports: [HugeiconsIconComponent],\n  template: `\n    \u003chugeicons-icon\n      [icon]=\"SearchIcon\"\n      [size]=\"24\"\n      color=\"currentColor\"\n      [strokeWidth]=\"1.5\"\n    /\u003e\n  `\n})\nexport class ExampleComponent {\n  SearchIcon = SearchIcon;\n}\n```\n\n### NgModule Usage (Legacy)\n\nIf you're using NgModules, import the component in your module:\n\n```typescript\nimport { NgModule } from '@angular/core';\nimport { HugeiconsIconComponent } from '@hugeicons/angular';\n\n@NgModule({\n  imports: [HugeiconsIconComponent],\n  // ...\n})\nexport class AppModule { }\n```\n\n## Inputs\n\n| Input | Type | Default | Description |\n|-------|------|---------|-------------|\n| `icon` | `IconSvgObject` | Required | The main icon to display |\n| `altIcon` | `IconSvgObject` | - | Alternative icon for states, interactions, or dynamic icon swapping |\n| `showAlt` | `boolean` | `false` | When true, displays the altIcon instead of the main icon |\n| `size` | `number \\| string` | `24` | Icon size in pixels |\n| `color` | `string` | `currentColor` | Icon color (CSS color value) |\n| `strokeWidth` | `number` | - | Width of the icon strokes |\n| `absoluteStrokeWidth` | `boolean` | `false` | When true, the stroke width will be scaled relative to the icon size |\n| `class` | `string` | - | CSS classes to apply to the icon |\n\n## Examples\n\n### Basic Usage\n```typescript\nimport { Component } from '@angular/core';\nimport { HugeiconsIconComponent } from '@hugeicons/angular';\nimport { Video01Icon } from '@hugeicons/core-free-icons';\n\n@Component({\n  selector: 'app-basic',\n  standalone: true,\n  imports: [HugeiconsIconComponent],\n  template: `\n    \u003chugeicons-icon [icon]=\"Video01Icon\" /\u003e\n  `\n})\nexport class BasicComponent {\n  Video01Icon = Video01Icon;\n}\n```\n\n### Custom Size and Color\n```typescript\nimport { Component } from '@angular/core';\nimport { HugeiconsIconComponent } from '@hugeicons/angular';\nimport { Notification02Icon } from '@hugeicons/core-free-icons';\n\n@Component({\n  selector: 'app-custom',\n  standalone: true,\n  imports: [HugeiconsIconComponent],\n  template: `\n    \u003chugeicons-icon\n      [icon]=\"Notification02Icon\"\n      [size]=\"32\"\n      color=\"#FF5733\"\n    /\u003e\n  `\n})\nexport class CustomComponent {\n  Notification02Icon = Notification02Icon;\n}\n```\n\n### More examples and patterns\n\n- Examples: https://hugeicons.com/docs/integrations/angular/examples\n- Best practices: https://hugeicons.com/docs/integrations/angular/best-practices\n\n## Performance\n\n- **Tree-shaking**: The package is fully tree-shakeable, ensuring only the icons you use are included in your final bundle\n- **Optimized SVGs**: All icons are optimized for size and performance\n- **Code Splitting**: Icons can be easily code-split when using dynamic imports\n- **OnPush Change Detection**: Uses ChangeDetectionStrategy.OnPush for optimal performance\n\n## Troubleshooting\n\n### Common Issues\n\n1. **Icons not showing up?**\n   - Make sure you've installed both `@hugeicons/angular` and `@hugeicons/core-free-icons`\n   - Check that `HugeiconsIconComponent` is imported in your component or module\n   - Verify that icon names are correctly imported\n\n2. **TypeScript errors?**\n   - Ensure your `tsconfig.json` includes the necessary type definitions\n   - Check that you're using Angular 17.1+ for signal inputs support\n\n3. **Bundle size concerns?**\n   - Use named imports instead of importing the entire icon set\n   - Implement code splitting for different sections of your app\n\n## Browser Support\n\nThe library supports all modern browsers.\n\n## Related Packages\n\n- [@hugeicons/react](https://www.npmjs.com/package/@hugeicons/react) - React component\n- [@hugeicons/vue](https://www.npmjs.com/package/@hugeicons/vue) - Vue component\n- [@hugeicons/svelte](https://www.npmjs.com/package/@hugeicons/svelte) - Svelte component\n- [@hugeicons/react-native](https://www.npmjs.com/package/@hugeicons/react-native) - React Native component\n\n## Pro Version\n\n\u003e **Want access to 51,000+ icons and 10 unique styles?**\n\u003e Check out our [Pro Version](https://hugeicons.com/pricing) and visit our [docs](https://hugeicons.com/docs) for detailed documentation.\n\n### Available Pro Styles\n- **Stroke Styles**\n  - Stroke Rounded (`@hugeicons-pro/core-stroke-rounded`)\n  - Stroke Sharp (`@hugeicons-pro/core-stroke-sharp`)\n  - Stroke Standard (`@hugeicons-pro/core-stroke-standard`)\n- **Solid Styles**\n  - Solid Rounded (`@hugeicons-pro/core-solid-rounded`)\n  - Solid Sharp (`@hugeicons-pro/core-solid-sharp`)\n  - Solid Standard (`@hugeicons-pro/core-solid-standard`)\n- **Special Styles**\n  - Bulk Rounded (`@hugeicons-pro/core-bulk-rounded`)\n  - Duotone Rounded (`@hugeicons-pro/core-duotone-rounded`)\n  - Duotone Standard (`@hugeicons-pro/core-duotone-standard`)\n  - Twotone Rounded (`@hugeicons-pro/core-twotone-rounded`)\n\n## License\n\nThe code in this package (`@hugeicons/angular`) is licensed under the MIT License.\n\nThis package only provides rendering utilities. It does not include or grant any rights to Hugeicons icon assets. Using Pro icon styles requires a valid Hugeicons Pro license.\n\nHugeicons icon packs are licensed separately:\n- **Free icon packs**: use the license included with the specific free icon package you install.\n- **Pro icon packs (`@hugeicons-pro/*`)**: require a paid Hugeicons Pro license and are governed by the Hugeicons Pro Terms (see [Pro License](PRO-LICENSE.md).).\n\n\n## Related\n\n- [Changelog](CHANGELOG.md) - Version history and release notes\n- [@hugeicons/core-free-icons](https://www.npmjs.com/package/@hugeicons/core-free-icons) - Free icon package\n- [Hugeicons Website](https://hugeicons.com) - Browse all available icons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugeicons%2Fangular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugeicons%2Fangular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugeicons%2Fangular/lists"}