@semantic-icons/flag-icons v0.49.0
@semantic-icons/flag-icons
@semantic-icons/flag-icons helps developers to use Flag icons inside Angular projects.
Supported versions
| @semantic-icons/flag-icons | Angular | Flag-icons |
|---|---|---|
| 0.x.x | >= 17.1.0 | 7.2.3 |
Usage
First, install @semantic-icons/flag-icons from npm:
npm install @semantic-icons/flag-iconsNow each icon can be imported individually as an Angular component:
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
import { SiMaFlagIcon } from '@semantic-icons/flag-icons/square';
@Component({
selector: 'app-home-page',
standalone: true,
imports: [SiMaFlagIcon],
template: `
<svg class="size-36" si-ma-flag-icon></svg>
`,
styles: ``,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class HomePage {}The square shaped icons can be imported from @semantic-icons/flag-icons/square, the rectangle shaped icons can be imported from @semantic-icons/flag-icons/rectangle.
Icons use the Angular naming convention and are always prefixed with the word si and suffixed with the words flag icon.
License
MIT © 2024-2025 Khalil LAGRIDA
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
7 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago