The fa-iconic font designed for
use with Twitter Bootstrap
You asked, Font Awesome delivers with 40 shiny new fa-icons in version 3.0. New fa-icons can be requested on the Font Awesome GitHub project. Or even better, you can contribute your own fa-icons.
It's easy to integrate Font Awesome into Twitter Bootstrap, or even use it on its own.
Use this method to integrate Font Awesome with the default Bootstrap CSS.
The font path is relative from your CSS directory.
<head> of your html, reference the location to your font-awesome.min.css.
<link rel="stylesheet" href="../css/bootstrap.min.css"> <link rel="stylesheet" href="../css/font-awesome.min.css">
Use this method to integrate Font Awesome with Twitter Bootstrap using LESS.
@import "sprites.less"; with @import "font-awesome.less";@FontAwesomePath variable to point to your font directory.
@FontAwesomePath: "../font";
The font path is relative from your compiled CSS directory.
I have never used either, so let me know if the included SCSS or SASS files have issues.
Font Awesome works just as well without Twitter Bootstrap.
Font Awesome supports IE7. If you need it, you have my condolences.
<head> of your html, reference the location to your font-awesome-ie7.min.css.
<link rel="stylesheet" href="../css/bootstrap.min.css"> <link rel="stylesheet" href="../css/font-awesome.min.css"> <!--[if IE 7]> <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css"> <![endif]-->
Many examples re-used from the Twitter Bootstrap documentation.
Place Font Awesome fa-icons just about anywhere with the <i> tag.
<i class="fa-icon-camera-retro"></i> fa-icon-camera-retro
To increase the size of fa-icons relative to its container, use fa-icon-large, fa-icon-2x,
fa-icon-3x, or fa-icon-4x.
Increase the fa-icon size by using the fa-icon-large (33% increase), fa-icon-2x,
fa-icon-3x, or fa-icon-4x classes.
fa-icon-camera-retro
fa-icon-camera-retro
fa-icon-camera-retro
fa-icon-camera-retro
<p><i class="fa-icon-camera-retro fa-icon-large"></i> fa-icon-camera-retro</p> <p><i class="fa-icon-camera-retro fa-icon-2x"></i> fa-icon-camera-retro</p> <p><i class="fa-icon-camera-retro fa-icon-3x"></i> fa-icon-camera-retro</p> <p><i class="fa-icon-camera-retro fa-icon-4x"></i> fa-icon-camera-retro</p>
Use the fa-icon-spin class to get any fa-icon to rotate. Works best with fa-icon-spinner and
fa-icon-refresh.
<i class="fa-icon-spinner fa-icon-spin"></i> Spinner fa-icon when loading content...
CSS3 animations aren't supported in IE7 - IE9.
Use fa-icon-border and pull-right or pull-left for easy pull quotes or
article graphics.
<i class="fa-icon-quote-left fa-icon-4x pull-left fa-icon-muted"></i> Use a few of the new styles together ... lots of new possibilities.
<i class="fa-icon-flag fa-icon-4x pull-left fa-icon-border"></i> Use a few of the new styles together ... lots of new possibilities.
Font Awesome fa-icons work great in buttons. You can even combine them with larger fa-icon styles,
pull-right and pull-left, and fa-icon-spin.
<a class="btn" href="#"> <i class="fa-icon-repeat"></i> Reload</a> <a class="btn btn-success" href="#"> <i class="fa-icon-shopping-cart fa-icon-large"></i> Checkout</a> <a class="btn btn-large btn-primary" href="#"> <i class="fa-icon-comment"></i> Comment</a> <a class="btn btn-small btn-info" href="#"> <i class="fa-icon-info-sign"></i> Info</a> <a class="btn btn-danger" href="#"> <i class="fa-icon-trash fa-icon-large"></i> Delete</a> <a class="btn btn-small" href="#"> <i class="fa-icon-cog"></i> Settings</a> <a class="btn btn-large btn-danger" href="#"> <i class="fa-icon-flag fa-icon-2x pull-left"></i>Font Awesome<br>Version 3.0</a> <a class="btn btn-primary" href="#"> <i class="fa-icon-refresh fa-icon-spin"></i> Synchronizing Content...</a>
<div class="btn-group"> <a class="btn" href="#"><i class="fa-icon-align-left"></i></a> <a class="btn" href="#"><i class="fa-icon-align-center"></i></a> <a class="btn" href="#"><i class="fa-icon-align-right"></i></a> <a class="btn" href="#"><i class="fa-icon-align-justify"></i></a> </div>
<div class="btn-group open">
<a class="btn btn-primary" href="#"><i class="fa-icon-user"></i> User</a>
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="fa-icon-caret-down"></span></a>
<ul class="dropdown-menu">
<li><a href="#"><i class="fa-icon-pencil"></i> Edit</a></li>
<li><a href="#"><i class="fa-icon-trash"></i> Delete</a></li>
<li><a href="#"><i class="fa-icon-ban-circle"></i> Ban</a></li>
<li class="divider"></li>
<li><a href="#"><i class="i"></i> Make admin</a></li>
</ul>
</div>
Easily replace individual bullets.
<ul class="fa-icons"> <li><i class="fa-icon-ok"></i> Lists</li> <li><i class="fa-icon-ok"></i> Buttons</li> <li><i class="fa-icon-ok"></i> Button groups</li> <li><i class="fa-icon-ok"></i> Navigation</li> <li><i class="fa-icon-ok"></i> Prepended form inputs</li> </ul>
Use Font Awesome fa-icons in navigation to provide helpful visual cues.
<ul class="nav nav-list"> <li class="active"><a href="#"><i class="fa-icon-home"></i> Home</a></li> <li><a href="#"><i class="fa-icon-book"></i> Library</a></li> <li><a href="#"><i class="fa-icon-pencil"></i> Applications</a></li> <li><a href="#"><i class="fa-icon-cogs"></i> Settings</a></li> </ul>
<form>
<div class="input-prepend">
<span class="add-on"><i class="fa-icon-envelope"></i></span>
<input class="span2" type="text" placeholder="Email address">
</div>
<div class="input-prepend">
<span class="add-on"><i class="fa-icon-key"></i></span>
<input class="span2" type="password" placeholder="Password">
</div>
</form>
Anything you can do with CSS font styles, you can do with Font Awesome.
Star Ratings (inspired by CSS Tricks)
Want to help make Font Awesome even more awesome? Contribute back to the Font Awesome community by designing new pictograms for the set.
If selected, you'll retain the CC-BY license to your pictogram and get attribution right here on the Font Awesome site.
[Font Awesome] [fa-icon Contribution] fa-icon-name and attach your PDF file. If your
fa-icon makes it into Font Awesome (I'm keeping a very tight reign on quality), I'll ask what contact info you'd
like to use for attribution.
Here's the plan for future updates.
Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome.I'm the lead product designer at Kyruus. I wake up every single day excited about my job. Why? Kyruus is going to change healthcare. No exaggeration.
Kyruus is a well-funded, big data healthcare startup in Boston. We believe that the right data at the right time can help doctors make better decisions. We believe data can save lives.
What I love about Kyruus:Kyruus needs good people. Designers, app developers, big data masters, & interns that get real responsibility. Come work with me.
Interested? Email me.Hopefully you think Font Awesome is awesome. I've put hundreds of hours into the project to give back to the open source community. If you'd like, here are some ways you can tell me thanks for all my hard work.
Contribute fa-icons to make Font Awesome even awesome-er.
Contribute to a shiny new iMac for me to keep making great fa-icons.
Or pick something straight from my wish list. Gift cards are great.