@semantic-icons/heroicons
TypeScript icon, indicating that this package has built-in type declarations

0.43.0 • Public • Published

@semantic-icons/heroicons

@semantic-icons/heroicons helps developers to use Heroicons inside Angular projects.

Supported versions

@semantic-icons/heroicons Angular Heroicons
0.x.x >= 17.1.0 2.2.0

Usage

First, install @semantic-icons/heroicons from npm:

npm install @semantic-icons/heroicons

Now each icon can be imported individually as an Angular component:

import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';

import { SiBeakerIcon } from '@semantic-icons/heroicons/24/solid';

@Component({
  selector: 'app-home-page',
  standalone: true,
  imports: [SiBeakerIcon],
  template: `
    <svg class="size-6 text-blue-500" si-beaker-icon></svg>
  `,
  styles: ``,
  encapsulation: ViewEncapsulation.None,
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class HomePage {}

The 24x24 outline icons can be imported from @semantic-icons/heroicons/24/outline, the 24x24 solid icons can be imported from @semantic-icons/heroicons/24/solid, the 20x20 solid icons can be imported from @semantic-icons/heroicons/20/solid, and 16x16 solid icons can be imported from @semantic-icons/heroicons/16/solid.

Icons use the Angular naming convention and are always prefixed with the word si and suffixed with the word icon.

License

MIT © 2024-2025 Khalil LAGRIDA

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.43.0
0latest

Version History

VersionDownloads (Last 7 Days)Published
0.43.0
0
0.42.0
0
0.41.0
0
0.40.0
0
0.39.0
0
0.38.0
0
0.37.0
0
0.36.0
0
0.35.0
0
0.34.0
0
0.33.0
0
0.32.0
0
0.31.0
0
0.30.0
0
0.29.0
0
0.28.0
0
0.27.0
0
0.26.0
0
0.25.0
0
0.24.0
0
0.23.0
0
0.22.0
0
0.21.0
0
0.20.0
0
0.19.0
0
0.18.0
0
0.17.0
0
0.16.0
0
0.15.0
0
0.14.0
0
0.13.0
0
0.12.0
0
0.11.0
0
0.10.0
0
0.9.0
0
0.8.0
0
0.7.0
0
0.6.0
0
0.5.0
0
0.2.1
0
0.2.0
0
0.1.0
0
0.0.2
0

Package Sidebar

Install

npm i @semantic-icons/heroicons

Weekly Downloads

0

Version

0.43.0

License

MIT

Unpacked Size

8.16 MB

Total Files

1310

Last publish

Collaborators

  • ngx-grida