Components
Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
For quoting blocks of content from another source within your document.
Add .testimonial
to any <blockquote>
. To identify the source, add a <footer>
element and wrap the name of the source in <cite>
.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
<blockquote class="testimonial">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<footer><cite>John Doe</cite>, CEO</footer>
</blockquote>
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Use .alert-striped-left
or .alert-striped-right
with any alert message to add a wider darkened left or right border.
Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.
<div class="alert alert-success alert-striped-left" role="alert">...</div>
<div class="alert alert-info alert-striped-left" role="alert">...</div>
<div class="alert alert-warning alert-striped-right" role="alert">...</div>
<div class="alert alert-danger alert-striped-right" role="alert">...</div>
Provide contextual messages for users with the handful of available and flexible callouts.
Wrap any text in .callout
and one of the four contextual classes (e.g., .callout-success
) for basic callout messages.
Callouts don't have default classes, only base and modifier classes, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.
<div class="callout callout-success" role="callout">...</div>
<div class="callout callout-info" role="callout">...</div>
<div class="callout callout-warning" role="callout">...</div>
<div class="callout callout-danger" role="callout">...</div>
Responsive pricing tables that are easy to use.
The .pricing-plan-heading
and .pricing-plan-footer
elements are optional.
By default, mulitple pricing plans are meant to be shown inside a pricing table.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<div class="pricing-plans">
<div class="pricing-plan-heading">
<h1>Lorem Ipsum is simply dummy text</h1>
<p class="text-muted">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div class="row">
<div class="col-md-4 col-sm-4">
<div class="pricing-plan">
<div class="pricing-plan-title">
<span class="glyphicon glyphicon-knight icon"></span>
<h1>Beginner</h1>
</div>
<div class="pricing-plan-price">FREE</div>
<div class="pricing-plan-body">
<ul>
<li><strong>5 GB</strong> upload quota</li>
<li><strong>10 GB</strong> file storage</li>
<li><strong>Up to 2 Mbps</strong> download speed</li>
<li><strong>Professional support</strong></li>
</ul>
<button class="btn btn-primary" type="button">Free Trial</button>
</div>
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="pricing-plan">
<div class="pricing-plan-title">
<span class="glyphicon glyphicon-tower icon"></span>
<h1>Premium</h1>
</div>
<div class="pricing-plan-price">$49 <small>mo</small></div>
<div class="pricing-plan-body">
<ul>
<li><strong>20 GB</strong> upload quota</li>
<li><strong>100 GB</strong> file storage</li>
<li><strong>Exceptional</strong> download speed</li>
<li><strong>Professional support</strong></li>
</ul>
<button class="btn btn-primary" type="button">Free Trial</button>
</div>
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="pricing-plan">
<div class="pricing-plan-title">
<span class="glyphicon glyphicon-music icon"></span>
<h1>Elite</h1>
</div>
<div class="pricing-plan-price">$99 <small>mo</small></div>
<div class="pricing-plan-body">
<ul>
<li><strong>Unlimited</strong> upload quota</li>
<li><strong>Unlimited</strong> file storage</li>
<li><strong>Exceptional</strong> download speed</li>
<li><strong>Priority professional support</strong></li>
</ul>
<button class="btn btn-primary" type="button">Free Trial</button>
</div>
</div>
</div>
</div>
<div class="pricing-plan-footer">
<p class="text-muted">Sed suscipit diam magna, ac rhoncus lorem condimentum id.</p>
</div>
</div>
If you want to present just a single pricing plan, use .pricing-plan-single
for a wider layout.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<div class="pricing-plan-single">
<div class="pricing-plan-heading">
<h1>Lorem Ipsum is simply dummy text</h1>
<p class="text-muted">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div class="pricing-plan-body">
<div class="row">
<div class="col-md-6">
<div class="pricing-plan-price">$49 <small>mo</small></div>
</div>
<div class="col-md-6">
<ul>
<li><strong>Unlimited</strong> upload quota and storage</li>
<li><strong>Exceptional</strong> download speed</li>
<li>Feel safe with our<strong> professional support</strong></li>
<li><strong>50+</strong>built-in templates</li>
<li>Customizable plan with <strong>lower price</strong></li>
</ul>
<button class="btn btn-primary btn-lg" type="button">
<strong>SIGN UP</strong>
<div><small>30-days free trial<br/>
All major credit cards accepted</small></div>
</button>
</div>
</div>
</div>
<div class="pricing-plan-footer">
<p class="text-muted">Sed suscipit diam magna, ac rhoncus lorem condimentum id.</p>
</div>
</div>
Style an inline list to display social network icons.
A social icons list, which displays the icons dimmed and has a hover effect.
<ul class="list-social-icons">
<li><a class="twitter" href="http://www.twitter.com/scottdorman" target="_blank"></a></li>
<li><a class="github" href="http://www.github.com/scottdorman" target="_blank"></a></li>
<li><a class="rss" href="http://www.geekswithblogs.net/sdorman" target="_blank"></a></li>
</ul>
You can always show the icons dimmed by adding .list-social-icons-dim
or in
full color by adding .list-social-icons-bright
. Adding either of these classes
will also disable the hover effect.
<ul class="list-social-icons list-social-icons-bright">
...
</ul>
<ul class="list-social-icons list-social-icons-dim">
...
</ul>
Fancy larger or smaller icons? Add .list-social-icons-sm
, .list-social-icons-lg
, or .list-social-icons-xl
for additional sizes.
<ul class="list-social-icons list-social-icons-sm">
...
</ul>
<ul class="list-social-icons list-social-icons-lg">
...
</ul>
<ul class="list-social-icons list-social-icons-xl">
...
</ul>
Navs available in Bootstrap have shared markup, starting with the base .nav
class, as well as shared states. Swap modifier classes to switch between each style.
Note the .nav-tabs
class requires the .nav
base class.
<ul class="nav nav-tabs nav-tabs-pivot">
<li role="presentation" class="active"><a href="#">Home</a></li>
<li role="presentation"><a href="#">Profile</a></li>
<li role="presentation"><a href="#">Messages</a></li>
</ul>
Easily make tabs equal widths of their parent at screens wider than 768px with .nav-justified
. On smaller screens, the nav links are stacked.
Justified navbar nav links are currently not supported.
<ul class="nav nav-tabs nav-justified nav-tabs-pivot">
...
</ul>
Add dropdown menus with a little extra HTML and the dropdowns JavaScript plugin.
<ul class="nav nav-tabs nav-tabs-pivot">
...
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
Dropdown <span class="caret"></span>
</a>
<ul class="dropdown-menu">
...
</ul>
</li>
...
</ul>
While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.
Content with a large icon above the title.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.
Read moreLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.
<div class="row">
<div class="col-md-4">
<div class="boxed-content">
<span class="icon glyphicon glyphicon-flag"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
<a class="btn btn-primary" href="#">Read more</a>
</div>
</div>
<div class="col-md-4">
<div class="boxed-content">
<span class="icon glyphicon glyphicon-globe"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
<div class="col-md-4">
<div class="boxed-content">
<span class="icon glyphicon glyphicon-cog"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
</div>
Content with a smaller icon that is left aligned and inline with the title.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.
<div class="row">
<div class="col-md-4">
<div class="boxed-content left-aligned">
<span class="icon glyphicon glyphicon-flag text-body-color"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
<div class="col-md-4">
<div class="boxed-content left-aligned">
<span class="icon glyphicon glyphicon-globe text-body-color"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
<div class="col-md-4">
<div class="boxed-content left-aligned">
<span class="icon glyphicon glyphicon-cog text-body-color"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
</div>
Similar to the left aligned content box, but the icon is pulled out on it's own.
<div class="row">
<div class="col-md-6">
<div class="boxed-content left-aligned left-boxed-icon">
<span class="icon glyphicon glyphicon-flag"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
<div class="col-md-6">
<div class="boxed-content left-aligned left-boxed-icon">
<span class="icon glyphicon glyphicon-globe"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
<div class="col-md-6">
<div class="boxed-content left-aligned left-boxed-icon">
<span class="icon glyphicon glyphicon-cog"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
<div class="col-md-6">
<div class="boxed-content left-aligned left-boxed-icon">
<span class="icon glyphicon glyphicon-user"></span>
<h2 class="boxed-content-title">Lorem ipsum</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit diam magna, ac rhoncus lorem condimentum id. Nam sit amet odio sed lorem pulvinar accumsan.</p>
</div>
</div>
</div>
Useful when you want to call attention to a number with an icon above it.
235Lorem ipsum
#1Lorem ipsum
75Lorem ipsum
<div class="row">
<div class="col-sm-4 text-center">
<div class="number-box number-box-vertical">
<span class="icon glyphicon glyphicon-asterisk"></span>
<p>235<span>Lorem ipsum</span></p>
</div>
</div>
<div class="col-sm-4 text-center">
<div class="number-box number-box-vertical">
<span class="icon glyphicon glyphicon-star"></span>
<p>#1<span>Lorem ipsum</span></p>
</div>
</div>
<div class="col-sm-4 text-center">
<div class="number-box number-box-vertical">
<span class="icon glyphicon glyphicon-user"></span>
<p>75<span>Lorem ipsum</span></p>
</div>
</div>
</div>
Large vertical numbers without an icon.
235Lorem ipsum
#1Lorem ipsum
75Lorem ipsum
<div class="row">
<div class="col-sm-4 text-center">
<div class="number-box number-box-vertical number-box-lg">
<p>235<span>Lorem ipsum</span></p>
</div>
</div>
<div class="col-sm-4 text-center">
<div class="number-box number-box-vertical number-box-lg">
<p>#1<span>Lorem ipsum</span></p>
</div>
</div>
<div class="col-sm-4 text-center">
<div class="number-box number-box-vertical number-box-lg">
<p>75<span>Lorem ipsum</span></p>
</div>
</div>
</div>
Similar to the vertical number box, but the icon is pulled out to the left.
235Lorem ipsum
#1Lorem ipsum
75Lorem ipsum
<div class="row">
<div class="col-sm-4 text-center">
<div class="number-box number-box-horizontal">
<span class="icon glyphicon glyphicon-asterisk"></span>
<p>235<span>Lorem ipsum</span></p>
</div>
</div>
<div class="col-sm-4 text-center">
<div class="number-box number-box-horizontal">
<span class="icon glyphicon glyphicon-star"></span>
<p>#1<span>Lorem ipsum</span></p>
</div>
</div>
<div class="col-sm-4 text-center">
<div class="number-box number-box-horizontal">
<span class="icon glyphicon glyphicon-user"></span>
<p>75<span>Lorem ipsum</span></p>
</div>
</div>
</div>
Display a date, stacked vertically.
<div class="date-box clearfix">
<span class="date-box-month">Jun</span><span class="date-box-day">11</span><span class="date-box-year">2015</span>
</div>
Requires Font Awesome
The social icons used are from Font Awesome, which must be installed in order for this component to work properly.