Panels

While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.

Basic design

By default, all the .panel does is apply some basic border and padding to contain some content.

Basic panel example

Options

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.

Panel title

Panel content

Wrap buttons or secondary text in .panel-footer.

Panel content

Panel with tables

To take advantage of full width place the table directly under the .panel wraper and not in .panel-body.

Panel title

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 @tho
3 Larry the Bird @twitter

Panel with list groups

Include full-width list groups within any panel.

Panel title

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