1.0.0 • Published 7 months ago
@yaagoub/icons v1.0.0
@yaagoub/icons
Easily integrate custom SVG icons into your Angular projects.
Installation
Install the icon library via npm:
npm install @yaagoub/icons
Usage
Use the <ygb-icon>
component to add icons to your templates. Specify the name
, size
, and type
attributes as needed.
Examples
Solid Icons
<ygb-icon name="academic-cap" size="_24" type="solid"></ygb-icon>
<ygb-icon name="academic-cap" size="_20" type="solid"></ygb-icon>
<ygb-icon name="academic-cap" size="_16" type="solid"></ygb-icon>
Outline Icons
<ygb-icon name="academic-cap" size="_24" type="outline"></ygb-icon>
Documentation
For detailed documentation and available icon options, please visit the official documentation.
This should provide a clear and accessible guide for using your icon library in Angular projects.