docs / sprites

Sprites

Usage

Using sveegy icons with sprites is as easy as without package. Sprites do not require any javascript at runtime and are supported across all modern browsers.

To use sprites, download the sprites file and place it into folder with the rest of your statis files. And then just reference the icon with xlink:href="<file-name>#<icon-id>".

html

    <body>
  <svg>
    <use xlink:href="stroke.svg#sv-heart-stroke" />
  </svg>
</body>