Download the PHP package yceruto/iconpack without Composer
On this page you can find all versions of the php package yceruto/iconpack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package iconpack
Svg-Twig Icons Collection
A simple way to include and customize icons in your Twig projects.
Installation
Collections available:
Usage
Some Twig template:
Output:
Some SVG attributes can be modified using Twig parameters:
Available parameters are:
fill
Sets the color to fill the inner areas of the SVG shape. Accepts any CSS color value.class
Adds custom CSS classes to the SVG, allowing for additional styling, such as size or visibility adjustments.stroke
Specifies the color of the SVG outline or border, which can enhance or change the SVG’s edge visibility.stroke_width
Defines the width of the SVG outline, making the border thicker or thinner depending on the value.
Note that some icon templates don't include the
stroke
andstroke_width
variables as there are useless for some icons.
Contribution
Update templates files definition:
License
This software is published under the MIT License
All versions of iconpack with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
symfony/framework-bundle Version ^6.4|^7.0
symfony/twig-bundle Version ^6.4|^7.0
symfony/framework-bundle Version ^6.4|^7.0
symfony/twig-bundle Version ^6.4|^7.0
The package yceruto/iconpack contains the following files
Loading the files please wait ....