outlawplz / svg_sprite
Drupal 8 config entity representing an SVG sprite.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:drupal-module
This package is auto-updated.
Last update: 2020-10-04 14:35:46 UTC
README
Custom config entity representing an SVG sprite.
Quick Start
Start usign SVG Sprite in three steps.
- Download latest SVG Sprite module from Github or via Composer and enable it as usual.
composer require outlawplz/svg_icon
-
Create an SVG sprite file using services like Icomoon or Flaticon.
-
In Configuration > SVG Icon upload your SVG sprite.
That's it. You're all set to start using SVG Sprite.
Third party modules
The module defines a config entity representing an SVG Sprite. You need a third
party module that uses this entity to print icons on front end. The module
comes with a sub-module called svg_icon_menu_link
that let you print an SVG
icon in a menu link. Check it out!