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

Basic example

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

Examples:

Panel Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Panel Heading: Menu with icons
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Panel Heading: With Button Group
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

HTML Code:

<div class="panel panel-default">
	<div class="panel-heading">
		<header>Panel Heading</header>

		<div class="panel-heading-tools">
			<div class="btn-group">
				<a class="btn btn-icon-toggle panel-tools-loading"><i class="fa fa-refresh fa-spin"></i></a>
				<a class="btn btn-icon-toggle panel-tools-menu dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="material-icons">more_vert</i></a>
				<ul class="dropdown-menu dropdown-menu-right">
					<li><a href="#">Item 1</a></li>
					<li><a href="#">Item 2</a></li>
					<li class="divider"></li>
					<li><a href="#">Item 3</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="panel-body">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
	</div>
	</div>
	<div class="panel panel-default">
	<div class="panel-heading">
		<header>Panel Heading: Menu with icons</header>

		<div class="panel-heading-tools">
			<div class="btn-group">
				<a class="btn btn-icon-toggle panel-tools-loading"><i class="fa fa-refresh fa-spin"></i></a>
				<a class="btn btn-icon-toggle panel-tools-menu dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="material-icons">more_vert</i></a>
				<ul class="dropdown-menu dropdown-menu-right">
					<li>
						<a href="#"><i class="material-icons">done</i> Item 1</a>
					</li>
					<li class="divider"></li>
					<li>
						<a href="#"><i class="material-icons">delete</i> Item 1</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<div class="panel-body">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
	</div>
	</div>
	<div class="panel panel-default">
	<div class="panel-heading">
		<header>Panel Heading: With Button Group</header>

		<div class="panel-heading-tools">
			<div class="btn-group">
				<a class="btn btn-icon-toggle panel-tools-loading"><i class="fa fa-refresh fa-spin"></i></a>
				<a class="btn btn-icon-toggle panel-tools-help"><i class="material-icons">help</i></a>
				<a class="btn btn-icon-toggle panel-tools-collapse"><i class="material-icons">expand_more</i></a>
				<a class="btn btn-icon-toggle panel-tools-close"><i class="material-icons">close</i></a>
			</div>
		</div>
	</div>
	<div class="panel-body">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
	</div>
</div>

Actions Bar

Supplemental actions within the panel are explicitly called out using icons, text, and UI controls, typically placed at the bottom of the card. Limit supplemental actions to two actions, in addition to an overflow menu.

Examples:

Panel Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Panel Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Panel Heading: With Button Group
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

HTML Code:

<div class="panel panel-default">
	<div class="panel-heading">
		<header>Panel Heading</header>

		<div class="panel-heading-tools">
			<div class="btn-group">
				<a class="btn btn-icon-toggle panel-tools-loading"><i class="fa fa-refresh fa-spin"></i></a>
				<a class="btn btn-icon-toggle panel-tools-menu dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="material-icons">more_vert</i></a>
				<ul class="dropdown-menu dropdown-menu-right">
					<li><a href="#">Item 1</a></li>
					<li><a href="#">Item 2</a></li>
					<li class="divider"></li>
					<li><a href="#">Item 3</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="panel-body">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
	</div>
	<div class="panel-footer">
		<a href="#" class="btn btn-default btn-flat">Action 1</a>
		<a href="#" class="btn btn-default btn-flat">Action 2</a>
	</div>
</div>
<div class="panel panel-default">
	<div class="panel-heading">
		<header>Panel Heading</header>

		<div class="panel-heading-tools">
			<div class="btn-group">
				<a class="btn btn-icon-toggle panel-tools-loading"><i class="fa fa-refresh fa-spin"></i></a>
				<a class="btn btn-icon-toggle panel-tools-menu dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="material-icons">more_vert</i></a>
				<ul class="dropdown-menu dropdown-menu-right">
					<li><a href="#">Item 1</a></li>
					<li><a href="#">Item 2</a></li>
					<li class="divider"></li>
					<li><a href="#">Item 3</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="panel-body">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
	</div>
	<div class="panel-footer">
		<a href="#" class="btn btn-default btn-flat">Action 1</a>
		<a href="#" class="btn btn-primary btn-flat">Action 2</a>
	</div>
</div>
<div class="panel panel-default">
	<div class="panel-heading">
		<header>Panel Heading: With Button Group</header>

		<div class="panel-heading-tools">
			<div class="btn-group">
				<a class="btn btn-icon-toggle panel-tools-loading"><i class="fa fa-refresh fa-spin"></i></a>
				<a class="btn btn-icon-toggle panel-tools-help"><i class="material-icons">help</i></a>
				<a class="btn btn-icon-toggle panel-tools-collapse"><i class="material-icons">expand_more</i></a>
				<a class="btn btn-icon-toggle panel-tools-close"><i class="material-icons">close</i></a>
			</div>
		</div>
	</div>
	<div class="panel-body">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
		<div class="panel-footer inner-offset">
			<a href="#" class="btn btn-default btn-flat">Action 1</a>
			<a href="#" class="btn btn-primary btn-flat">Action 2</a>
		</div>
	</div>
</div>