Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FontAwesome - An Introduction to Icon Fonts

FontAwesome - An Introduction to Icon Fonts

Introducing icon fonts (mainly FontAwesome). Motivating the icon fonts not only in web but also desktop development.

Awesome Incremented

January 29, 2016
Tweet

More Decks by Awesome Incremented

Other Decks in Programming

Transcript

  1. Why Icon Fonts? Images are great but they... •...add file

    weight & slow to load •...don’t scale well •...are difficult to manipulate → Sometimes the best solution for using images in a responsive design is not to use an image.
  2. What are Icon Fonts? •Icon fonts are just fonts •Instead

    of letters they contain symbols http://vanseodesign.com/web-design/icon-fonts/
  3. Advantages of Icon Fonts •Can have transparent knockouts •Have good

    browser support in general •Can use text based css (still needs better support) ...
  4. Advantages of Icon Fonts •Can be designed on the fly

    (by making changes on :hover, etc.) •Can do everything image icons can do (change opacity, rotate, etc.) •Have smaller file sizes since they contain fewer characters than full typeface
  5. Microsoft “Metro” (2012) •Mostly associated with Windows 8 •MS “redesigned”

    all content & products http://trentwalton.com/2012/10/03/a-new-microsoft-com/
  6. Microsoft “Metro” (2012) •Mostly associated with Windows 8 •MS “redesigned”

    all content & products http://trentwalton.com/2012/10/03/a-new-microsoft-com/
  7. Microsoft “Metro” (2012) •Mostly associated with Windows 8 •MS “redesigned”

    all content & products http://trentwalton.com/2012/10/03/a-new-microsoft-com/
  8. Microsoft “Metro” (2012) •Big part of this was an icon

    font → Segoe UI Symbol http://trentwalton.com/2012/10/03/a-new-microsoft-com/
  9. What’s the Downside? •Need to be rendered monochrome • or

    with css3 gradients •You’re restricted to what’s available • unless you want to create your own •Creating them can be time consuming
  10. What’s the Downside? •Need to be rendered monochrome → Use

    appropriately! These are icons! •You’re restricted to what’s available → What’s available will grow! •Creating them can be time consuming → Just choose from what’s available!
  11. FontAwesome •Originally designed for “Bootstrap” (Twitter) •Most popular •pick a

    random website •odds are it uses http://fontawesome.io (90%)
  12. Summary •Not appropriate for all scenarios •But really awesome when

    they are, e.g. •scale and maintain proportion •easy to manipulate •Not only for the web •awesome-inc/FontAwesome.Sharp (C#) •cathive/fonts-fontawesome (JavaFx)