I use Font Awesome quite a bit in my design work. It’s lightweight, easy to implement, and opens up a lot of styling options. But if you search the forums on Axure there are some discrepant accounts on how to add Font Awesome to your prototype. So in this post I’ll show you 1) how to use Font Awesome in your Axure prototypes, and 2) how to embed Font Awesome into your .rp file for projects that will be uploaded to AxShare.
1) Download the latest version of Font Awesome
If you are unfamiliar with installing fonts, the zip will include various font formats. You can just install the OpenType version and leave the rest alone.
3) Copy Paste from the Font Awesome Cheat Sheet
This is the easiest way to add font awesome icons to your prototype. Just copy from the cheat sheet, and paste into any text element in Axure.
Note: make sure you copy the actual icon and not the icon description. (See image below with the Amazon icon selected.)
4) Change the font family to Font Awesome in Axure.
When you paste in the icon you’ll usually get a small square rather than the icon you pasted. So you need to change the font family over to Font Awesome to actually see the icon in your prototype. (See image below.)
5) Customize the Icon!
This is the funnest part obviously. You can control size, color, shadowing, and with a little cleverness, you can even add gradients.
Note: Change the size of the icons through the font sizing, not the height and width attributes.
This is all well and good for playing with Font Awesome locally, but if you upload your prototype to AxShare and someone else views it they won’t see the icons unless they happen to have Font Awesome installed on their computer. Unlikely.
So it’s good practice to always embed fonts into your prototype. Here’s how you do that for Font Awesome.
1) Copy the latest Font Awesome stylesheet href from the link below.
2) Paste this link into the Web Fonts screen in Axure.
Publish -> Generate HTML Files -> Web Fonts
You don’t have to click Generate. You can just close this screen out, save your project, and you’re all ready to upload to AxShare and show other people your awesome designs.
Edit: Font Awesome has changed how they display the current public styelsheet to reference. It’s actually annoying how they do it now. But here is the most up to date link.