Angular Bootstrap Panels

Angular panels - Bootstrap 4 & Material Design

Note: This documentation is for an older version of Bootstrap (v.4). A newer version is available for Bootstrap 5. We recommend migrating to the latest version of our product - Material Design for Bootstrap 5.
Go to docs v.5

Angular Bootstrap’s panels provide a flexible and extensible content container with multiple variants. These options include, but are in no way limited to headers and footers, a wide variety of content, contextual background colors, and powerful display options. Panels are similar to cards, but they don't include media.


Basic example

Panels are built with as little markup and styles as possible, but still manage to deliver a ton of control and customization. Built with flexbox, they offer easy alignment and mix well with other Bootstrap components. They have no margin by default, so use spacing utilities as needed.

Below is an example of a basic panel with mixed content and a fixed width. Panels have no fixed width to start, so they’ll naturally fill the full width of its parent element. This is easily customized with our various sizing options.

Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Card link Another link
        
            
          <mdb-card>
            <mdb-card-body>
              <mdb-card-title>
                <h4>Panel title</h4>
              </mdb-card-title>
              <mdb-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</mdb-card-text>
              <div class="flex-row">
                <a class="card-link">Card link</a>
                <a class="card-link">Another link</a>
              </div>
            </mdb-card-body>
          </mdb-card>
        
        
    

Content types

Panels support a wide variety of content, including text, list groups, links, and more. Below are examples of what’s supported.

Body

The building block of a panel is the mdb-card-body. Use it whenever you need a padded section within a panel.

This is some text within a panel body.
        
            
          <mdb-card>
            <mdb-card-body>
              This is some text within a panel body.
            </mdb-card-body>
          </mdb-card>
        
        
    

Titles, text, and links

Panel titles are used by adding mdb-card-title tag. In the same way, links are added and placed next to each other by adding .card-link to a <a> tag.

Subtitles are used by adding another mdb-card-title to tag, but with smaller <h*> tag. If the mdb-card-title items are placed in a mdb-card-body item, the panel title and subtitle are aligned nicely.

Panel title
Panel subtitle

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Card link Another link
        
            
          <mdb-card>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Panel title</h5>
                <h6 class="text-muted mb-2">Panel subtitle</h6>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
              <a href="#!" class="card-link">Card link</a>
              <a href="#!" class="card-link">Another link</a>
            </mdb-card-body>
          </mdb-card>
        
        
    

List groups

Create lists of content in a card with a flush list group.

  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros
        
            
          <mdb-card>
            <ul class="list-group list-group-flush">
              <li class="list-group-item">Cras justo odio</li>
              <li class="list-group-item">Dapibus ac facilisis in</li>
              <li class="list-group-item">Vestibulum at eros</li>
            </ul>
          </mdb-card>
        
        
    
Featured
  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros
        
            
          <mdb-card>
            <mdb-card-header>Featured</mdb-card-header>
            <ul class="list-group list-group-flush">
              <li class="list-group-item">Cras justo odio</li>
              <li class="list-group-item">Dapibus ac facilisis in</li>
              <li class="list-group-item">Vestibulum at eros</li>
            </ul>
          </mdb-card>
        
        
    

Kitchen sink

Mix and match multiple content types to create the card you need, or throw everything in there. Shown below are blocks, text styles, and a list group—all wrapped in a fixed-width panel.

Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros
        
            
          <mdb-card style="width: 20rem">
            <mdb-card-body>
              <mdb-card-title>
                <h5 class="font-weight-bold mb-3">Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="mb-0">
                Some quick example text to build on the panel title and make up the bulk of the panel's content
              </mdb-card-text>
            </mdb-card-body>
            <ul class="list-group list-group-flush">
              <li class="list-group-item">Cras justo odio</li>
              <li class="list-group-item">Dapibus ac facilisis in</li>
              <li class="list-group-item">Vestibulum at eros</li>
            </ul>
            <mdb-card-body>
              <a href="#!" class="card-link">Card link</a>
              <a href="#!" class="card-link">Another link</a>
            </mdb-card-body>
          </mdb-card>
        
        
    


Sizing

Panels assume no specific width to start, so they’ll be 100% wide unless otherwise stated. You can change this as needed with custom CSS, grid classes, grid Sass mixins, or utilities.

Using grid markup

Using the grid, wrap panels in columns and rows as needed.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
        
            
          <div class="row">
            <div class="col-sm-6 mb-3 mb-md-0">
              <mdb-card>
                <mdb-card-body>
                  <mdb-card-title>
                    <h5>Special title treatment</h5>
                  </mdb-card-title>
                  <mdb-card-text>With supporting text below as a natural lead-in to additional content</mdb-card-text>
                  <a href="#!" mdbBtn color="primary">Go somewhere</a>
                </mdb-card-body>
              </mdb-card>
            </div>
            <div class="col-sm-6">
              <mdb-card>
                <mdb-card-body>
                  <mdb-card-title>
                    <h5>Special title treatment</h5>
                  </mdb-card-title>
                  <mdb-card-text>With supporting text below as a natural lead-in to additional content</mdb-card-text>
                  <a href="#!" mdbBtn color="primary">Go somewhere</a>
                </mdb-card-body>
              </mdb-card>
            </div>
          </div>
        
        
    

Using utilities

Use our handful of available sizing utilities to quickly set a panel's width.

Panel title

With supporting text below as a natural lead-in to additional content.

Button
Panel title

With supporting text below as a natural lead-in to additional content.

Button
        
            
          <mdb-card class="w-75 mb-3">
            <mdb-card-body>
              <mdb-card-title>
                <h5>Special title treatment</h5>
              </mdb-card-title>
              <mdb-card-text>With supporting text below as a natural lead-in to additional content</mdb-card-text>
              <a href="#!" mdbBtn color="primary">Go somewhere</a>
            </mdb-card-body>
          </mdb-card>

          <mdb-card class="w-50">
            <mdb-card-body>
              <mdb-card-title>
                <h5>Special title treatment</h5>
              </mdb-card-title>
              <mdb-card-text>With supporting text below as a natural lead-in to additional content</mdb-card-text>
              <a href="#!" mdbBtn color="primary">Go somewhere</a>
            </mdb-card-body>
          </mdb-card>
        
        
    

Using custom CSS

Use custom CSS in your stylesheets or as inline styles to set a width.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
        
            
          <mdb-card style="width: 20rem;">
            <mdb-card-body>
              <mdb-card-title>
                <h5>Special title treatment</h5>
              </mdb-card-title>
              <mdb-card-text>With supporting text below as a natural lead-in to additional content</mdb-card-text>
              <a href="#!" mdbBtn color="primary">Go somewhere</a>
            </mdb-card-body>
          </mdb-card>
        
        
    

Text alignment

You can quickly change the text alignment of any card—in its entirety or specific parts—with our text align classes.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
        
            
          <mdb-card class="mb-3" style="width: 20rem">
            <mdb-card-body>
              <mdb-card-title>
                <h5>Special title treatment</h5>
              </mdb-card-title>
              <mdb-card-text>With supporting text below as a natural lead-in to additional content.</mdb-card-text>
              <a href="#!" mdbBtn color="primary">Go somewhere</a>
            </mdb-card-body>
          </mdb-card>

          <mdb-card class="text-center mb-3" style="width: 20rem">
            <mdb-card-body>
              <mdb-card-title>
                <h5>Special title treatment</h5>
              </mdb-card-title>
              <mdb-card-text>With supporting text below as a natural lead-in to additional content.</mdb-card-text>
              <a href="#!" mdbBtn color="primary">Go somewhere</a>
            </mdb-card-body>
          </mdb-card>

          <mdb-card class="text-right mb-3" style="width: 20rem">
            <mdb-card-body>
              <mdb-card-title>
                <h5>Special title treatment</h5>
              </mdb-card-title>
              <mdb-card-text>With supporting text below as a natural lead-in to additional content.</mdb-card-text>
              <a href="#!" mdbBtn color="primary">Go somewhere</a>
            </mdb-card-body>
          </mdb-card>
        
        
    

Panel styles

Panels include various options for customizing their backgrounds, borders, and color.

Background and color

Use text and background utilities to change the appearance of a card.

Header
Primary Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Secondary Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Success Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Danger Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Warning Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Info Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Light Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Dark Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

        
            
          <mdb-card class="text-white mb-3" bgColor="bg-secondary" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Secondary Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="text-white">
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="text-white mb-3" bgColor="bg-success" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Success Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="text-white">
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="text-white mb-3" bgColor="bg-danger" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Danger Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="text-white">
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="text-white mb-3" bgColor="bg-warning" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Warning Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="text-white">
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="text-white mb-3" bgColor="bg-info" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Info Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="text-white">
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" bgColor="bg-light" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Light Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="text-white mb-3" bgColor="bg-dark" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Dark Panel title</h5>
              </mdb-card-title>
              <mdb-card-text class="text-white">
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
        
        
    

Conveying meaning to assistive technologies

Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .sr-only class.


Border

Use border utilities to change just the border-color of a card. Note that you can put .text-{color} classes on the parent mdb-card or a subset of the panel's contents as shown below.

Header
Primary Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Secondary Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Success Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Danger Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Warning Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Info Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Light Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

Header
Dark Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

        
            
          <mdb-card class="mb-3" borderColor="border-secondary" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Secondary Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" borderColor="border-success" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Success Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" borderColor="border-danger" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Danger Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" borderColor="border-warning" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Warning Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" borderColor="border-info" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Info Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" borderColor="border-light" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Light Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
          <mdb-card class="mb-3" borderColor="border-dark" style="max-width: 20rem">
            <mdb-card-header>Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title>
                <h5>Dark Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>
                Some quick example text to build on the panel title and make up the bulk of the panel's content.
              </mdb-card-text>
            </mdb-card-body>
          </mdb-card>
        
        
    

Mixins utilities

You can also change the borders on the card header and footer as needed, and even remove their background-color with .bg-transparent.

Header
Success Panel title

Some quick example text to build on the panel title and make up the bulk of the panel's content.

        
            
          <mdb-card borderColor="border-success" style="max-width: 20rem">
            <mdb-card-header class="bg-transparent border-success">Header</mdb-card-header>
            <mdb-card-body>
              <mdb-card-title class="text-success">
                <h5>Dark Panel title</h5>
              </mdb-card-title>
              <mdb-card-text>Some quick example text to build on the panel title and make up the bulk of the
                panel's content.</mdb-card-text>
            </mdb-card-body>
            <mdb-card-footer class="bg-transparent border-success">Footer</mdb-card-footer>
          </mdb-card>
        
        
    

Panel layout

In addition to styling the content within panels, Bootstrap includes a few options for laying out series of panels. For the time being, these layout options are not yet responsive.

Groups

Use card groups to render cards as a single, attached element with equal width and height columns. Card groups use display: flex; to achieve their uniform sizing.

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Panel title

This card has supporting text below as a natural lead-in to additional content.

Last updated 3 mins ago

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

Last updated 3 mins ago

        
            
          <div class="card-group">
            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
                <mdb-card-text><small class="text-muted">Last updated 3 mins ago</small></mdb-card-text>
              </mdb-card-body>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
                <mdb-card-text><small class="text-muted">Last updated 3 mins ago</small></mdb-card-text>
              </mdb-card-body>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
                <mdb-card-text><small class="text-muted">Last updated 3 mins ago</small></mdb-card-text>
              </mdb-card-body>
            </mdb-card>
          </div>
        
        
    

When using card groups with footers, their content will automatically line up.

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Panel title

This card has supporting text below as a natural lead-in to additional content.

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

        
            
          <div class="card-group">
            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
              </mdb-card-body>
              <mdb-card-footer><small class="text-muted">Last updated 3 mins ago</small></mdb-card-footer>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
              </mdb-card-body>
              <mdb-card-footer><small class="text-muted">Last updated 3 mins ago</small></mdb-card-footer>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
              </mdb-card-body>
              <mdb-card-footer><small class="text-muted">Last updated 3 mins ago</small></mdb-card-footer>
            </mdb-card>
          </div>
        
        
    

Decks

Need a set of equal width and height panels that aren’t attached to one another? Use decks.

Panel title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Panel title

This card has supporting text below as a natural lead-in to additional content.

Last updated 3 mins ago

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

Last updated 3 mins ago

        
            
          <div class="card-deck">
            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
                <mdb-card-text><small class="text-muted">Last updated 3 mins ago</small></mdb-card-text>
              </mdb-card-body>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
                <mdb-card-text><small class="text-muted">Last updated 3 mins ago</small></mdb-card-text>
              </mdb-card-body>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>
                  This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
                </mdb-card-text>
                <mdb-card-text><small class="text-muted">Last updated 3 mins ago</small></mdb-card-text>
              </mdb-card-body>
            </mdb-card>
          </div>
        
        
    

Just like with panel groups, card footers in decks will automatically line up.

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Panel title

This card has supporting text below as a natural lead-in to additional content.

Panel title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

        
            
          <div class="card-deck">
            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>This is a wider card with supporting text below as a natural lead-in to additional
                  content. This
                  content is a little bit longer.</mdb-card-text>
              </mdb-card-body>
              <mdb-card-footer><small class="text-muted">Last updated 3 mins ago</small></mdb-card-footer>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>This is a wider card with supporting text below as a natural lead-in to additional
                  content. This
                  content is a little bit longer.</mdb-card-text>
              </mdb-card-body>
              <mdb-card-footer><small class="text-muted">Last updated 3 mins ago</small></mdb-card-footer>
            </mdb-card>

            <mdb-card>
              <mdb-card-body>
                <mdb-card-title>
                  <h5>Panel title</h5>
                </mdb-card-title>
                <mdb-card-text>This is a wider card with supporting text below as a natural lead-in to additional
                  content. This
                  content is a little bit longer.</mdb-card-text>
              </mdb-card-body>
              <mdb-card-footer><small class="text-muted">Last updated 3 mins ago</small></mdb-card-footer>
            </mdb-card>
          </div>
        
        
    

Jumbotron

A lightweight, flexible component that can optionally extend the entire viewport to showcase key marketing messages on your site.

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.


It uses utility classes for typography and spacing to space content out within the larger container.

Learn more
        
            
          <div class="jumbotron">
            <h1 class="display-4">Hello, world!</h1>
            <p class="lead">
              This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
            </p>
            <hr class="my-4">
            <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
            <a mdbBtn color="primary" size="lg" href="#" role="button" mdbWavesEffect>Learn more</a>
          </div>
        
        
    

Angular Panels - API

In this section you will find informations about panels and its required modules and available inputs, outputs, methods and events.


Modules used

In order to speed up your application, you can choose to import only the modules you actually need, instead of importing the entire MDB Angular library. Remember that importing the entire library, and immediately afterwards a specific module, is bad practice, and can cause application errors.

        
            
          import { ButtonsModule, WavesModule, CardsModule } from 'ng-uikit-pro-standard'
        
        
    
        
            
          import { ButtonsModule, WavesModule, CardsModule } from 'angular-bootstrap-md'
        
        
    

Inputs

MdbCardComponent
Name Type Default Description Example
cascade boolean false Allow to set a cascade styles to the card. cascade="true"
wider boolean false Allow to set a wider styles to the card. wider="true"
narrower boolean false Allow to set a narrower styles to the card. narrower="true"
reverse boolean false Allow to reverse the styles of a card. reverse="true"
dark boolean false Allow to set a dark styles to the card. dark="true"
bgColor string ' ' Allow to add background color to the card by using class. bgColor="bg-primary"
borderColor string ' ' Allow to add border color to the card by using class. borderColor="border-primary"
MdbCardImageComponent
Name Type Default Description Example
src string ' ' Allow to set an image url for the card. src="img/image1.webp"
alt boolean false Allow to set a alt attribute to the card image. alt="Alt image"