Glyphicons Icon Reference
Browse the available Glyphicons icon classes and copy the markup you need. These icons are provided in sprite form in dark gray by default, with white variants available through an additional class.
Quick start: add an <i> element with an icon class prefixed by icon-, such as <i class="icon-search"></i>.
Available icon classes
Use the class name shown beside each icon in your HTML.
How to use Glyphicons
All icons use an <i> tag and a unique class name beginning with icon-.
<i class="icon-search"></i>
Use a white icon
Add icon-white to display the white variation. This is commonly used on active navigation links, dropdown links, and buttons.
<i class="icon-search icon-white"></i>
When an icon appears beside text, leave a space after the closing </i> tag so the icon and label do not run together.
Implementation examples
Icons in a button toolbar
<div class="btn-toolbar">
<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>
</div>
</div>
Icon and text in a button
<a class="btn btn-large" href="#"><i class="icon-star"></i> Star</a>
Icon in navigation
<ul class="nav nav-list">
<li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
<li><a href="#"><i class="icon-book"></i> Library</a></li>
</ul>
Icon before a form field
<div class="input-prepend">
<span class="add-on"><i class="icon-envelope"></i></span>
<input type="text">
</div>
Glyphicons attribution
These icon glyphs are provided by Glyphicons. Glyphicons Halflings are made available through an arrangement between Bootstrap and the Glyphicons creators. When practical, please consider linking back to Glyphicons.