npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tabler/icons-angular

v3.41.1

Published

A set of free MIT-licensed high-quality SVG icons for you to use in your Angular projects.

Readme

Tabler Icons for Angular

Sponsors

If you want to support our project and help us grow it, you can become a sponsor on GitHub or just donate on PayPal :)

Prerequisites

  • Angular: >=21.0.0 (@angular/core and @angular/common).

Installation

yarn add @tabler/icons-angular

or

npm install @tabler/icons-angular

or

pnpm add @tabler/icons-angular

How to use

The package is built with ES modules and is tree-shakable. You choose which icons to include.

You can provide icons via provideTablerIcons(), or pass TablerIcon objects directly to the component.

Icons are exported as Icon… named symbols from @tabler/icons-angular. Legacy/alternate names are re-exported from the same package as additional Icon… symbols (e.g. Icon123).

I. Using the provider (icon names in templates)

1a. Standalone applications (recommended)

In main.ts:

import { provideTablerIcons, IconBrandAngular, IconHome } from '@tabler/icons-angular';

bootstrapApplication(AppComponent, {
  providers: [
    provideTablerIcons({ IconBrandAngular, IconHome })
  ]
});

Add any number of icons by including more Icon* imports in the object passed to provideTablerIcons().

Or in a route configuration:

import { IconBrandAngular, provideTablerIcons } from '@tabler/icons-angular';

export const routes: Routes = [
  {
    path: 'demo',
    component: DemoComponent,
    providers: [provideTablerIcons({ IconBrandAngular })]
  }
];

In any component that uses icons, import TablerIconComponent into that component’s imports array (standalone-style components, including the root app component):

import { TablerIconComponent } from '@tabler/icons-angular';

@Component({
  imports: [TablerIconComponent],
  // ...
})
export class DemoComponent {}

1b. NgModule-based applications

Angular 21 still supports NgModule. Import TablerIconComponent into the module’s imports and register provideTablerIcons() / provideTablerIconConfig() in the module’s providers the same way as with bootstrapApplication.

import { TablerIconComponent, provideTablerIcons, IconBrandAngular, IconHome } from '@tabler/icons-angular';

@NgModule({
  imports: [TablerIconComponent],
  providers: [provideTablerIcons({ IconBrandAngular, IconHome })],
  // ...
})
export class AppModule {}

2. Use the icon in a template (by name)

<tabler-icon icon="brand-angular" />
<tabler-icon icon="icon-brand-angular" />

II. Passing an icon object (no provider)

1. Import TablerIconComponent (standalone component or NgModule)

import { TablerIconComponent, IconBrandAngular } from '@tabler/icons-angular';

@Component({
  imports: [TablerIconComponent],
  // ...
})
export class AppComponent {
  iconBrandAngular = IconBrandAngular;
}

If you use NgModule, import TablerIconComponent in the module’s imports instead. You do not need provideTablerIcons() when you only bind [icon] to imported TablerIcon objects.

2. Use the icon in a template (by reference)

<tabler-icon [icon]="iconBrandAngular" />

Props

The component uses Angular input() APIs (signal inputs) and supports both outline and filled icon types.

| name | type | default | | --------------- | --------------------------------- | ------------ | | icon | TablerIcon | string | (required) | | size | number | 24 | | color | string | currentColor | | stroke | number | 2 | | svgClass | string | — | | svgAttributes | Record<string, string | number | undefined> | — |

  • icon — Icon to display. Pass a TablerIcon object (e.g. from an import) or a string name when using provideTablerIcons().
  • size — Width and height of the icon in pixels.
  • color — For outline icons this sets the stroke color; for filled icons it sets the fill color.
  • stroke — Stroke width for outline icons. Has no effect on filled icons.
  • svgClass — Extra CSS classes to apply to the SVG element (in addition to tabler-icon and tabler-icon-{name}).
  • svgAttributes — Extra attributes to apply to the SVG element (e.g. aria-label, role) for accessibility. Component-managed attributes (size, color, stroke, etc.) always take precedence and cannot be overridden.
<tabler-icon icon="brand-angular" [size]="48" color="blue" [stroke]="1.75" svgClass="my-icon" />
<!-- When using a TablerIcon object, bind a component property (e.g. alarmIcon = IconAlarm in the class): -->
<tabler-icon [icon]="alarmIcon" [svgAttributes]="{ 'aria-label': 'Alarm', 'role': 'img' }" />

Global configuration

To change default property values globally, use provideTablerIconConfig() in your providers. You can set any combination of size, color, and stroke.

import { provideTablerIconConfig, provideTablerIcons, IconHome } from '@tabler/icons-angular';

bootstrapApplication(AppComponent, {
  providers: [
    provideTablerIcons({ IconHome }),
    provideTablerIconConfig({
      size: 40,
      stroke: 1,
      color: 'blue'
    })
  ]
});

Or only some defaults:

provideTablerIconConfig({ size: 40 })

Contributing

For more info on how to contribute please see the contribution guidelines.

Caught a mistake or want to contribute to the documentation? Edit this page on Github

License

Tabler Icons is licensed under the MIT License.

Sponsor Tabler