ng-heroicons
Installing
Run npm install @amithvns/ng-heroicons
or
Run yarn install @amithvns/ng-heroicons
Adding to an Angular project
Add the IconsModule to your AppModule.
IconsModule.withIcons({
...ICONS_OUTLINE,
...ICONS_SOLID,
...ICONS_MINI
})
Basic Usage
Outline icons
<icon name='user' class="h-6 w-6 text-gray-500"></icon>
Solid icons
<icon name='user-solid' class="h-6 w-6 text-gray-500"></icon>