Sometimes you need to put your DOM in a box. For those situations, try the panel component.
Panel with heading
Easily add a heading container to your panel with .panel-heading
. You may also include any h1
- h6
with a .panel-title
class to add a pre-styled heading.
Heads up! This alert needs your attention, but it's not super important.
Panel with footer
Wrap buttons or secondary text in .panel-footer
. Note that panel footers do not inherit colors and borders when using contextual variations as they are not meant to be in the foreground.
With form inline
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ex, laudantium, explicabo, dicta, ullam odit voluptate voluptatem deserunt numquam animi sunt facilis voluptatum obcaecati quis recusandae non praesentium iure ut amet.
Label
7
Panel1
Auto hide nice scroll, Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod, asperiores, accusamus, explicabo, pariatur at voluptate error voluptas quaerat reiciendis excepturi quasi quae quia provident. Tenetur est impedit sit labore molestiae.
Enim, dicta, eos, numquam rem reiciendis ab necessitatibus vel tenetur voluptas porro praesentium perspiciatis voluptatibus beatae totam ducimus dolorem nulla explicabo? Distinctio.
Panel2
Always show, Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod, asperiores, accusamus, explicabo, pariatur at voluptate error voluptas quaerat reiciendis excepturi quasi quae quia provident. Tenetur est impedit sit labore molestiae.
Enim, dicta, eos, numquam rem reiciendis ab necessitatibus vel tenetur voluptas porro praesentium perspiciatis voluptatibus beatae totam ducimus dolorem nulla explicabo? Distinctio.
No Rail, Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod, asperiores, accusamus, explicabo, pariatur at voluptate error voluptas quaerat reiciendis excepturi quasi quae quia provident. Tenetur est impedit sit labore molestiae.
Enim, dicta, eos, numquam rem reiciendis ab necessitatibus vel tenetur voluptas porro praesentium perspiciatis voluptatibus beatae totam ducimus dolorem nulla explicabo? Distinctio.
Contextual alternatives
Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.
With Tabs
With tables
Add any non-bordered .table
within a panel for a seamless design. If there is a .panel-body
, we add an extra border to the top of the table for separation.
Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
With list groups
Easily include full-width list groups within any panel.
Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.
- Cras justo odio
- Dapibus ac facilisis in
- Morbi leo risus
- Porta ac consectetur ac
- Vestibulum at eros
Javascript
Call panels .panel
with a single line of JavaScript:
$( ".panel" ).wrapkitPanel( options );
More about wrapkitPanel plugin can be learned on wrapkit documentation (on download files).