Download the PHP package plakart/contao-svg-sprite-bundle without Composer
On this page you can find all versions of the php package plakart/contao-svg-sprite-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download plakart/contao-svg-sprite-bundle
More information about plakart/contao-svg-sprite-bundle
Files in plakart/contao-svg-sprite-bundle
Download plakart/contao-svg-sprite-bundle
More information about plakart/contao-svg-sprite-bundle
Files in plakart/contao-svg-sprite-bundle
Vendor plakart
Package contao-svg-sprite-bundle
Short Description This bundle allows you to manage and use SVG sprites directly within your Contao theme.
License LGPL-3.0-or-later
Package contao-svg-sprite-bundle
Short Description This bundle allows you to manage and use SVG sprites directly within your Contao theme.
License LGPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package contao-svg-sprite-bundle
Contao SVG Sprite Bundle
This bundle allows you to manage and use SVG sprites directly within your Contao theme.
Features
- Upload and/or select an SVG sprite within your theme
- Reference individual
<symbol>elements via insert tags - Optional width and height parameters for flexible rendering
- (Planned) Visual icon picker for selecting symbols
- (Planned) Dynamic SVG sprite generation via Contao (instead of loading from the file system)
Installation
Usage
Insert Tag
Use the following insert tag to render an icon:
{{symbol::ICON_ID}}
You can optionally define width and height:
{{symbol::ICON_ID?width=32&height=32}}
Example SVG Sprite
HTML Output
- General icon class
sprite-svg-icon - Specific class per icon
icon--ICON_ID
Roadmap
- [ ] Visual icon picker for selecting symbols\
- [ ] Dynamic SVG sprite generation on page load (instead of file-based loading)
All versions of contao-svg-sprite-bundle with dependencies
PHP Build Version
Package Version
The package plakart/contao-svg-sprite-bundle contains the following files
Loading the files please wait ...