Package Exports
- @amithvns/ng-heroicons
- @amithvns/ng-heroicons/bundles/amithvns-ng-heroicons.umd.js
- @amithvns/ng-heroicons/fesm2015/amithvns-ng-heroicons.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@amithvns/ng-heroicons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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>