@semantic-icons/circle-flags
Version:
Icons generated based on circle-flags v2.8.2
47 lines (32 loc) • 1.44 kB
Markdown
# @semantic-icons/circle-flags
`@semantic-icons/circle-flags` helps developers to use [Circle flags](https://hatscripts.github.io/circle-flags) inside [Angular](https://angular.dev) 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:
```sh
npm install @semantic-icons/circle-flags
```
Now each icon can be imported individually as an Angular component:
```js
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" siFrFlagIcon></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-2026 Khalil LAGRIDA