Vue
Installation
Install Zappicon in your Vue project.
Free Version
Pro version
Create a .npmrc file in the root of your project and add the following lines:
.npmrc
replace YOUR_AUTH_TOKEN with your actual personal access token.
Then, install the pro version:
How to use
Zappicon uses ES Modules for full tree-shaking, so your bundle only includes the icons you import.
Props
Zappicon icons accept the following props:
Variant
Zappicon offers multiple icon variants to suit different design needs:
Example
Size
You can adjust the size of the icons using the size prop. The value can be any valid CSS size unit (e.g., pixels, ems, rems).
Example
Color
You can change the color of the icons using the color prop. The value can be any valid CSS color (e.g., hex, rgb, color names).
Example
Class
This allows you to apply Tailwind CSS utilities or your own custom CSS classes for size, color, and other effects.