@semantic-icons/flowbite-icons
v0.9.0
Published
`@semantic-icons/flowbite-icons` helps developers to use [Flowbite icons](https://flowbite.com/icons) inside [Angular](https://angular.dev) projects.
Downloads
570
Maintainers
Readme
@semantic-icons/flowbite-icons
@semantic-icons/flowbite-icons
helps developers to use Flowbite icons inside Angular projects.
Supported versions
| @semantic-icons/flowbite-icons | Angular | Flowbite-icons | | ------------------------------ | --------- | -------------- | | 0.x.x | >= 17.1.0 | 1.3.0 |
Usage
First, install @semantic-icons/flowbite-icons
from npm:
npm install @semantic-icons/flowbite-icons
Now each icon can be imported individually as an Angular component:
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
import { SvgBellIcon } from '@semantic-icons/flowbite-icons/solid';
@Component({
selector: 'app-home-page',
standalone: true,
imports: [SvgBellIcon],
template: `
<svg-bell-icon class="size-6 text-blue-500" />
`,
styles: ``,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class HomePageComponent {}
The outline icons can be imported from @semantic-icons/flowbite-icons/outline
, the filled icons can be imported from @semantic-icons/flowbite-icons/solid
.
Icons use the Angular naming convention and are always prefixed with the word svg
and suffixed with the word icon
.
License
MIT © 2024-2024 Khalil LAGRIDA