Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Start using alerts with no worries!
Check below table to use alerts with different types and designs.
Alert Type | Class | Description |
---|---|---|
Default alert | .alert.alert-* |
Use any template color from COLOR PALETTE that you like to add for alert. |
No border alert | .alert.no-border |
Alerts without border working same but looks different. |
Alert with links | .alert-link |
If you want to give any link to the content of the alert, this class is used. |
Dismissible Alerts | .alert-dismissible |
Adds 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 | .alert-icon-[left/right] |
Adds left/right icons to the alert. |
Alerts with arrow | .alert-arrow-[left/right] |
Adds left/right arrow to the alert. To use with icons, add .alert-icon-[left/right] accordingly. |
Solid alerts | .alert.bg-* |
Add background color from COLOR PALETTE to the .alert container class for solid alerts. |
Round alerts | .alert.round |
Used for rounded bordered alerts. |
Using above options, create some combinations like:
- Alerts with icons & Arrow
- Solid Alerts with icons
- Solid Alerts with icons & arrow
- Round Alerts with Icons
- Round Alerts with Icons & Arrows, etc...
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.btn-* |
Use any template color from COLOR PALETTE that you like to use for button. |
Round button | .btn-round |
For round button. |
Square button | .btn-square |
For square button. |
Button group | .btn-group |
Group a series of buttons together on a single line with the button group. |
Button Size | .btn-[lg/sm] |
For fancy larger or smaller buttons size. |
Button block | .btn-block |
Create block level buttons—those that span the full width of a parent. |
Outline button | .btn-outline-* |
Use any template color from COLOR PALETTE that you like to use for outline button. |
Vertical button group | .btn-group-vertical |
To create vertical button group. |
You can also create button dropdowns and split button using .btn-group
wrapper.
Using above options, create some combinations like:
- Buttons with icon
- Buttons with only icon
- Round Buttons with icon
- Round Buttons with only icon
- Square Buttons with icon
- Square Buttons with only icon
- Outline Buttons with icon
- Outline Buttons with only icon
- Outline Buttons with only icon, etc...
Referrals :
Type | URL |
---|---|
Bootstrap Buttons | https://getbootstrap.com/docs/4.1/components/buttons/ |
Button Groups | https://getbootstrap.com/docs/4.1/components/button-group/ |
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, 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.
In all cases, the data-toggle="collapse"
is required.
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 open">
<a class="btn btn-secondary dropdown-toggle" href="https://example.com" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown link
</a>
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
Dropdown Options | Class | Description |
---|---|---|
Active State | .active |
Dropdown Button's selected/active state. |
Dropdown Sizes | .dropdown-menu-[xl/lg/sm] |
Different dropdown sizes. |
Using above options, create some combinations like:
- Dropdown with icon
- Dropdown with checkbox
- Dropdown with radio
- Dropdown with pills & badges, etc...
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 fade">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<p>One fine body…</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><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
Modal options | Class | Description |
---|---|---|
Background modal color | .bg-* |
Use any template color from COLOR PALETTE that you like to use for modal background. |
Border modal color | .border-* |
Use any template color from COLOR PALETTE that you like to use for modal border color. |
Modal sizes | .modal-[xl/lg/sm/xs] |
Different sizes of modal that can be used for different examples. |
There are so many features that can be used for modals. Like :
- Different heading options
- Different animation to open modal, etc...
You can also create button dropdowns and split button using .btn-group
wrapper.
Referrals :
Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.
Labelling the pagination component
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="previous"
.
Below have options that you can use with pagination :
Pagination options | Class | Description |
---|---|---|
Round Pagination | .pagination-round |
Round Styled Pagination |
Pagination Sizes | .pagination-[lg/sm] |
Large and small pagination styles. |
Pager :
Pager options | Class | Description |
---|---|---|
Basic Pager | .pager |
Use this class for basic pager pagination. |
Round Pager | .pager-round |
Round styled pager. |
Referrals :
Roll your own navigation style by extending the base .nav
component. All Bootstrap’s nav components are built on top of this by specifying additional styles. Includes styles for the disabled state, but not the active state.
Below have options that you can use with navs :
Navs options | Class | Description |
---|---|---|
Border wrapper | .wrap-border |
Wrap with border to nav. |
Square Border | .square-border |
For square navs border. |
Nav divider | .dropdown-divider |
To set divider between sections. |
Nav header | .nav-header |
To set header of the section. |
use more options using above classes :
- Navs with icons
- Navs with pills & badges, etc...
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 |
Simple basic nav tabs |
Top BorderedStyle | .nav-top-border |
Tabs with top border style. |
No hover Background | .no-hover-bg |
To set transparent background on hover of tabs. |
Topline Style | .nav-topline |
Tabs with topline to nav. |
Justified Tabs | .nav-justified |
For justified tabs with equal width. |
Underline Style | .nav-underline |
For underlined tab style. |
Linetriangle Style | .nav-linetriangle |
For underlined and Triangle for active tab style. |
Icon Fall Style | .nav-iconfall |
For icon fall for active tab style. |
Tabs with Only Icon | .nav-only-icon |
For only icons for active tab style. This will increase icon font size. |
Vertical Tabs | .nav-vertical |
For vertical style of the tabs. |
use more options using above classes :
- Tabs with icons
- Justified Tabs with different styles
- Tabs with pills & badges
- Vertical Tabs with icon
- Vertical Tabs with different styles, etc...
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 |
Simple basic nav pills |
Top BorderedStyle | .nav-pills-bordered |
Pills with border style. |
Active Border Pills | .nav-active-bordered-pill |
Active border pill style. |
Toolbar Pills | .nav-pill-toolbar |
Pills with toolbar style. |
Justified Pills | .nav-justified |
For justified pills with equal width. |
Pill Animations | .animated |
Used animate.js , so required this class for each animation you need. |
Stacked Pills | .nav-stacked |
To stack pills vertically. Each .nav-link becomes block-level, allowing for larger hit areas via mouse or tap. |
Icon Fall Style | .nav-iconfall |
For icon fall for active tab style. |
Pills with Only Icon | .nav-only-icon |
For only icons for active tab style. This will increase icon font size. |
Vertical Pills | .nav-vertical |
For vertical style of the pills. |
use more options using above classes :
- Pills with icons
- Justified Pills with different styles
- Pills with pills & badges
- Stacked Pills with icon
- Vertical Pills with different styles, icons, etc...
Referrals :
Tooltips are an updated version, which don’t rely on images, use CSS3 for animations, and data-attributes for local title storage.
Tooltip requires data-toggle="tooltip"
.
To add tooltip text, use data-original-title="Tooltip title"
.
Below have options that you can use with Tooltip :
Tooltip options | Class | Description |
---|---|---|
Tooltip Positions | data-placement |
Default: top. Options are top,right,bottom,left. |
Tooltip Triggers | data-trigger |
By default, tooltip triggers onhover. Trigger options are click, hover, focus & manual . |
Toolbar Animation | data-animation |
Default is true. |
Delay Show/Hide Tooltip | data-delay |
Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type. |
Pill Animations | .animated |
Used animate.js , so required this class for each animation you need. |
Supports HTML | data-html |
If this value is true, you can use html in data-original-title text. |
Referrals :
Add small overlay content, like those found in iOS, to any element for housing secondary information.
Popovers requires data-toggle="popover"
.
To add popover text, use data-content="Popovers text"
.
Below have options that you can use with Popovers :
Popovers options | Class | Description |
---|---|---|
Popovers Positions | data-placement |
Default: top. Options are top,right,bottom,left. |
Popovers Triggers | data-trigger |
By default, popover triggers onhover. Trigger options are click, hover, focus & manual . |
Toolbar Animation | data-animation |
Default is true. |
Delay Show/Hide Popovers | data-delay |
Delay showing and hiding the popover (ms) - does not apply to manual trigger type. |
Pill Animations | .animated |
Used animate.js , so required this class for each animation you need. |
Supports HTML | data-html |
If this value is true, you can use html in data-content text. |
Referrals :
Small and adaptive badge for adding context to just about any content.
Below have options that you can use with Badges :
Badges options | Class | Description |
---|---|---|
Basic Badges | .badge-* |
Use any template color from COLOR PALETTE that you like to add for badge. |
Bordered Badges | .badge-border.border-* |
Tag with border & border color from COLOR PALETTE for badge border. |
Using above options, create some more badges as below:
- Badges with icons
- Only icons badges
- Bordered badges with icons
- Bordered icons badges
- Striped badges with icons
- Striped icons badges
- Badges With Links, Dropdown, etc...
Referrals :
Type | URL |
---|---|
Bootstrap Page | https://v4-alpha.getbootstrap.com/components/badge |
Template Page | https://themeselection.com/demo/chameleon-admin-template/html/ltr/vertical-menu-template/component-badges.html |
Use the .badge-pill
modifier class with .badge
class to make pill badges.
Below have options that you can use with Pill badges :
Pill badges options | Class | Description |
---|---|---|
Basic Pill badges | .badge-* |
Use any template color from COLOR PALETTE that you like to add for pill badge. |
Bordered Pill badges | .badge-border.border-* |
Tag with border & border color from COLOR PALETTE for badge border. |
Pill Tags With Glow | .badge-glow |
To create glow styled pill badge. |
Square Pill badges | .badge-square |
For square style pill badges. |
Pill Tags as Notification | .badge-up |
To set pill badge to higher than other text. So that it can work with notifications also. |
Using above options, create some more badges as below:
- Pill badges with icons
- Only icons pill badges
- Bordered pill badges with icons
- Bordered icons pill badges
- Square pill badges with icons
- Square icons pill badges
- Pill badges With Links, Dropdown, etc...
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. |
Colored Progress | .progress-* |
Use COLOR PALETTE for progress color. |
Striped Progress | .progress-striped.progress-* |
Striped progress using template COLOR PALETTE. |
Progress Sizes | .progress-[xl/lg/sm/xs] |
For Extra Large, Large, Small and Extra Small sized progress. |
Referrals :
The media object is an abstract element used as the basis for building more complex and repetitive components.
Example Code :
<div class="media">
<a class="media-left" href="#">
<img class="media-object" src="..." alt="Generic placeholder image">
</a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
Media Text
</div>
</div>
Below have options that you can use with Media Objects :
Media Objects options | Class | Description |
---|---|---|
Media Object Positions | .media-[left/right] |
For media align to left/right. |
Media Object Vertical Positions | .media-[middle/bottom] |
For vertical media align to middle/bottom. |
Other options using media-ibjects can be like :
- Nested Media List
- Media Object with Notation Text
- Media Object with tags & pills
- Icon as Media Object
- Status Indicator to Media Object
- Notification to Media Object, etc...
Referrals :