The iconic font designed for use with Twitter Bootstrap
63 shiny new icons added to Font Awesome 2.0.3. Yep. That puts us well over 200.
Twitter Bootstrap 2.0.3 added several new icons, which we have redesigned from scratch and added to Font Awesome 2.0.3
You asked, Font Awesome delivered. Here's a giant new set of icons requested on the Font Awesome GitHub project.
Inspired by the Glyphicon set that comes with Twitter Bootstrap 2.0, Font Awesome is designed from scratch for a full array of web-related actions.
But wait, there's more! Font Awesome also includes this set of ever-expanding extra-awesome pictograms.
Many examples re-used from the Twitter Bootstrap documentation.
It's easy to integrate Font Awesome into Twitter Bootstrap, or even use it on its own.
Use this method if integrating with Twitter Bootstrap using LESS
@import "sprites.less";
with @import "font-awesome.less";
@font-face { font-family: 'FontAwesome'; src: url('../font/fontawesome-webfont.eot'); src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg'); font-weight: normal; font-style: normal; }
Use this method if integrating with Twitter Bootstrap using CSS.
<head>
of your html, reference the location to your font-awesome.css.
<link rel="stylesheet" href="../css/bootstrap.css"> <link rel="stylesheet" href="../css/font-awesome.css">
Font Awesome works just as well without Twitter Bootstrap.
Place Font Awesome icons just about anywhere with the <i>
tag.
<div style="font-size: 24px;"> <i class="icon-camera-retro"></i> icon-camera-retro </div>
Increase the icon size by using the icon-large
class. This increases the size by 33% relative to the font-size of the container.
<div style="font-size: 24px;"> <i class="icon-camera-retro icon-large"></i> icon-camera-retro </div>
Font Awesome icons work great in buttons.
<a class="btn" href="#"> <i class="icon-refresh"></i> Refresh</a> <a class="btn btn-success" href="#"> <i class="icon-shopping-cart icon-large"></i> Checkout</a> <a class="btn btn-large btn-primary" href="#"> <i class="icon-comment"></i> Comment</a> <a class="btn btn-danger" href="#"> <i class="icon-trash icon-large"></i> Delete</a> <a class="btn btn-small" href="#"> <i class="icon-cog"></i> Settings</a> <a class="btn btn-small btn-info" href="#"> <i class="icon-info-sign"></i> More Info</a>
<div class="btn-group"> <a class="btn" href="#"><i class="icon-align-left"></i></a> <a class="btn" href="#"><i class="icon-align-center"></i></a> <a class="btn" href="#"><i class="icon-align-right"></i></a> <a class="btn" href="#"><i class="icon-align-justify"></i></a> </div>
<div class="btn-group"> <a class="btn btn-primary" href="#"><i class="icon-user"></i> User</a> <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="icon-chevron-down"></span></a> <ul class="dropdown-menu"> <li><a href="#"><i class="icon-pencil"></i> Edit</a></li> <li><a href="#"><i class="icon-trash"></i> Delete</a></li> <li><a href="#"><i class="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> <li class="icon-ok">Lists</li> <li class="icon-ok">Buttons</li> <li class="icon-ok">Button groups</li> <li class="icon-ok">Navigation</li> <li class="icon-ok">Prepended form inputs</li> </ul>
Use Font Awesome icons in navigation to provide helpful visual cues.
<ul class="nav nav-list"> <li class="active"><a href="#"><i class="icon-home"></i> Home</a></li> <li><a href="#"><i class="icon-book"></i> Library</a></li> <li><a href="#"><i class="icon-pencil"></i> Applications</a></li> <li><a href="#"><i class="icon-cogs"></i> Settings</a></li> </ul>
<form> <div class="input-prepend"> <span class="add-on"><i class="icon-envelope"></i></span> <input class="span2" type="text" placeholder="Email address"> </div> <div class="input-prepend"> <span class="add-on"><i class="icon-key"></i></span> <input class="span2" type="password" placeholder="Password"> </div> </form>
Anything you can do with CSS font effects, you can do with Font Awesome.
Star Ratings (inspired by CSS Tricks)
Here's the plan for future updates.