SlideShare a Scribd company logo
SVG
UX Designer: JAVON
1
2
Scalable Vector Graphics
XML-based vector image format for two-
dimensional graphics with support for
interactivity and animation. The SVG
specification is an open standard developed
by the World Wide Web Consortium (W3C)
since 1999.
” …Baby One More Time” — Britney Spears
Why SVG?
Browsers: IE 9+, Firefox 4+, Chrome 4+,
Safari 4+, and Opera4+
Scale: Fits any size on a web page
XML Format: Shapes not dots
File Size: Saved as small as possible
3
4
VSSVG FONT ICON
SVG by Javon Bell
5
Vectors? Winner: SVG
SVG icons are 100% vector. Font icons
are considered text and the browser
treats it as such. This means your font
icons will not be as sharp as you may
expect them to be.
CSS? Winner: SVG
The options are unlimited as you have
the ability to control multiple parts of
the SVG. Font icons are limited to the
font CSS, nothing more.
Browser Fails? Winner: SVG
If the SVG is part of the HTML, it will
display. No worries about call backs to
the server because its already part of
the HTML. Not every browser
supports @fontface, and blocking
applications may prevent your font
from showing.
Accessibility? Winner: SVG
SVG has many attributes within the
file (ex. <title><desc>) to help you
better define your graphic. Font icons
use pseudo and span elements to
display the font. Additional labor is
needed for any screen reader to know
it is an icon.
6
Winner: SVG
Bottom line, SVGs are viewable on almost
every browser (except for IE 8 and below if
you want to get technical).
7
Designing SVGs
Adobe Illustrator (Mac & PC)
Sketch (Mac Only)
Inkscape (Mac & PC)
8
SVG Setup
(Sketch Example)
1) Select the vector.
2) Change the name of the layer as this
will become your id or class name for
browser customization.
3) Export as SVG.
9
SVG Development
HTML: Paste this file into the document
and make needed edits. Delete
commented out data and make any
needed changes to the class or id.
CSS: Use the SVG id or class name to
call the specific part to style.
10
SVG Examples (Reusser Design)
www.wpartners.org (Developed by Nick Johnson)
www.neindiana.com (Developed by Javon Bell)
www.iotron.com
www.polarleasing.com
11
World Partners
World Partners wanted a way to show all of
their ministries around the world. Nick Johnson
(@thebrawnyman) used an existing SVG of the
world and customized each country with its
own class name based on the country, ministry
type (missionaries, national partners, national
churches, and projects). He also added
javascript click function to display each
ministry type for the user to view.
[ View Live SVG ]
12
Northeast Indiana Regional
Partnership
NEIRP wanted to display their counties as a
clickable graphic. Javon Bell (@javonbell) took
the graphic and converted it to a SVG in Sketch
to organize each county by class names. Link
tags were added to each county along with the
URL path.
[ View Live SVG ]
13
Clickable SVG
In Safari, you have to modify the link in
the SVG in order to make the click
function work. You will need to add
xlink: right before the href in the link tag.
Example: <a xlink:href="/northeast-
indiana/member-county-profiles/
steuben-county">
“I’m afraid I just blue myself”- Tobias Fünke
14
Future of SVG
(Personal Opinion)
1) UI (user interface) designers and
front-end developers will be work closer
on projects.
2) Online ads will utilize SVG for
advertisements flexibility.
3) PNG graphic images will see a major
decrease in usage.
4) Larger increase in SVG animated
graphics over the use of video.
15
Resources
1) Flat Icon (SVG Library)
2) CSS Tricks
3) Tympanus
4) David Walsh
5) Dribble
16
Conclusion
If you are using a graphic on your web
development project, use SVGs. For everything
else, there’s MasterCard.
Fin
UX Designer: JAVON
www.reusserdesign.com

More Related Content

Similar to What is an SVG and How Should it be Used in Web Design?

touch
touchtouch
Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3
Pascal Rettig
 
Make your own Print & Play card game using SVG and JavaScript
Make your own Print & Play card game using SVG and JavaScriptMake your own Print & Play card game using SVG and JavaScript
Make your own Print & Play card game using SVG and JavaScript
Kevin Hakanson
 
Rich Media Advertising with SVG and JavaScript
Rich Media Advertising with SVG and JavaScriptRich Media Advertising with SVG and JavaScript
Rich Media Advertising with SVG and JavaScript
Gjokica Zafirovski
 
Hooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact ConferenceHooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact Conference
jameswillweb
 
Html5 Canvas Detail
Html5 Canvas DetailHtml5 Canvas Detail
Html5 Canvas Detail
Nisa Soomro
 
SVG - Scalable Vector Graphic
SVG - Scalable Vector GraphicSVG - Scalable Vector Graphic
SVG - Scalable Vector Graphic
Akila Iroshan
 
Before Going Vector
Before Going VectorBefore Going Vector
Before Going Vector
david deraedt
 
SVG 101
SVG 101SVG 101
SVG 101
Sang-Min Yoon
 
Visio services in sharepoint 2013
Visio services in sharepoint 2013Visio services in sharepoint 2013
Visio services in sharepoint 2013
BIWUG
 
Svghtml5 Meetup
Svghtml5 MeetupSvghtml5 Meetup
Svghtml5 Meetup
Oswald Campesato
 
Building Axure Icon Widget Libraries Using Web Fonts
Building Axure Icon Widget Libraries Using Web FontsBuilding Axure Icon Widget Libraries Using Web Fonts
Building Axure Icon Widget Libraries Using Web Fonts
Svetlin Denkov
 
Learn svg
Learn svgLearn svg
Learn svg
FitBlar Mit
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
Vitaly Friedman
 
Canvas Based Presentation tool - First Review
Canvas Based Presentation tool - First ReviewCanvas Based Presentation tool - First Review
Canvas Based Presentation tool - First Review
Arvind Krishnaa
 
SVG Icons and Screen Reader Accessibility
SVG Icons and Screen Reader AccessibilitySVG Icons and Screen Reader Accessibility
SVG Icons and Screen Reader Accessibility
Dennis Lembree
 
Serious Animation (an introduction to Web Animations)
Serious Animation (an introduction to Web Animations)Serious Animation (an introduction to Web Animations)
Serious Animation (an introduction to Web Animations)
brianskold
 
Scalable vector graphics(svg)
Scalable vector graphics(svg)Scalable vector graphics(svg)
Scalable vector graphics(svg)
Pradip Mudi
 
SVG and the web
SVG and the webSVG and the web
SVG and the web
Ken Shoufer Web Design
 
S&T Ess Vee Gee 211016
S&T Ess Vee Gee 211016S&T Ess Vee Gee 211016
S&T Ess Vee Gee 211016
Dan Dineen
 

Similar to What is an SVG and How Should it be Used in Web Design? (20)

touch
touchtouch
touch
 
Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3
 
Make your own Print & Play card game using SVG and JavaScript
Make your own Print & Play card game using SVG and JavaScriptMake your own Print & Play card game using SVG and JavaScript
Make your own Print & Play card game using SVG and JavaScript
 
Rich Media Advertising with SVG and JavaScript
Rich Media Advertising with SVG and JavaScriptRich Media Advertising with SVG and JavaScript
Rich Media Advertising with SVG and JavaScript
 
Hooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact ConferenceHooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact Conference
 
Html5 Canvas Detail
Html5 Canvas DetailHtml5 Canvas Detail
Html5 Canvas Detail
 
SVG - Scalable Vector Graphic
SVG - Scalable Vector GraphicSVG - Scalable Vector Graphic
SVG - Scalable Vector Graphic
 
Before Going Vector
Before Going VectorBefore Going Vector
Before Going Vector
 
SVG 101
SVG 101SVG 101
SVG 101
 
Visio services in sharepoint 2013
Visio services in sharepoint 2013Visio services in sharepoint 2013
Visio services in sharepoint 2013
 
Svghtml5 Meetup
Svghtml5 MeetupSvghtml5 Meetup
Svghtml5 Meetup
 
Building Axure Icon Widget Libraries Using Web Fonts
Building Axure Icon Widget Libraries Using Web FontsBuilding Axure Icon Widget Libraries Using Web Fonts
Building Axure Icon Widget Libraries Using Web Fonts
 
Learn svg
Learn svgLearn svg
Learn svg
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
Canvas Based Presentation tool - First Review
Canvas Based Presentation tool - First ReviewCanvas Based Presentation tool - First Review
Canvas Based Presentation tool - First Review
 
SVG Icons and Screen Reader Accessibility
SVG Icons and Screen Reader AccessibilitySVG Icons and Screen Reader Accessibility
SVG Icons and Screen Reader Accessibility
 
Serious Animation (an introduction to Web Animations)
Serious Animation (an introduction to Web Animations)Serious Animation (an introduction to Web Animations)
Serious Animation (an introduction to Web Animations)
 
Scalable vector graphics(svg)
Scalable vector graphics(svg)Scalable vector graphics(svg)
Scalable vector graphics(svg)
 
SVG and the web
SVG and the webSVG and the web
SVG and the web
 
S&T Ess Vee Gee 211016
S&T Ess Vee Gee 211016S&T Ess Vee Gee 211016
S&T Ess Vee Gee 211016
 

Recently uploaded

International Upcycling Research Network advisory board meeting 4
International Upcycling Research Network advisory board meeting 4International Upcycling Research Network advisory board meeting 4
International Upcycling Research Network advisory board meeting 4
Kyungeun Sung
 
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdfSECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
eloprejohn333
 
Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1
Decomart Studio
 
NHR Engineers Portfolio 2023 2024 NISHANT RATHI
NHR Engineers Portfolio 2023 2024 NISHANT RATHINHR Engineers Portfolio 2023 2024 NISHANT RATHI
NHR Engineers Portfolio 2023 2024 NISHANT RATHI
NishantRathi18
 
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANEEASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
Febless Hernane
 
Practical eLearning Makeovers for Everyone
Practical eLearning Makeovers for EveryonePractical eLearning Makeovers for Everyone
Practical eLearning Makeovers for Everyone
Bianca Woods
 
Virtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburghVirtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburgh
millarj46
 
ARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdfARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdf
Knight Moves
 
Technoblade The Legacy of a Minecraft Legend.
Technoblade The Legacy of a Minecraft Legend.Technoblade The Legacy of a Minecraft Legend.
Technoblade The Legacy of a Minecraft Legend.
Techno Merch
 
CocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdfCocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdf
PabloMartelLpez
 
PDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in NoidaPDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in Noida
PoojaSaini954651
 
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economicoZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
jhonguerrerobarturen
 
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
kecekev
 
Graphic Design Tools and Software .pptx
Graphic Design Tools and Software   .pptxGraphic Design Tools and Software   .pptx
Graphic Design Tools and Software .pptx
Virtual Real Design
 
Timeless Principles of Good Design
Timeless Principles of Good DesignTimeless Principles of Good Design
Timeless Principles of Good Design
Carolina de Bartolo
 
AHMED TALAAT ARCHITECTURE PORTFOLIO .pdf
AHMED TALAAT ARCHITECTURE PORTFOLIO .pdfAHMED TALAAT ARCHITECTURE PORTFOLIO .pdf
AHMED TALAAT ARCHITECTURE PORTFOLIO .pdf
talaatahm
 
Game Concept Presentation for Ukrainian Mythology Based Game With Designs
Game Concept Presentation for Ukrainian Mythology Based Game With DesignsGame Concept Presentation for Ukrainian Mythology Based Game With Designs
Game Concept Presentation for Ukrainian Mythology Based Game With Designs
184804
 
Heuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdfHeuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdf
Jaime Brown
 
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
pmgdscunsri
 
Divertidamente SLIDE.pptxufururururuhrurid8dj
Divertidamente SLIDE.pptxufururururuhrurid8djDivertidamente SLIDE.pptxufururururuhrurid8dj
Divertidamente SLIDE.pptxufururururuhrurid8dj
lunaemel03
 

Recently uploaded (20)

International Upcycling Research Network advisory board meeting 4
International Upcycling Research Network advisory board meeting 4International Upcycling Research Network advisory board meeting 4
International Upcycling Research Network advisory board meeting 4
 
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdfSECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
 
Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1Top Interior Designers in Bangalore.pdf1
Top Interior Designers in Bangalore.pdf1
 
NHR Engineers Portfolio 2023 2024 NISHANT RATHI
NHR Engineers Portfolio 2023 2024 NISHANT RATHINHR Engineers Portfolio 2023 2024 NISHANT RATHI
NHR Engineers Portfolio 2023 2024 NISHANT RATHI
 
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANEEASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANE
 
Practical eLearning Makeovers for Everyone
Practical eLearning Makeovers for EveryonePractical eLearning Makeovers for Everyone
Practical eLearning Makeovers for Everyone
 
Virtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburghVirtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburgh
 
ARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdfARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdf
 
Technoblade The Legacy of a Minecraft Legend.
Technoblade The Legacy of a Minecraft Legend.Technoblade The Legacy of a Minecraft Legend.
Technoblade The Legacy of a Minecraft Legend.
 
CocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdfCocaCola_Brand_equity_package_2012__.pdf
CocaCola_Brand_equity_package_2012__.pdf
 
PDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in NoidaPDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in Noida
 
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economicoZAPATILLAS 2 X 110 ABRIL.pdf compra economico
ZAPATILLAS 2 X 110 ABRIL.pdf compra economico
 
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
一比一原版(UW毕业证)西雅图华盛顿大学毕业证如何办理
 
Graphic Design Tools and Software .pptx
Graphic Design Tools and Software   .pptxGraphic Design Tools and Software   .pptx
Graphic Design Tools and Software .pptx
 
Timeless Principles of Good Design
Timeless Principles of Good DesignTimeless Principles of Good Design
Timeless Principles of Good Design
 
AHMED TALAAT ARCHITECTURE PORTFOLIO .pdf
AHMED TALAAT ARCHITECTURE PORTFOLIO .pdfAHMED TALAAT ARCHITECTURE PORTFOLIO .pdf
AHMED TALAAT ARCHITECTURE PORTFOLIO .pdf
 
Game Concept Presentation for Ukrainian Mythology Based Game With Designs
Game Concept Presentation for Ukrainian Mythology Based Game With DesignsGame Concept Presentation for Ukrainian Mythology Based Game With Designs
Game Concept Presentation for Ukrainian Mythology Based Game With Designs
 
Heuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdfHeuristics Evaluation - How to Guide.pdf
Heuristics Evaluation - How to Guide.pdf
 
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
 
Divertidamente SLIDE.pptxufururururuhrurid8dj
Divertidamente SLIDE.pptxufururururuhrurid8djDivertidamente SLIDE.pptxufururururuhrurid8dj
Divertidamente SLIDE.pptxufururururuhrurid8dj
 

What is an SVG and How Should it be Used in Web Design?

  • 2. 2 Scalable Vector Graphics XML-based vector image format for two- dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. ” …Baby One More Time” — Britney Spears
  • 3. Why SVG? Browsers: IE 9+, Firefox 4+, Chrome 4+, Safari 4+, and Opera4+ Scale: Fits any size on a web page XML Format: Shapes not dots File Size: Saved as small as possible 3
  • 4. 4 VSSVG FONT ICON SVG by Javon Bell
  • 5. 5 Vectors? Winner: SVG SVG icons are 100% vector. Font icons are considered text and the browser treats it as such. This means your font icons will not be as sharp as you may expect them to be. CSS? Winner: SVG The options are unlimited as you have the ability to control multiple parts of the SVG. Font icons are limited to the font CSS, nothing more. Browser Fails? Winner: SVG If the SVG is part of the HTML, it will display. No worries about call backs to the server because its already part of the HTML. Not every browser supports @fontface, and blocking applications may prevent your font from showing. Accessibility? Winner: SVG SVG has many attributes within the file (ex. <title><desc>) to help you better define your graphic. Font icons use pseudo and span elements to display the font. Additional labor is needed for any screen reader to know it is an icon.
  • 6. 6 Winner: SVG Bottom line, SVGs are viewable on almost every browser (except for IE 8 and below if you want to get technical).
  • 7. 7 Designing SVGs Adobe Illustrator (Mac & PC) Sketch (Mac Only) Inkscape (Mac & PC)
  • 8. 8 SVG Setup (Sketch Example) 1) Select the vector. 2) Change the name of the layer as this will become your id or class name for browser customization. 3) Export as SVG.
  • 9. 9 SVG Development HTML: Paste this file into the document and make needed edits. Delete commented out data and make any needed changes to the class or id. CSS: Use the SVG id or class name to call the specific part to style.
  • 10. 10 SVG Examples (Reusser Design) www.wpartners.org (Developed by Nick Johnson) www.neindiana.com (Developed by Javon Bell) www.iotron.com www.polarleasing.com
  • 11. 11 World Partners World Partners wanted a way to show all of their ministries around the world. Nick Johnson (@thebrawnyman) used an existing SVG of the world and customized each country with its own class name based on the country, ministry type (missionaries, national partners, national churches, and projects). He also added javascript click function to display each ministry type for the user to view. [ View Live SVG ]
  • 12. 12 Northeast Indiana Regional Partnership NEIRP wanted to display their counties as a clickable graphic. Javon Bell (@javonbell) took the graphic and converted it to a SVG in Sketch to organize each county by class names. Link tags were added to each county along with the URL path. [ View Live SVG ]
  • 13. 13 Clickable SVG In Safari, you have to modify the link in the SVG in order to make the click function work. You will need to add xlink: right before the href in the link tag. Example: <a xlink:href="/northeast- indiana/member-county-profiles/ steuben-county"> “I’m afraid I just blue myself”- Tobias Fünke
  • 14. 14 Future of SVG (Personal Opinion) 1) UI (user interface) designers and front-end developers will be work closer on projects. 2) Online ads will utilize SVG for advertisements flexibility. 3) PNG graphic images will see a major decrease in usage. 4) Larger increase in SVG animated graphics over the use of video.
  • 15. 15 Resources 1) Flat Icon (SVG Library) 2) CSS Tricks 3) Tympanus 4) David Walsh 5) Dribble
  • 16. 16 Conclusion If you are using a graphic on your web development project, use SVGs. For everything else, there’s MasterCard.