@koobiq/angular-icons
v12.0.0
Published
Koobiq Angular SVG Icon Components
Downloads
337
Maintainers
Readme
@koobiq/angular-icons
A collection of Angular SVG icon components for the web, part of Koobiq Angular.
Icons are standalone Angular components using an attribute selector (<svg kbqPlus16 />). This approach integrates natively with Angular templates, supports tree-shaking, and includes full TypeScript typings.
If you need SVG files or icon font (Koobiq Icons), use the @koobiq/icons package.
Showcase
Use the icon showcase to visually browse the available icons.
Installation
Depending on your preference, run one of the following in your terminal:
# With npm
npm install @koobiq/angular-icons
# With yarn
yarn add @koobiq/angular-icons
# With pnpm
pnpm add @koobiq/angular-iconsUsage
Import the required icon component and add it to your template:
import { KbqPlus16 } from '@koobiq/angular-icons';
@Component({
standalone: true,
imports: [KbqPlus16],
template: `<svg kbqPlus16></svg>`
})
export class MyComponent {}// icon.component.ts
import { KbqFilterDot16 } from '@koobiq/angular-icons';
@Component({
standalone: true,
imports: [KbqFilterDot16],
template: `<svg kbqFilterDot16 class="icon"></svg>`
})
export class IconComponent {}