Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Check below table to use alerts with different types and designs.
Alert Type | Class | Description |
---|---|---|
Default Alert | .alert-{colorName} |
Add .alert-{colorName} along with .alert for any template color from COLOR PALETTE that you like to add
for alert. |
Alert Title | .alert-heading |
Add this class inside of .alert wrapper to create alert with title. |
Dismissible Alerts | .alert-dismissible |
Add .alert-dismissible along with .alert for extra padding to the right of the
alert and positions the .close button. You can use
the
data-dismiss="alert" attribute also. |
Alerts with icons | N/A | Just add icon before your alert text to create a alert with icon. |
Alerts with Border | .border-{colorName} |
Add .border-{colorName} along with .alert for any template color from COLOR PALETTE that you like to add
for alert with border. |
Alerts With Light Background Color | .bg-rgba-{colorName} |
Add .bg-rgba-{colorName} along with .alert for any template color from COLOR PALETTE that you like to add
for alerts with light background color. |
Referrals :
Buttons include support for a handful of contextual variations, sizes, states, and more. Group a series of buttons together on a single line with the button group.
Buttons options | Class | Description |
---|---|---|
Basic button | .btn-{colorName} |
Add .btn-{colorName} along with .btn for any template color from COLOR PALETTE that you like
to use for button. |
Outline button | .btn-outline-{colorName} |
Add .btn-outline-{colorName} along with .btn for desired color border to
button. |
Button with shadow | .shadow |
Add .shadow along with .btn for button with shadow. |
Button with glow | .glow |
Add .glow along with .btn & .btn-{colorName} for button with
glow.
|
Button with light background | .btn-light-{colorName} |
Add .btn-light-{colorName} along with .btn for light colored button
background. |
Button with round | .round |
Add .round along with .btn for round button. |
Button with icon only | .btn-icon |
Add .btn-icon along with .btn for button with icon.Note: you can only use .btn-icon when you want icon without text in your
button.
|
Button group | .btn-group |
Add .btn-group to wrapper of a series of buttons together on a single line with the button
group. |
Button Size | .btn-{lg | sm} |
Add .btn-{lg | sm} along with .btn for fancy larger or smaller button size.
|
Button block | .btn-block |
Add .btn-block along with .btn to create block level buttons—those that span
the full width of a parent. |
Vertical button group | .btn-group-vertical |
Add .btn-group-vertical to wrapper of a series of vertical button group. |
Referrals :
Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS.
HTML snippent:
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#"><i class="bx bx-home"></i></a></li>
<li class="breadcrumb-item"><a href="#">Library</a></li>
<li class="breadcrumb-item active" aria-current="page">Data</li>
</ol>
</nav>
Below have options that you can use with .breadcrumb
:
Note: Add mentioned classes in <ol> element.
Beadcrumb options | Class | Discription |
---|---|---|
Breadcrumb Divider Icon | .breadcrumb-divider |
To add breadcrumb divider icon with active link fill. |
Breadcrumb rounded | .rounded-pill |
To add breadcrumb rounded with shadow. |
A slideshow component for cycling through elements—images or slides of text—like a carousel. In browsers where the Page Visibility API is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).
Nested carousels are not supported.
Below have options that you can use with carousel :
- Carousel with caption
- Interval Options
- Disable on hover Pause
- Crossfade effect, etc..
Referrals :
The Bootstrap collapse plugin allows you to toggle content on your pages with a few classes thanks to some helpful JavaScript.
You can use a link with the href
attribute, or a button with the data-target
attribute.
Collapse Options | Class | Description |
---|---|---|
Collapse Wrapper | .collapsible |
Add mentioned class as wrapper of collapse-headers to get template specific design. |
Collapse Icons | .collapse-icon |
Add mentioned class along with .collapsible to get icons on right side of collpase.
|
Animate Collapse Icons | .accordion-icon-rotate |
Add mentioned class with .collapsible to animation to collapse icons.
|
Collapse hover | .card-hover |
Add mentioned class along with .accordion to open accordion on hover. |
Referrals :
Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They’re made interactive with the included Bootstrap dropdown JavaScript plugin.
Example Code:
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown button
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="javascript:void(0);">Action</a>
<a class="dropdown-item" href="javascript:void(0);">Another action</a>
<a class="dropdown-item" href="javascript:void(0);">Something else here</a>
</div>
</div>
Dropdown Options | Class | Description |
---|---|---|
Dropdown with icon | .dropdown-icon-wrapper |
Add mentioned class in wrapper of the button to get dropdown with icon. |
Dropdown with Emojis | .dropdown-item-emoji |
Use mentioned class in .dropdown-item for font-size and spacing of emojis. |
Referrals :
List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.
The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.
Example Code:
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
Referrals :
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
Example Code:
<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Modal body text goes here.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
Modal options | Class | Description |
---|---|---|
Modal header background color | .bg-* |
Use any template color from COLOR PALETTE that you like to use for modal header background. |
Modal borderless | .modal-borderless |
Add mentioned class along with .modal to create modal without border. |
Referrals :
Documentation and examples for showing pagination to indicate a series of related content exists across multiple pages.
The pagination component should be wrapped in a <nav>
element to identify it as a
navigation
section to screen readers and other assistive technologies. For example, if the pagination component is used
to
navigate between a set of search results, an appropriate label could be
aria-label="Search results pages"
.
Below have options that you can use with pagination :
Pagination options | Class | Description |
---|---|---|
Pagination previous | .previous |
Add .previous along with .page-item for space between indicator and first
page item only. |
Pagination next | .next |
Add .next along with .page-item for space between indicator and last page
item only. |
Pagination without border | .pagination-borderless |
Add .pagination-borderless along with .pagination for borderless
pagination. |
Pagination position | .justify-content-{left | center | right} |
Add .justify-content-{left | center | right} along with .pagination to set
position of pagination. |
Pagination sizes | .pagination{sm | lg} |
Add .pagination{sm | lg} along with .pagination for small or large size
pagination. |
Pagination Colors | pagination-{colorName} |
Use any template color from COLOR PALETTE that you like to use for pagination. |
Referrals :
Roll your own navigation style by extending the base .nav
component. The
base
.nav
component is built with flexbox and provide a strong foundation for building all types of
navigation
components.
Referrals :
Takes the basic nav from above and adds the
.nav-tabs
class to generate a tabbed interface. Use them to create tabbable regions and to extend
navigational tabs.
Below have options that you can use with tabs :
Tabs options | Class | Description |
---|---|---|
Basic Tabs | .nav-tabs |
Add .nav-tabs along with .nav for basic tabs. |
Filled Tabs | .nav-fill |
Add .nav-fill along with .nav-tabs to extend the full available width. |
Justified Tabs | .nav-justified |
Add .nav-justified along with .nav-tabs for equal width elements.
Note: All horizontal space will be occupied by nav links, but unlike the
.nav-fill above,
every nav item will be the same width. |
Positioning Tabs | .justify-content-{ center | end } |
Add class .justify-content-{ center | end } along with .nav-tabs to position
tab in either center or end. |
Referrals :
Navigation available in Bootstrap share general markup and styles, from the base
.nav
class to the active and disabled states. Swap modifier classes to switch between each style.
Below have options that you can use with pills :
Pills options | Class | Description |
---|---|---|
Basic Pills | .nav-pills |
Add .nav-pills along with .nav for basic pills. |
Filled Pills | .nav-fill |
Add .nav-fill along with .nav-pills to extend the full available width. |
Justified Pills | .nav-justified |
Add .nav-justified along with .nav-pills for equal width elements.
Note: All horizontal space will be occupied by nav links, but unlike the
.nav-fill above,
every nav item will be the same width. |
Positioning Pills | .justify-content-{ center | end } |
Add class .justify-content-{ center | end } along with .nav-pills to position
tab in either center or end. |
Vertically Stacked Pills | .flex-column |
Add .flex-column along with .nav-pills to make block element and stack them
vertically. |
Referrals :
Tooltips are an updated version, which don’t rely on images, use CSS3 for animations, and data-attributes for local title storage.
Below have options that you can use with Tooltip :
Tooltip options | Class / Attributes | Description |
---|---|---|
Tooltip Positions | data-placement = { "top" | "bottom" | "right" | "left" } |
Use to position tooltip. Note: Default: top. |
Tooltip Light | .tooltip-light |
Use for light background colored tooltip. |
Tooltip Triggers | data-trigger = { "click" | "hover" | "focus" | "manual" } |
Use to trigger with different corresponding state. Note: Default: hover. |
Referrals :
Add small overlay content, like those found in iOS, to any element for housing secondary information.
Below have options that you can use with Popovers :
Popovers options | Attributes | Description |
---|---|---|
Popovers Positions | data-placement = { "auto" | "top" | "bottom" | "right" | "left" } |
Use to position popovers. Note: Default: right. |
Popovers Triggers | data-trigger = { "click" | "hover" | "focus" | "manual" } |
Use to trigger with different corresponding state. Note: Default: click. |
Referrals :
Small and adaptive badge for adding context to just about any content.
Below have options that you can use with .badge
:
Badges options | Class | Description |
---|---|---|
Badges colored | .badge-{colorName} |
Use any template color from COLOR PALETTE that you like to add for badge. |
Badges light colored | .badge-light-{colorName} |
Use any template color from COLOR PALETTE that you like to add for badge. |
Badge with icon | .badge-icon |
Add mentioned class to make badge with icon. |
Referrals :
Use the .badge-pill
modifier class with .badge
to make
more rounded (with a larger border-radius and additional horizontal padding).
Below have options that you can use with .badge-pill
:
Pill badges options | Class | Description |
---|---|---|
Pill tags with glow | .badge-glow |
To create glow styled pill badge. |
Pill tags as notification | .badge-up |
To set pill badge to higher than other text. So that it can work with notifications also. |
Pill tag with round | .badge-round |
To get pill badge in round shape. |
Custom Badge Options | Class | description |
---|---|---|
Badge with circle | .badge-circle |
To create badge with circle. |
Badge circle with colored background | .badge-circle-{colorName} |
To create circle badges with colored background options. |
Badge circle with light background | .badge-circle-light-{colorName} |
To create circle badges with light colored background options. |
Badge circle size | .badge-circle-{ lg | sm } |
Large or small size of badge circle. |
Referrals :
Stylize the HTML5 <progress>
element.
Below have options that you can use with Progress :
Progress options | Class | Description |
---|---|---|
Basic Progress | .progress |
Basic progress bars using this class. |
Progress Colored | .progress-bar-* |
Use COLOR PALETTE for progress color. |
Progress bar Size | .progress-sm |
For small sized progress bar. |
Referrals :
The media object is an abstract element used as the basis for building more complex and repetitive components.
Referrals :
Indicate the loading state of a component or page with Bootstrap spinners, built entirely with HTML, CSS, and no JavaScript.
Referrals :
Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.
Referrals :