@semantic-icons/simple-icons
v0.54.0
Published
Icons generated based on simple-icons v15.11.0
Downloads
96
Maintainers
Readme
@semantic-icons/simple-icons
@semantic-icons/simple-icons helps developers to use Simple icons inside Angular projects.
Supported versions
| @semantic-icons/simple-icons | Angular | Simple Icons | | ---------------------------- | --------- | ------------ | | 0.x.x | >= 17.1.0 | 14.0.1 |
Usage
First, install @semantic-icons/simple-icons from npm:
npm install @semantic-icons/simple-iconsNow each icon can be imported individually as an Angular component:
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
import { SiGithubIcon } from '@semantic-icons/simple-icons';
@Component({
selector: 'app-home-page',
imports: [SiGithubIcon],
template: `
<svg class="size-36" si-github-icon></svg>
`,
styles: ``,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class HomePage {}The icons can be imported from @semantic-icons/simple-icons.
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
