Documentation for the box component and its variants.
The box component is used for variety of reasons. Mainly used to hold content of a specific widget.
- Structure: the box has three main sections. The header, body and footer. Example of usage below.
<div class="box">
<div class="box-header">
<h3 class="box-title">Title</h3><!-- /.box-title -->
</div><!-- /.box-header -->
<div class="box-body">
<!-- main content -->
Box body
</div>
<div class="box-footer">
Box footer
</div>
</div>
-
Variants: AdminLTE provides multiple ways to customize your box's color, look and feel.
For a default box we can add colored border using the
.box-*classes (where * is the name of the style) to the box component. Styles available are:.box-primary.box-success.box-danger.box-warning.box-info
Example of usage:
Title
Box body
Box footer
To get a fully colored header instead of a top border only, add the `.box-solid` class to the box. Example:
```html
Title
Box body
Box footer
Title
Box body
Box footer
- List of bg classes:
bg-light-blueequivalent to primary colorbg-greenequivalent to success colorbg-yellowequivalent to warning colorbg-redequivalent to danger colorbg-aquaequivalent to info color
- Additional bg classes:
bg-purplebg-bluebg-navybg-tealbg-maroonbg-blackbg-graybg-olivebg-limebg-orangebg-fuchsia