SVG Icons Sprite generated by Orion Icon Library
Congratulations, your SVG Sprite from Directory Collection
from Orion Icon Library was
created successfully!
In the downloaded folder, you will find the file called orion-svg-sprite.svg
which
contains your SVG Sprite [Open]. Please find below different
techniques on how to use your Icons in your Web Project.
The first technique consists in including the content of the orion-svg-sprite.svg
in
your HTML
like in the example below:
<body>
<svg width="0" height="0" class="hidden" style="display:none">
<symbol id="myIcon-1">
<path d="..."></path>
<path d="..." stroke="..."></path>
</symbol>
<symbol id="myIcon-2">
<circle rx="..."></circle>
<path d="..."></path>
</symbol>
<symbol>...</symbol>
</svg>
<section>Here we will call the Icons references to show them!</section>
</body>
Then you can call whenever you want any of the SVG Icons from the sprite,
referencing them with the <use>
element,
like:
<body>
<svg width="0" height="0" class="hidden" style="display:none">The SVG Sprite</svg>
<section>
<svg>
<use xlink:href="#myIcon-1"></use>
</svg>
<svg>
<use xlink:href="#myIcon-2"></use>
</svg>
</section>
</body>
Pros: Easy to implement, cross-browser
support, unique HTTP request.
Cons: Adds extra markup in the HTML document,
SVG Sprite cannot be cached.
Tips: Put the SVG Sprite markup before calling them (
bugin Safari).
The second technique consists in referencing the Icons from the SVG sprite as an external file. This allows to display different parts of the SVG Sprite by specifying the fragment identifier at the end of the URL.
In the HTML
markup you include your
Icons using <use>
to reference
the orion-svg-sprite.svg
file with
the specific #fragment
ID of each
Icon you need. Below an example:
<body>
<section>
<svg>
<use xlink:href="orion-svg-sprite.svg#myIcon-1"></use>
</svg>
<svg>
<use xlink:href="orion-svg-sprite.svg#myIcon-2"></use>
</svg>
</section>
</body>
Pros: Less cluttered markup. External
file is cachable, which helps with page load speed.
Cons: The browser support is good except
for older Internet Explorer versions (IE<9).
Tips: In case you need to support IE older versions, you
can use the great svg4everybody plugin.
Use one of the techniques described before to call the SVG Sprite.
Then select the Icons you need below to easily copy the <use>
reference
and paste it in your Project.
Hint Select the technique you want to
use with the switch button.
The use code reference will update with the correct url below the icons
Plus You can set a specific size for
your Icons instances.
This is useful if you need a fixed size and will not style with css
.
#calls-1
<svg class="theme-line-0"><use xlink:href="#calls-1"></use></svg>
#landline-1
<svg class="theme-line-1"><use xlink:href="#landline-1"></use></svg>
#smartphone-1
<svg class="theme-line-1"><use xlink:href="#smartphone-1"></use></svg>
#chat-app-1
<svg class="theme-line-1"><use xlink:href="#chat-app-1"></use></svg>
#paper-plane-1
<svg class="theme-line-1"><use xlink:href="#paper-plane-1"></use></svg>
#read-email-1
<svg class="theme-line-1"><use xlink:href="#read-email-1"></use></svg>
#mail-1
<svg class="theme-line-1"><use xlink:href="#mail-1"></use></svg>
#telephone-operator-1
<svg class="theme-line-1"><use xlink:href="#telephone-operator-1"></use></svg>
#customer-support-1
<svg class="theme-line-1"><use xlink:href="#customer-support-1"></use></svg>
#support-1
<svg class="theme-line-1"><use xlink:href="#support-1"></use></svg>
#sailing-1
<svg class="theme-line-1"><use xlink:href="#sailing-1"></use></svg>
#yacht-1
<svg class="theme-line-1"><use xlink:href="#yacht-1"></use></svg>
#airplane-mode-1
<svg class="theme-line-0"><use xlink:href="#airplane-mode-1"></use></svg>
#speedometer-1
<svg class="theme-line-1"><use xlink:href="#speedometer-1"></use></svg>
#restaurant-1
<svg class="theme-line-0"><use xlink:href="#restaurant-1"></use></svg>
#swimming-pool-1
<svg class="theme-line-1"><use xlink:href="#swimming-pool-1"></use></svg>
#flip-flops-1
<svg class="theme-line-1"><use xlink:href="#flip-flops-1"></use></svg>
#mountain-1
<svg class="theme-line-1"><use xlink:href="#mountain-1"></use></svg>
#beach-1
<svg class="theme-line-1"><use xlink:href="#beach-1"></use></svg>
#suitcase-1
<svg class="theme-line-1"><use xlink:href="#suitcase-1"></use></svg>
#cabin-baggage-1
<svg class="theme-line-1"><use xlink:href="#cabin-baggage-1"></use></svg>
#road-1
<svg class="theme-line-1"><use xlink:href="#road-1"></use></svg>
#subway-1
<svg class="theme-line-22"><use xlink:href="#subway-1"></use></svg>
#sedan-1
<svg class="theme-line-1"><use xlink:href="#sedan-1"></use></svg>
#bus-1
<svg class="theme-line-22"><use xlink:href="#bus-1"></use></svg>
#cart-1
<svg class="theme-line-1"><use xlink:href="#cart-1"></use></svg>
#paper-bag-1
<svg class="theme-line-1"><use xlink:href="#paper-bag-1"></use></svg>
#retail-bag-1
<svg class="theme-line-1"><use xlink:href="#retail-bag-1"></use></svg>
#dollar-sign-1
<svg class="theme-line-1"><use xlink:href="#dollar-sign-1"></use></svg>
#pay-by-card-1
<svg class="theme-line-22"><use xlink:href="#pay-by-card-1"></use></svg>
#money-1
<svg class="theme-line-22"><use xlink:href="#money-1"></use></svg>
#money-box-1
<svg class="theme-line-22"><use xlink:href="#money-box-1"></use></svg>
#pay-1
<svg class="theme-line-22"><use xlink:href="#pay-1"></use></svg>
#open-box-1
<svg class="theme-line-1"><use xlink:href="#open-box-1"></use></svg>
#delivery-time-1
<svg class="theme-line-1"><use xlink:href="#delivery-time-1"></use></svg>
#store-1
<svg class="theme-line-1"><use xlink:href="#store-1"></use></svg>
#label-tag-1
<svg class="theme-line-1"><use xlink:href="#label-tag-1"></use></svg>
#tag-1
<svg class="theme-line-1"><use xlink:href="#tag-1"></use></svg>
#giftbox-1
<svg class="theme-line-1"><use xlink:href="#giftbox-1"></use></svg>
#fountain-pen-1
<svg class="theme-line-1"><use xlink:href="#fountain-pen-1"></use></svg>
#pen-1
<svg class="theme-line-1"><use xlink:href="#pen-1"></use></svg>
#key-1
<svg class="theme-line-0"><use xlink:href="#key-1"></use></svg>
#keyhole-1
<svg class="theme-line-1"><use xlink:href="#keyhole-1"></use></svg>
#stack-1
<svg class="theme-line-43"><use xlink:href="#stack-1"></use></svg>
#screwdriver-1
<svg class="theme-line-1"><use xlink:href="#screwdriver-1"></use></svg>
#configuration-1
<svg class="theme-line-1"><use xlink:href="#configuration-1"></use></svg>
#feather-1
<svg class="theme-line-1"><use xlink:href="#feather-1"></use></svg>
#edit-1
<svg class="theme-line-1"><use xlink:href="#edit-1"></use></svg>
#security-1
<svg class="theme-line-1"><use xlink:href="#security-1"></use></svg>
#find-1
<svg class="theme-line-0"><use xlink:href="#find-1"></use></svg>
#pin-1
<svg class="theme-line-1"><use xlink:href="#pin-1"></use></svg>
#love-pin-1
<svg class="theme-line-1"><use xlink:href="#love-pin-1"></use></svg>
#map-location-1
<svg class="theme-line-1"><use xlink:href="#map-location-1"></use></svg>
#navigation-map-1
<svg class="theme-line-1"><use xlink:href="#navigation-map-1"></use></svg>
#compass-map-1
<svg class="theme-line-1"><use xlink:href="#compass-map-1"></use></svg>
#destination-map-1
<svg class="theme-line-1"><use xlink:href="#destination-map-1"></use></svg>
#map-marker-1
<svg class="theme-line-1"><use xlink:href="#map-marker-1"></use></svg>
#compass-1
<svg class="theme-line-22"><use xlink:href="#compass-1"></use></svg>
#earth-globe-1
<svg class="theme-line-1"><use xlink:href="#earth-globe-1"></use></svg>
#globe-1
<svg class="theme-line-1"><use xlink:href="#globe-1"></use></svg>
#world-map-1
<svg class="theme-line-1"><use xlink:href="#world-map-1"></use></svg>
#needle-1
<svg class="theme-line-1"><use xlink:href="#needle-1"></use></svg>
#hospital-1
<svg class="theme-line-1"><use xlink:href="#hospital-1"></use></svg>
#medical-emergency-1
<svg class="theme-line-1"><use xlink:href="#medical-emergency-1"></use></svg>
#wall-clock-1
<svg class="theme-line-1"><use xlink:href="#wall-clock-1"></use></svg>
#time-1
<svg class="theme-line-1"><use xlink:href="#time-1"></use></svg>
#alarm-clock-1
<svg class="theme-line-22"><use xlink:href="#alarm-clock-1"></use></svg>
#watch-1
<svg class="theme-line-1"><use xlink:href="#watch-1"></use></svg>
#vintage-camera-1
<svg class="theme-line-68"><use xlink:href="#vintage-camera-1"></use></svg>
#camera-1
<svg class="theme-line-1"><use xlink:href="#camera-1"></use></svg>
#camera-shutter-1
<svg class="theme-line-1"><use xlink:href="#camera-shutter-1"></use></svg>
#image-1
<svg class="theme-line-1"><use xlink:href="#image-1"></use></svg>
#image-gallery-1
<svg class="theme-line-72"><use xlink:href="#image-gallery-1"></use></svg>
#radio-set-1
<svg class="theme-line-1"><use xlink:href="#radio-set-1"></use></svg>
#headphones-1
<svg class="theme-line-1"><use xlink:href="#headphones-1"></use></svg>
#guitar-1
<svg class="theme-line-22"><use xlink:href="#guitar-1"></use></svg>
#mix-1
<svg class="theme-line-1"><use xlink:href="#mix-1"></use></svg>
#sun-1
<svg class="theme-line-1"><use xlink:href="#sun-1"></use></svg>
#dawn-1
<svg class="theme-line-22"><use xlink:href="#dawn-1"></use></svg>
#heavy-rain-1
<svg class="theme-line-1"><use xlink:href="#heavy-rain-1"></use></svg>
#cloud-lightning-1
<svg class="theme-line-1"><use xlink:href="#cloud-lightning-1"></use></svg>
#partly-cloudy-1
<svg class="theme-line-1"><use xlink:href="#partly-cloudy-1"></use></svg>
#crescent-moon-1
<svg class="theme-line-0"><use xlink:href="#crescent-moon-1"></use></svg>
#book-1
<svg class="theme-line-1"><use xlink:href="#book-1"></use></svg>
#reading-1
<svg class="theme-line-22"><use xlink:href="#reading-1"></use></svg>
#address-book-1
<svg class="theme-line-22"><use xlink:href="#address-book-1"></use></svg>
#diary-1
<svg class="theme-line-22"><use xlink:href="#diary-1"></use></svg>
#three-columns-layout-1
<svg class="theme-line-1"><use xlink:href="#three-columns-layout-1"></use></svg>
#contacts-1
<svg class="theme-line-22"><use xlink:href="#contacts-1"></use></svg>
#user-1
<svg class="theme-line-0"><use xlink:href="#user-1"></use></svg>
#women-1
<svg class="theme-line-0"><use xlink:href="#women-1"></use></svg>
#male-user-1
<svg class="theme-line-1"><use xlink:href="#male-user-1"></use></svg>
#female-user-1
<svg class="theme-line-1"><use xlink:href="#female-user-1"></use></svg>
#student-1
<svg class="theme-line-1"><use xlink:href="#student-1"></use></svg>
#identity-1
<svg class="theme-line-22"><use xlink:href="#identity-1"></use></svg>
#heart-1
<svg class="theme-line-0"><use xlink:href="#heart-1"></use></svg>
#like-1
<svg class="theme-line-1"><use xlink:href="#like-1"></use></svg>
#unlike-1
<svg class="theme-line-1"><use xlink:href="#unlike-1"></use></svg>
#diamond-1
<svg class="theme-line-1"><use xlink:href="#diamond-1"></use></svg>
#ribbon-1
<svg class="theme-line-1"><use xlink:href="#ribbon-1"></use></svg>
#diploma-1
<svg class="theme-line-1"><use xlink:href="#diploma-1"></use></svg>
#quality-1
<svg class="theme-line-1"><use xlink:href="#quality-1"></use></svg>
#podium-1
<svg class="theme-line-1"><use xlink:href="#podium-1"></use></svg>
#data-app-1
<svg class="theme-line-1"><use xlink:href="#data-app-1"></use></svg>
#shield-security-1
<svg class="theme-line-1"><use xlink:href="#shield-security-1"></use></svg>
#imac-screen-1
<svg class="theme-line-1"><use xlink:href="#imac-screen-1"></use></svg>
#laptop-screen-1
<svg class="theme-line-1"><use xlink:href="#laptop-screen-1"></use></svg>
#iphone-1
<svg class="theme-line-1"><use xlink:href="#iphone-1"></use></svg>
#low-battery-1
<svg class="theme-line-0"><use xlink:href="#low-battery-1"></use></svg>
#low-power-1
<svg class="theme-line-1"><use xlink:href="#low-power-1"></use></svg>
#refresh-window-1
<svg class="theme-line-1"><use xlink:href="#refresh-window-1"></use></svg>
#schedule-window-1
<svg class="theme-line-1"><use xlink:href="#schedule-window-1"></use></svg>
#food-1
<svg class="theme-line-1"><use xlink:href="#food-1"></use></svg>
#restaurant-2
<svg class="theme-line-1"><use xlink:href="#restaurant-2"></use></svg>
#dinner-1
<svg class="theme-line-1"><use xlink:href="#dinner-1"></use></svg>
#balloon-whisk-1
<svg class="theme-line-1"><use xlink:href="#balloon-whisk-1"></use></svg>
#ladle-1
<svg class="theme-line-1"><use xlink:href="#ladle-1"></use></svg>
#barbecue-1
<svg class="theme-line-1"><use xlink:href="#barbecue-1"></use></svg>
#tea-kettle-1
<svg class="theme-line-1"><use xlink:href="#tea-kettle-1"></use></svg>
#moka-coffee-pot-1
<svg class="theme-line-1"><use xlink:href="#moka-coffee-pot-1"></use></svg>
#coffee-beans-1
<svg class="theme-line-1"><use xlink:href="#coffee-beans-1"></use></svg>
#loaf-of-bread-1
<svg class="theme-line-1"><use xlink:href="#loaf-of-bread-1"></use></svg>
#croissant-1
<svg class="theme-line-1"><use xlink:href="#croissant-1"></use></svg>
#wine-glass-1
<svg class="theme-line-1"><use xlink:href="#wine-glass-1"></use></svg>
#birthday-cake-1
<svg class="theme-line-1"><use xlink:href="#birthday-cake-1"></use></svg>
#beer-pint-1
<svg class="theme-line-1"><use xlink:href="#beer-pint-1"></use></svg>
#pint-1
<svg class="theme-line-1"><use xlink:href="#pint-1"></use></svg>
#salami-1
<svg class="theme-line-1"><use xlink:href="#salami-1"></use></svg>
#ham-1
<svg class="theme-line-1"><use xlink:href="#ham-1"></use></svg>
#cheese-1
<svg class="theme-line-1"><use xlink:href="#cheese-1"></use></svg>
#pizza-slice-1
<svg class="theme-line-1"><use xlink:href="#pizza-slice-1"></use></svg>
#hamburger-1
<svg class="theme-line-22"><use xlink:href="#hamburger-1"></use></svg>
#asian-cuisine-1
<svg class="theme-line-1"><use xlink:href="#asian-cuisine-1"></use></svg>
#apple-1
<svg class="theme-line-1"><use xlink:href="#apple-1"></use></svg>
#lemon-1
<svg class="theme-line-1"><use xlink:href="#lemon-1"></use></svg>
#banana-1
<svg class="theme-line-1"><use xlink:href="#banana-1"></use></svg>
#ice-cream-cone-1
<svg class="theme-line-1"><use xlink:href="#ice-cream-cone-1"></use></svg>
#food-2
<svg class="theme-line-1"><use xlink:href="#food-2"></use></svg>
#brewed-coffee-1
<svg class="theme-line-22"><use xlink:href="#brewed-coffee-1"></use></svg>
#roast-chicken-1
<svg class="theme-line-22"><use xlink:href="#roast-chicken-1"></use></svg>
#chocolate-bar-1
<svg class="theme-line-1"><use xlink:href="#chocolate-bar-1"></use></svg>
#pineapple-1
<svg class="theme-line-22"><use xlink:href="#pineapple-1"></use></svg>
#grater-1
<svg class="theme-line-1"><use xlink:href="#grater-1"></use></svg>
#tea-cup-1
<svg class="theme-line-1"><use xlink:href="#tea-cup-1"></use></svg>
#glazed-donut-1
<svg class="theme-line-1"><use xlink:href="#glazed-donut-1"></use></svg>
#cocktail-1
<svg class="theme-line-1"><use xlink:href="#cocktail-1"></use></svg>
#sandwich-1
<svg class="theme-line-1"><use xlink:href="#sandwich-1"></use></svg>
#taco-1
<svg class="theme-line-22"><use xlink:href="#taco-1"></use></svg>
#seafood-1
<svg class="theme-line-1"><use xlink:href="#seafood-1"></use></svg>
#checked-circle-1
<svg class="theme-line-1"><use xlink:href="#checked-circle-1"></use></svg>
#real-estate-1
<svg class="theme-line-22"><use xlink:href="#real-estate-1"></use></svg>
#house-1
<svg class="theme-line-0"><use xlink:href="#house-1"></use></svg>
#setting-1
<svg class="theme-line-1"><use xlink:href="#setting-1"></use></svg>
#property-1
<svg class="theme-line-1"><use xlink:href="#property-1"></use></svg>
#plug-1
<svg class="theme-line-1"><use xlink:href="#plug-1"></use></svg>
#calls-2
<svg class="theme-line-0"><use xlink:href="#calls-2"></use></svg>
#coins-1
<svg class="theme-line-1"><use xlink:href="#coins-1"></use></svg>
#money-2
<svg class="theme-line-22"><use xlink:href="#money-2"></use></svg>
#secure-payment-1
<svg class="theme-line-1"><use xlink:href="#secure-payment-1"></use></svg>
#bank-cards-1
<svg class="theme-line-1"><use xlink:href="#bank-cards-1"></use></svg>
#close-1
<svg class="theme-line-160"><use xlink:href="#close-1"></use></svg>
#angle-right-1
<svg class="theme-line-160"><use xlink:href="#angle-right-1"></use></svg>
#angle-left-1
<svg class="theme-line-160"><use xlink:href="#angle-left-1"></use></svg>
#checkmark-1
<svg class="theme-line-160"><use xlink:href="#checkmark-1"></use></svg>
#checkmark-2
<svg class="theme-line-160"><use xlink:href="#checkmark-2"></use></svg>
#delete-circle-1
<svg class="theme-line-165"><use xlink:href="#delete-circle-1"></use></svg>
#backpack-1
<svg class="theme-line-160"><use xlink:href="#backpack-1"></use></svg>
#camping-1
<svg class="theme-line-165"><use xlink:href="#camping-1"></use></svg>
#camp-fire-1
<svg class="theme-line-165"><use xlink:href="#camp-fire-1"></use></svg>
#do-not-disturb-1
<svg class="theme-line-165"><use xlink:href="#do-not-disturb-1"></use></svg>
#colander-1
<svg class="theme-line-165"><use xlink:href="#colander-1"></use></svg>
#dome-plate-cover-1
<svg class="theme-line-165"><use xlink:href="#dome-plate-cover-1"></use></svg>
#hot-coffee-1
<svg class="theme-line-165"><use xlink:href="#hot-coffee-1"></use></svg>
#donut-1
<svg class="theme-line-165"><use xlink:href="#donut-1"></use></svg>
#cocktail-glass-1
<svg class="theme-line-165"><use xlink:href="#cocktail-glass-1"></use></svg>
#spirit-glass-1
<svg class="theme-line-165"><use xlink:href="#spirit-glass-1"></use></svg>
#tropical-cocktail-1
<svg class="theme-line-165"><use xlink:href="#tropical-cocktail-1"></use></svg>
#chicken-breast-1
<svg class="theme-line-165"><use xlink:href="#chicken-breast-1"></use></svg>
#pizza-1
<svg class="theme-line-165"><use xlink:href="#pizza-1"></use></svg>
#chinese-takeout-1
<svg class="theme-line-165"><use xlink:href="#chinese-takeout-1"></use></svg>
#orange-1
<svg class="theme-line-165"><use xlink:href="#orange-1"></use></svg>
#watermelon-1
<svg class="theme-line-165"><use xlink:href="#watermelon-1"></use></svg>
#french-bread-1
<svg class="theme-line-165"><use xlink:href="#french-bread-1"></use></svg>
#birthday-cake-2
<svg class="theme-line-165"><use xlink:href="#birthday-cake-2"></use></svg>
#hot-coffee-2
<svg class="theme-line-165"><use xlink:href="#hot-coffee-2"></use></svg>
#home-button-1
<svg class="theme-line-160"><use xlink:href="#home-button-1"></use></svg>
#home-1
<svg class="theme-line-186"><use xlink:href="#home-1"></use></svg>
#homepage-1
<svg class="theme-line-160"><use xlink:href="#homepage-1"></use></svg>
#password-1
<svg class="theme-line-165"><use xlink:href="#password-1"></use></svg>
#sleepers-1
<svg class="theme-line-189"><use xlink:href="#sleepers-1"></use></svg>
You selected the options to generate the SVG Sprite with external color
css
classes.
That means that Orion detected if your icons
had different color layers and created a class and stylesheet for you to
edit the icons color properties.
Try me! The color classes below are editable.
Make your changes in real time and paste it directly into your project.
Support: Since our Icons can have several
Layers, this technique take advantage of the CSS Custom Properties.
This has a good browser support except
for older IE versions. In those browsers the original color will be used
as a fallback.
You can find a lot of information on the Internet about SVG
.
We made a little selection for you if you want to learn more.