@semantic-icons/tabler-icons
v0.52.0
Published
Icons generated based on tabler-icons v3.34.1
Maintainers
Readme
@semantic-icons/tabler-icons
@semantic-icons/tabler-icons helps developers to use Tabler icons inside Angular projects.
Supported versions
| @semantic-icons/tabler-icons | Angular | Tabler-icons | | ---------------------------- | --------- | ------------ | | 0.x.x | >= 17.1.0 | 3.24.0 |
Usage
First, install @semantic-icons/tabler-icons from npm:
npm install @semantic-icons/tabler-iconsNow each icon can be imported individually as an Angular component:
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
import { SiCakeIcon } from '@semantic-icons/tabler-icons/outline';
@Component({
selector: 'app-home-page',
standalone: true,
imports: [SiCakeIcon],
template: `
<svg class="text-blue-500 size-6" si-cake-icon></svg>
`,
styles: ``,
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class HomePage {}The outline icons can be imported from @semantic-icons/tabler-icons/outline, the filled icons can be imported from @semantic-icons/tabler-icons/filled.
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
