SVG Icons Sprite generated by Orion Icon Library
Congratulations, your SVG Sprite from Bubbly 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
.
#close-1
<svg class="theme-line-0"><use xlink:href="#close-1"></use></svg>
#checkmark-1
<svg class="theme-line-0"><use xlink:href="#checkmark-1"></use></svg>
#rotate-left-1
<svg class="theme-line-2"><use xlink:href="#rotate-left-1"></use></svg>
#portfolio-grid-1
<svg class="theme-line-2"><use xlink:href="#portfolio-grid-1"></use></svg>
#more-1
<svg class="theme-line-4"><use xlink:href="#more-1"></use></svg>
#speed-1
<svg class="theme-line-2"><use xlink:href="#speed-1"></use></svg>
#security-shield-1
<svg class="theme-line-2"><use xlink:href="#security-shield-1"></use></svg>
#food-1
<svg class="theme-line-2"><use xlink:href="#food-1"></use></svg>
#hot-coffee-1
<svg class="theme-line-2"><use xlink:href="#hot-coffee-1"></use></svg>
#tea-cup-1
<svg class="theme-line-2"><use xlink:href="#tea-cup-1"></use></svg>
#muffin-1
<svg class="theme-line-2"><use xlink:href="#muffin-1"></use></svg>
#man-1
<svg class="theme-line-2"><use xlink:href="#man-1"></use></svg>
#woman-1
<svg class="theme-line-2"><use xlink:href="#woman-1"></use></svg>
#user-1
<svg class="theme-line-0"><use xlink:href="#user-1"></use></svg>
#quality-1
<svg class="theme-line-2"><use xlink:href="#quality-1"></use></svg>
#reading-1
<svg class="theme-line-15"><use xlink:href="#reading-1"></use></svg>
#news-1
<svg class="theme-line-15"><use xlink:href="#news-1"></use></svg>
#sun-1
<svg class="theme-line-2"><use xlink:href="#sun-1"></use></svg>
#camera-1
<svg class="theme-line-2"><use xlink:href="#camera-1"></use></svg>
#retro-camera-1
<svg class="theme-line-2"><use xlink:href="#retro-camera-1"></use></svg>
#play-button-1
<svg class="theme-line-2"><use xlink:href="#play-button-1"></use></svg>
#tv-1
<svg class="theme-line-2"><use xlink:href="#tv-1"></use></svg>
#time-1
<svg class="theme-line-2"><use xlink:href="#time-1"></use></svg>
#deadline-1
<svg class="theme-line-2"><use xlink:href="#deadline-1"></use></svg>
#heartbeat-1
<svg class="theme-line-2"><use xlink:href="#heartbeat-1"></use></svg>
#first-aid-kit-1
<svg class="theme-line-2"><use xlink:href="#first-aid-kit-1"></use></svg>
#hospital-1
<svg class="theme-line-2"><use xlink:href="#hospital-1"></use></svg>
#map-pin-1
<svg class="theme-line-0"><use xlink:href="#map-pin-1"></use></svg>
#pin-1
<svg class="theme-line-2"><use xlink:href="#pin-1"></use></svg>
#map-marker-1
<svg class="theme-line-2"><use xlink:href="#map-marker-1"></use></svg>
#cart-1
<svg class="theme-line-2"><use xlink:href="#cart-1"></use></svg>
#shopping-cart-1
<svg class="theme-line-2"><use xlink:href="#shopping-cart-1"></use></svg>
#paper-bag-1
<svg class="theme-line-2"><use xlink:href="#paper-bag-1"></use></svg>
#retail-bag-1
<svg class="theme-line-2"><use xlink:href="#retail-bag-1"></use></svg>
#dollar-sign-1
<svg class="theme-line-2"><use xlink:href="#dollar-sign-1"></use></svg>
#dollar-badge-1
<svg class="theme-line-35"><use xlink:href="#dollar-badge-1"></use></svg>
#credit-card-1
<svg class="theme-line-2"><use xlink:href="#credit-card-1"></use></svg>
#pay-by-card-1
<svg class="theme-line-15"><use xlink:href="#pay-by-card-1"></use></svg>
#bank-cards-1
<svg class="theme-line-2"><use xlink:href="#bank-cards-1"></use></svg>
#money-box-1
<svg class="theme-line-15"><use xlink:href="#money-box-1"></use></svg>
#pay-1
<svg class="theme-line-15"><use xlink:href="#pay-1"></use></svg>
#delivery-truck-1
<svg class="theme-line-15"><use xlink:href="#delivery-truck-1"></use></svg>
#delivery-time-1
<svg class="theme-line-2"><use xlink:href="#delivery-time-1"></use></svg>
#giftbox-1
<svg class="theme-line-2"><use xlink:href="#giftbox-1"></use></svg>
#tag-1
<svg class="theme-line-2"><use xlink:href="#tag-1"></use></svg>
#pie-chart-1
<svg class="theme-line-15"><use xlink:href="#pie-chart-1"></use></svg>
#sedan-1
<svg class="theme-line-2"><use xlink:href="#sedan-1"></use></svg>
#document-saved-1
<svg class="theme-line-2"><use xlink:href="#document-saved-1"></use></svg>
#calls-1
<svg class="theme-line-0"><use xlink:href="#calls-1"></use></svg>
#speaker-call-1
<svg class="theme-line-2"><use xlink:href="#speaker-call-1"></use></svg>
#landline-1
<svg class="theme-line-2"><use xlink:href="#landline-1"></use></svg>
#smartphone-1
<svg class="theme-line-2"><use xlink:href="#smartphone-1"></use></svg>
#chats-1
<svg class="theme-line-2"><use xlink:href="#chats-1"></use></svg>
#24h-assistance-1
<svg class="theme-line-15"><use xlink:href="#24h-assistance-1"></use></svg>
#share-1
<svg class="theme-line-2"><use xlink:href="#share-1"></use></svg>
#envelope-1
<svg class="theme-line-2"><use xlink:href="#envelope-1"></use></svg>
#paper-plane-1
<svg class="theme-line-2"><use xlink:href="#paper-plane-1"></use></svg>
#chat-bubble-1
<svg class="theme-line-2"><use xlink:href="#chat-bubble-1"></use></svg>
#mental-illness-1
<svg class="theme-line-2"><use xlink:href="#mental-illness-1"></use></svg>
#mental-health-1
<svg class="theme-line-2"><use xlink:href="#mental-health-1"></use></svg>
#arrow-target-1
<svg class="theme-line-2"><use xlink:href="#arrow-target-1"></use></svg>
#target-1
<svg class="theme-line-2"><use xlink:href="#target-1"></use></svg>
#sales-up-1
<svg class="theme-line-15"><use xlink:href="#sales-up-1"></use></svg>
#statistic-1
<svg class="theme-line-2"><use xlink:href="#statistic-1"></use></svg>
#numbers-1
<svg class="theme-line-2"><use xlink:href="#numbers-1"></use></svg>
#stream-video-1
<svg class="theme-line-2"><use xlink:href="#stream-video-1"></use></svg>
#play-video-1
<svg class="theme-line-15"><use xlink:href="#play-video-1"></use></svg>
#movie-camera-1
<svg class="theme-line-2"><use xlink:href="#movie-camera-1"></use></svg>
#real-estate-1
<svg class="theme-line-15"><use xlink:href="#real-estate-1"></use></svg>
#property-1
<svg class="theme-line-2"><use xlink:href="#property-1"></use></svg>
#page-1
<svg class="theme-line-15"><use xlink:href="#page-1"></use></svg>
#list-details-1
<svg class="theme-line-15"><use xlink:href="#list-details-1"></use></svg>
#sorting-1
<svg class="theme-line-2"><use xlink:href="#sorting-1"></use></svg>
#special-price-1
<svg class="theme-line-2"><use xlink:href="#special-price-1"></use></svg>
#locomotive-1
<svg class="theme-line-15"><use xlink:href="#locomotive-1"></use></svg>
#excavator-1
<svg class="theme-line-2"><use xlink:href="#excavator-1"></use></svg>
#tractor-1
<svg class="theme-line-2"><use xlink:href="#tractor-1"></use></svg>
#wheel-loader-1
<svg class="theme-line-2"><use xlink:href="#wheel-loader-1"></use></svg>
#literature-1
<svg class="theme-line-2"><use xlink:href="#literature-1"></use></svg>
#paper-stack-1
<svg class="theme-line-2"><use xlink:href="#paper-stack-1"></use></svg>
#shield-security-1
<svg class="theme-line-2"><use xlink:href="#shield-security-1"></use></svg>
#survey-1
<svg class="theme-line-2"><use xlink:href="#survey-1"></use></svg>
#disable-1
<svg class="theme-line-2"><use xlink:href="#disable-1"></use></svg>
#disable-2
<svg class="theme-line-2"><use xlink:href="#disable-2"></use></svg>
#security-1
<svg class="theme-line-2"><use xlink:href="#security-1"></use></svg>
#unlocked-1
<svg class="theme-line-2"><use xlink:href="#unlocked-1"></use></svg>
#stack-1
<svg class="theme-line-4"><use xlink:href="#stack-1"></use></svg>
#strategy-1
<svg class="theme-line-2"><use xlink:href="#strategy-1"></use></svg>
#configuration-1
<svg class="theme-line-2"><use xlink:href="#configuration-1"></use></svg>
#settings-1
<svg class="theme-line-2"><use xlink:href="#settings-1"></use></svg>
#vault-1
<svg class="theme-line-15"><use xlink:href="#vault-1"></use></svg>
#add-1
<svg class="theme-line-0"><use xlink:href="#add-1"></use></svg>
#minus-1
<svg class="theme-line-0"><use xlink:href="#minus-1"></use></svg>
#arrow-right-1
<svg class="theme-line-2"><use xlink:href="#arrow-right-1"></use></svg>
#arrow-left-1
<svg class="theme-line-2"><use xlink:href="#arrow-left-1"></use></svg>
#menu-1
<svg class="theme-line-2"><use xlink:href="#menu-1"></use></svg>
#menu-hamburger-1
<svg class="theme-line-2"><use xlink:href="#menu-hamburger-1"></use></svg>
#cutlery-1
<svg class="theme-line-2"><use xlink:href="#cutlery-1"></use></svg>
#tea-mug-1
<svg class="theme-line-2"><use xlink:href="#tea-mug-1"></use></svg>
#white-wine-1
<svg class="theme-line-2"><use xlink:href="#white-wine-1"></use></svg>
#sandwich-1
<svg class="theme-line-2"><use xlink:href="#sandwich-1"></use></svg>
#hamburger-1
<svg class="theme-line-15"><use xlink:href="#hamburger-1"></use></svg>
#strawberry-1
<svg class="theme-line-2"><use xlink:href="#strawberry-1"></use></svg>
#browser-window-1
<svg class="theme-line-0"><use xlink:href="#browser-window-1"></use></svg>
#new-window-1
<svg class="theme-line-2"><use xlink:href="#new-window-1"></use></svg>
#checked-window-1
<svg class="theme-line-2"><use xlink:href="#checked-window-1"></use></svg>
#imac-screen-1
<svg class="theme-line-2"><use xlink:href="#imac-screen-1"></use></svg>
#iphone-1
<svg class="theme-line-2"><use xlink:href="#iphone-1"></use></svg>
#laptop-screen-1
<svg class="theme-line-2"><use xlink:href="#laptop-screen-1"></use></svg>
#html5-1
<svg class="theme-line-2"><use xlink:href="#html5-1"></use></svg>
#multiple-windows-1
<svg class="theme-line-4"><use xlink:href="#multiple-windows-1"></use></svg>
#bookmark-1
<svg class="theme-line-15"><use xlink:href="#bookmark-1"></use></svg>
#images-1
<svg class="theme-line-2"><use xlink:href="#images-1"></use></svg>
#image-1
<svg class="theme-line-2"><use xlink:href="#image-1"></use></svg>
#location-pin-1
<svg class="theme-line-2"><use xlink:href="#location-pin-1"></use></svg>
#destination-map-1
<svg class="theme-line-2"><use xlink:href="#destination-map-1"></use></svg>
#zoom-in-1
<svg class="theme-line-2"><use xlink:href="#zoom-in-1"></use></svg>
#zoom-out-1
<svg class="theme-line-2"><use xlink:href="#zoom-out-1"></use></svg>
#find-1
<svg class="theme-line-0"><use xlink:href="#find-1"></use></svg>
#bin-1
<svg class="theme-line-2"><use xlink:href="#bin-1"></use></svg>
#ballpoint-pen-1
<svg class="theme-line-2"><use xlink:href="#ballpoint-pen-1"></use></svg>
#pen-1
<svg class="theme-line-2"><use xlink:href="#pen-1"></use></svg>
#attachment-1
<svg class="theme-line-0"><use xlink:href="#attachment-1"></use></svg>
#attachment-2
<svg class="theme-line-0"><use xlink:href="#attachment-2"></use></svg>
#key-1
<svg class="theme-line-0"><use xlink:href="#key-1"></use></svg>
#design-1
<svg class="theme-line-15"><use xlink:href="#design-1"></use></svg>
#shopping-basket-1
<svg class="theme-line-15"><use xlink:href="#shopping-basket-1"></use></svg>
#shopping-bag-1
<svg class="theme-line-2"><use xlink:href="#shopping-bag-1"></use></svg>
#british-pound-sign-1
<svg class="theme-line-2"><use xlink:href="#british-pound-sign-1"></use></svg>
#british-pound-badge-1
<svg class="theme-line-2"><use xlink:href="#british-pound-badge-1"></use></svg>
#new-1
<svg class="theme-line-2"><use xlink:href="#new-1"></use></svg>
#store-1
<svg class="theme-line-2"><use xlink:href="#store-1"></use></svg>
#label-tag-1
<svg class="theme-line-2"><use xlink:href="#label-tag-1"></use></svg>
#chart-1
<svg class="theme-line-2"><use xlink:href="#chart-1"></use></svg>
#bike-1
<svg class="theme-line-2"><use xlink:href="#bike-1"></use></svg>
#scooter-1
<svg class="theme-line-2"><use xlink:href="#scooter-1"></use></svg>
#airplane-mode-1
<svg class="theme-line-0"><use xlink:href="#airplane-mode-1"></use></svg>
#road-1
<svg class="theme-line-2"><use xlink:href="#road-1"></use></svg>
#speedometer-1
<svg class="theme-line-2"><use xlink:href="#speedometer-1"></use></svg>
#beach-1
<svg class="theme-line-2"><use xlink:href="#beach-1"></use></svg>
#swimming-pool-1
<svg class="theme-line-2"><use xlink:href="#swimming-pool-1"></use></svg>
#glasses-1
<svg class="theme-line-2"><use xlink:href="#glasses-1"></use></svg>
#backpack-1
<svg class="theme-line-0"><use xlink:href="#backpack-1"></use></svg>
#camping-1
<svg class="theme-line-2"><use xlink:href="#camping-1"></use></svg>
#mountain-1
<svg class="theme-line-2"><use xlink:href="#mountain-1"></use></svg>
#helpline-24h-1
<svg class="theme-line-2"><use xlink:href="#helpline-24h-1"></use></svg>
#text-checked-1
<svg class="theme-line-2"><use xlink:href="#text-checked-1"></use></svg>
#exit-1
<svg class="theme-line-147"><use xlink:href="#exit-1"></use></svg>
#question-help-1
<svg class="theme-line-2"><use xlink:href="#question-help-1"></use></svg>
#shutdown-1
<svg class="theme-line-2"><use xlink:href="#shutdown-1"></use></svg>
#search-1
<svg class="theme-line-2"><use xlink:href="#search-1"></use></svg>
#zoom-1
<svg class="theme-line-2"><use xlink:href="#zoom-1"></use></svg>
#gear-1
<svg class="theme-line-2"><use xlink:href="#gear-1"></use></svg>
#settings-2
<svg class="theme-line-2"><use xlink:href="#settings-2"></use></svg>
#new-window-2
<svg class="theme-line-2"><use xlink:href="#new-window-2"></use></svg>
#css3-1
<svg class="theme-line-2"><use xlink:href="#css3-1"></use></svg>
#keyboard-1
<svg class="theme-line-15"><use xlink:href="#keyboard-1"></use></svg>
#filter-data-1
<svg class="theme-line-0"><use xlink:href="#filter-data-1"></use></svg>
#bookmark-ribbon-1
<svg class="theme-line-2"><use xlink:href="#bookmark-ribbon-1"></use></svg>
#paperback-book-1
<svg class="theme-line-2"><use xlink:href="#paperback-book-1"></use></svg>
#file-storage-1
<svg class="theme-line-2"><use xlink:href="#file-storage-1"></use></svg>
#angle-brackets-1
<svg class="theme-line-2"><use xlink:href="#angle-brackets-1"></use></svg>
#sand-clock-1
<svg class="theme-line-2"><use xlink:href="#sand-clock-1"></use></svg>
#world-map-1
<svg class="theme-line-2"><use xlink:href="#world-map-1"></use></svg>
#view-1
<svg class="theme-line-2"><use xlink:href="#view-1"></use></svg>
#pencil-1
<svg class="theme-line-2"><use xlink:href="#pencil-1"></use></svg>
#scissor-1
<svg class="theme-line-2"><use xlink:href="#scissor-1"></use></svg>
#color-palette-1
<svg class="theme-line-2"><use xlink:href="#color-palette-1"></use></svg>
#screwdriver-1
<svg class="theme-line-2"><use xlink:href="#screwdriver-1"></use></svg>
#us-dollar-1
<svg class="theme-line-35"><use xlink:href="#us-dollar-1"></use></svg>
#discount-1
<svg class="theme-line-2"><use xlink:href="#discount-1"></use></svg>
#bitcoin-1
<svg class="theme-line-2"><use xlink:href="#bitcoin-1"></use></svg>
#hidden-file-1
<svg class="theme-line-2"><use xlink:href="#hidden-file-1"></use></svg>
#code-folder-1
<svg class="theme-line-2"><use xlink:href="#code-folder-1"></use></svg>
#save-file-1
<svg class="theme-line-2"><use xlink:href="#save-file-1"></use></svg>
#save-1
<svg class="theme-line-2"><use xlink:href="#save-1"></use></svg>
#cell-phone-signal-1
<svg class="theme-line-2"><use xlink:href="#cell-phone-signal-1"></use></svg>
#text-message-1
<svg class="theme-line-2"><use xlink:href="#text-message-1"></use></svg>
#speech-bubble-1
<svg class="theme-line-0"><use xlink:href="#speech-bubble-1"></use></svg>
#message-bubble-1
<svg class="theme-line-2"><use xlink:href="#message-bubble-1"></use></svg>
#grid-1
<svg class="theme-line-2"><use xlink:href="#grid-1"></use></svg>
#sales-performance-up-1
<svg class="theme-line-15"><use xlink:href="#sales-performance-up-1"></use></svg>
#add-folder-1
<svg class="theme-line-2"><use xlink:href="#add-folder-1"></use></svg>
#table-content-1
<svg class="theme-line-15"><use xlink:href="#table-content-1"></use></svg>
#star-medal-1
<svg class="theme-line-2"><use xlink:href="#star-medal-1"></use></svg>
#angle-right-1
<svg class="theme-line-0"><use xlink:href="#angle-right-1"></use></svg>
#angle-left-1
<svg class="theme-line-0"><use xlink:href="#angle-left-1"></use></svg>
#angle-down-1
<svg class="theme-line-0"><use xlink:href="#angle-down-1"></use></svg>
#angle-up-1
<svg class="theme-line-0"><use xlink:href="#angle-up-1"></use></svg>
#angle-down-2
<svg class="theme-line-0"><use xlink:href="#angle-down-2"></use></svg>
#star-1
<svg class="theme-line-190"><use xlink:href="#star-1"></use></svg>
#star-2
<svg class="theme-line-190"><use xlink:href="#star-2"></use></svg>
#wireframe-1
<svg class="theme-line-15"><use xlink:href="#wireframe-1"></use></svg>
#item-grid-1
<svg class="theme-line-15"><use xlink:href="#item-grid-1"></use></svg>
#bulleted-list-1
<svg class="theme-line-2"><use xlink:href="#bulleted-list-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.