@semantic-icons/circle-flags
v0.52.0
Published
Icons generated based on circle-flags v1.0.1
Maintainers
Readme
@semantic-icons/circle-flags
@semantic-icons/circle-flags helps developers to use Circle flags inside Angular projects.
Supported versions
| @semantic-icons/circle-flags | Angular | Circle-flags | | ---------------------------- | --------- | ------------ | | 0.x.x | >= 17.1.0 | 1.0.0 |
Usage
First, install @semantic-icons/circle-flags from npm:
npm install @semantic-icons/circle-flagsNow each icon can be imported individually as an Angular component:
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
import { SiFrFlagIcon } from '@semantic-icons/circle-flags';
@Component({
selector: 'app-home-page',
standalone: true,
imports: [SiFrFlagIcon],
template: `
<svg class="size-36" si-fr-flag-icon></svg>
`,
styles: ``,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class HomePage {}The regular icons can be imported from @semantic-icons/circle-flags, the other icons can be imported from @semantic-icons/circle-flags/other, the language icons can be imported from @semantic-icons/circle-flags/language.
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
