Alert
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 Options | Class | Description |
---|---|---|
Default Alert | .alert-{colorName} |
Add this class along with
.alert class using 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 this class along with
.alert class for extra
padding to the right of the alert. Add
button.class[data-dismiss="alert"]
inside the wrapper
.alert-dismissible and it
positions itself properly on the right
side of the alert.
|
Alerts with icons |
.alert-icon-{left | right}
|
Add this class inside of
.alert wrapper and then add
icon and text inside
.alert-icon-{left | right} .
|
Alerts With Light Background Color |
.bg-light-{colorName}
|
Add this class along with
.alert class for light
background colored alerts.
|
Referrals:
Type | URL |
---|---|
Bootstrap Link | https://getbootstrap.com/docs/4.4/components/alerts/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-alerts.html |
Badges
Small and adaptive badge for adding context to just about any content.
Below are the options that you can use with badges:
Badges options | Class | Description |
---|---|---|
Colored Badges | .badge-{colorName} |
Add this class along with
.badge class using any
template color from
Color Palette
that you like to add for badge.
|
Light Colored Badges |
.bg-light-{colorName}
|
Add this class along with
.badge class for light
background colored badge.
|
Pill Badges | .badge-pill |
Add this class along with
.badge class to make badges
more rounded. You can have different
colored pill badges using
.badge-{colorName} .
|
Light Colored Pill Badges |
.badge-pill.bg-light{colorName}
|
Add this class along with
.badge class for light
colored pill badges.
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/badge |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-badges.html |
Dropdown
Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They’re made interactive with the included Bootstrap dropdown JavaScript plugin.
HTML Markup:
<div class="dropdown">
<button type="button" class="btn btn-primary dropdown-toggle" 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="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Other</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
Below are the options that you can use with dropdowns:
Dropdown Options | Class | Description |
---|---|---|
Dropdown Direction |
.dropdown | .dropup | .dropleft |
.dropright
|
Trigger dropdown menus at down | up | left | right of the elements by adding one of these classes to the parent element. |
Dropdown with Offset | [data-offset="x,y"] |
Use this data along with
.dropdown-toggle to open
the dropdown menu with a gap of (x, y).
[Here, x and y are in px and default
value is 0]
|
Dropdown with Reference |
[data-reference="parent"]
|
Use this data along with
.dropdown-toggle to open
the dropdown menu with the reference to
its parent element. [Here, the default
value of data-reference is toggle]
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/dropdowns/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-dropdowns.html |
Media Objects
The media object is an abstract element used as the basis for building more complex and repetitive components.
HTML Markup:
<div class="media">
<img src="..." alt="Generic placeholder image">
<div class="media-body">
<h5>Media Title</h5>
<p>Media text</p>
</div>
</div>
Below are the options that you can use with media objects:
Media Object Options | Class | Description |
---|---|---|
Bordered Media Object | .media-bordered |
Use this class as a wrapper class of all
.media classes for bordered
media object.
|
Nested Media Object | N/A |
With a bit of extra markup, you can use
media inside media (useful for comment
threads or articles lists). Place nested
.media within the
.media-body of a parent
media object.
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/media-object/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-media-objects.html |
Pagination
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>
tag 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"
.
HTML Markup:
<nav aria-label="Page navigation">
<ul class="pagination">
<li class="page-item"><a class="page-link" href="javascript:;" aria-label="Previous">Prev</a></li>
<li class="page-item"><a class="page-link" href="javascript:;">1</a></li>
<li class="page-item active"><a class="page-link" href="javascript:;">2</a></li>
<li class="page-item"><a class="page-link" href="javascript:;">3</a></li>
<li class="page-item"><a class="page-link" href="javascript:;" aria-label="Next">Next</a></li>
</ul>
</nav>
Below are the options that you can use with pagination:
Pagination Options | Class | Description |
---|---|---|
Previous |
[aria-label="Previous"]
|
Add this data along with
.page-link for first page
item only.
|
Next | [aria-label="Next"] |
Add this data along with
.page-link for last page
item only.
|
Pagination position |
.justify-content-{left | center |
right}
|
Add this class along with
.pagination class to set
positions of pagination.
|
Pagination sizes |
.pagination-{sm | lg}
|
Add this class along with
.pagination class for small
or large sized pagination.
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/pagination/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-pagination.html |
Progress Bars
Stylize the html5
<progress>
element.
Below are the options that you can use with progress bars:
Progress Bar options | Class | Description |
---|---|---|
Basic Progress |
.progress .progress-bar
|
Use this class and also add
[role="progressbar" aria-valuenow="x"
aria-valuemin="x" aria-valuemax="100"
style="width:x%"]
with .progress-bar class.
[Here, x can take values between 0 and
100]
|
Progress Colored | .bg-{colorName} |
Use this class along with
.progress-bar class using
any template color from
Color Palette
that you like to use for a progress-bar.
|
Progress bar Size | [style="height:apx"] |
Use this data with
.progress to change
height/size of a progress bar. [Here,
height of the progress bar is 'a']
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/progress |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-progress.html |
Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
HTML Markup:
<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Modal title</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">x</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>
Below are the options that you can use with modals:
Modal options | Class | Description |
---|---|---|
Modal header background color | .bg-{colorName} |
Use this class along with
.modal-header class using
any template color from
Color Palette
that you like to use for a modal header.
|
Modal Size |
.modal-{sm | lg | xl}
|
Add this class along with
.modal-dialog to create
different sized modal.
|
Referrals:
Type | URL |
---|---|
Bootstrap Modal | https://getbootstrap.com/docs/4.4/components/modal/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-modals.html |
Collapse
The Bootstrap collapse 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 both
cases, the data-toggle="collapse" is required.
Below are the options that you can use with collapse:
Collapse Options | Class | Description |
---|---|---|
Collapse Icons | .collapse-icon |
Add this class along with
.card class to get icons on
right side of collpase. To add icon on
left side of collapse, add
.left with this class.
|
Animate Collapse Icons |
.accordion-icon-rotate
|
Add this class with
.card class to animate the
collapsible icons.
|
Accordion |
#accordionExample.accordion
|
Add this class inside
.card class. Use
data-parent="#accordionExample"
to toggle the collapse and make the
collapse as an accordion.
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/collapse/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-collapse.html |
List Group
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.
HTML Markup:
<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:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/list-group/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-lists.html |
Carousel
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.).
Below are the options that you can use with carousel:
- Carousel with Caption
- Interval Options
- Disable/Pause on Hover
- Wrap Option
- Crossfade Effect, etc.
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/carousel/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-carousel.html |
Popovers
Add small overlay content, like those found in iOS, to any element for housing secondary information.
Below are the options that you can use with popovers:
Popovers Options | Attributes | Description |
---|---|---|
Popovers Positions |
data-placement = "{auto | top |
bottom | right | left}"
|
Use this data to position popovers. Note: Default position: right. |
Popovers Triggers |
data-trigger = "{click | hover |
focus | manual}"
|
Use this data to trigger with different corresponding state. Note: Default trigger event: click. |
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/popovers/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-popover.html |
Tabs
Takes the basic nav and adds
.nav-tabs
class to generate a
tabbed interface. Use them to create tabbable
regions and to extend navigational tabs.
Below are the options that you can use with tabs:
Tabs options | Class | Description |
---|---|---|
Basic Tabs | .nav-tabs |
Add .nav-tabs along with
.nav for basic tabs.
|
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
and every nav item will be of same
width.
|
Vertical Tabs | .nav-vertical |
Use this class as a wrapper of
.nav.nav-tabs.nav-{left |
right} .
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/navs/#tabs |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-tabs.html |
Tooltips
Tooltips are an updated version, which don’t rely on images, use CSS3 for animations, and data-attributes for local title storage.
Below are the options that you can use with tooltip:
Tooltip Options | Attributes | Description |
---|---|---|
Tooltip Positions |
data-placement = "{top | bottom |
right | left}"
|
Use this data to position tooltips. Note: Default position: top. |
Tooltip Triggers |
data-trigger = "{click | hover |
focus | manual}"
|
Use this data to trigger with different corresponding state. Note: Default trigger event: hover. |
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/tooltips/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-tooltip.html |
Spinners
Indicate the loading state of a component or page with Bootstrap spinners, built entirely with html, CSS, and no JavaScript.
Below are the options that you can use with spinners:
Spinner Options | Classes / Attributes | Description |
---|---|---|
Border Spinner | .spinner-border |
Use this class for border spinner. |
Colored Border Spinner |
.spinner-border.{colorName}
|
Use this class for different colored border spinner. |
Border Spinner Sizes |
.spinner-border-{sm | lg}
|
Use this class along with
.spinner-border for
different sized border spinner.
|
Growing Spinner | .spinner-grow |
Use this class for growing spinner. |
Colored Growing Spinner |
.spinner-grow.{colorName}
|
Use this class for different colored growing spinner. |
Growing Spinner Sizes |
.spinner-grow-{sm | lg}
|
Use this class along with
.spinner-grow for different
sized growing spinner.
|
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/spinners/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-spinner.html |
Toasts
Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.
Referrals:
Type | URL |
---|---|
Bootstrap Page | https://getbootstrap.com/docs/4.4/components/toasts/ |
Template Page | https://demos.pixinvent.com/apex-html-admin-template/demo-1/components-toast.html |