outlawplz/svg_sprite

This package is abandoned and no longer maintained. No replacement package was suggested.

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

v0.1.2 2017-03-10 14:38 UTC

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.

  1. Download latest SVG Sprite module from Github or via Composer and enable it as usual.
composer require outlawplz/svg_icon
  1. Create an SVG sprite file using services like Icomoon or Flaticon.

  2. 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!