These are primary theme colors. They are used for all the elements including buttons, alerts, background, etc.
Use the contexual class to have background with different shades.
E.g. .bg-{primary|secondary|success|danger|info|warning}
Each color has a translucent shade too. It adds a little transparency.
E.g. .bg-soft-{primary|secondary|success|danger|info|warning}
Even your text can have the contexual color.
E.g. .text-{primary|secondary|success|danger|info|warning}
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Ohh no!Please check the input you have specified
This is a primary alert—check it out!
Toggle the visibility of content across your project with a few classes and our JavaScript plugins.
What is Lorem Ipsum?
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.Why do we use it?
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.Where does it come from?
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Badges scale to match the size of the immediate parent element by
using relative font sizing and em
units.
Example heading New
Badges can be used as part of links or buttons to provide a counter.
Add any of the below mentioned modifier classes to change the appearance of a badge.
Primary Secondary Success Danger Warning Info Orange Light Dark Primary
Use the .rounded-pill
modifier class to make badges more
rounded (with a larger border-radius and additional horizontal padding).
Use the .badge-soft-*
modifier class to make badges soft
Primary
Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS.
Use the button classes on an <a>
,
<button>
, or <input>
element.
In need of a button, but not the hefty background colors they bring? Replace the
default modifier classes with the .btn-outline-*
ones to remove all
background images and colors on any button.
Replace the default modifier classes with the .btn-soft-*
ones to have a softer background color on any button.
Add a class .btn-rounded
with the default modifier classes to have rounded edges.
Fancy larger or smaller buttons? Add .btn-lg
or
.btn-sm
for additional sizes.
Buttons with icon - variations
Bootstrap's cards provide a flexible and extensible content container with multiple variants and options. Check out Bootstrap's Doc for more examples.
Some quick example text to build on the card title and make up the bulk of the card's content.
ButtonCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Button
This is a wider card with supporting text lead-in to additional content.
Last updated 3 mins ago
This is a wider card with supporting text lead-in to additional content.
Last updated 3 mins ago
Card title
This is a wider card with supporting text lead-in to additional content.
Last updated 3 mins ago
A slideshow component for cycling through elements—images or slides of text—like a carousel.
Add captions to your slides easily with the .carousel-caption
element within any .carousel-item
. They can be
easily hidden on smaller viewports, as shown below, with optional
display utilities.
We hide them initially with .d-none
and bring them back on medium-sized devices with .d-md-block
.
Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin.
Dropdown menu position variations
You can put a form or simple text within a dropdown menu or set the different position
Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.
USD
Set heights using classes like .form-control-lg
and
.form-control-sm
.
Custom controls including Checkboxes, Radios, Select, Range, etc.
A modal plugin allows to add dialogs to your site for lightboxes, user notifications, or completely custom content, etc.
Add .modal-dialog-centered
to .modal-dialog
to vertically center the modal.
You can also create a scrollable modal that allows scroll the modal body by adding
.modal-dialog-scrollable
to .modal-dialog
.
A modal can be used to show contexual messages including success, error, warning, information messages, etc.
Bootstrap custom progress bars featuring support for stacked bars, animated backgrounds, and text labels
Add .progress-bar-striped
to any .progress-bar
to apply a stripe via CSS gradient over the progress bar's background color.
Additionally you can add .progress-bar-animated
to make it animated as well.
Set a height value on the .progress
. The inner .progress-bar
will automatically resize accordingly.
Examples for showing pagination to indicate a series of related content exists across multiple pages
You can use icon instead of showing text label for previous and next actions
Just add class modifier .pagination-rounded
to .pagination
in order to have rounded page action link
Indicate the loading state of a component or page with Bootstrap spinners, built entirely with HTML, CSS, and no JavaScript.
Loading...
If you don't fancy a border spinner, switch to the grow spinner. While it doesn't technically spin, it does repeatedly grow!
Loading...
Use the buttons below to show and hide an offcanvas element via JavaScript that toggles the
.show
class on an element with the .offcanvas
class.
Offcanvas
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Add small overlays of content, like those on the iPad, to any element for housing secondary information.
Examples for adding custom Bootstrap tooltips with CSS and JavaScript using CSS3 for animations and data-attributes for local title storage.