Box

Boxes are used to visually group related information and controls.

Usage

Header

This is the box content.

Footer
<div class="c-box mb-0">
  <h2 class="c-box__header">Header</h2>
  <p class="c-box__content">This is the box content.</p>
  <footer class="c-box__footer">Footer</footer>
</div>

Implementation

TypeName
Elements
Box.c-box
Header.c-box__headerOptional
Content.c-box__contentOptional
Footer.c-box__footerOptional
Modifiers
Color.c-box--dark
StatesNone

Modifiers

Color

The dark version

Header

This is the box content.

<div class="c-box c-box--dark mb-0">
  <h2 class="c-box__header">Header</h2>
  <p class="px-5 py-4">This is the box content.</p>
</div>