Badges can notify you that there are new or unread messages or notifications. Add the new class to the badge to give it the background.


  <div class="collection">
    <a href="#!" class="collection-item"><span class="badge">1</span>Alan</a>
    <a href="#!" class="collection-item"><span class="new badge">4</span>Alan</a>
    <a href="#!" class="collection-item">Alan</a>
    <a href="#!" class="collection-item"><span class="badge">14</span>Alan</a>

Badges in Collapsibles

  • 4filter_dramaFirst

    Lorem ipsum dolor sit amet.

  • 1placeSecond

    Lorem ipsum dolor sit amet.

<ul class="collapsible" data-collapsible="accordion">
    <div class="collapsible-header"><span class="new badge">4</span><i class="material-icons">filter_drama</i>First</div>
    <div class="collapsible-body"><p>Lorem ipsum dolor sit amet.</p></div>
    <div class="collapsible-header"><span class="badge">1</span><i class="material-icons">place</i>Second</div>
    <div class="collapsible-body"><p>Lorem ipsum dolor sit amet.</p></div>


You can customize captions in many ways.

Custom Caption

You can explicitly set the caption in a badge using the data-badge-caption attribute.

  <span class="new badge" data-badge-caption="custom caption">4</span>
  <span class="badge" data-badge-caption="custom caption">4</span>

You can use our color classes to set the background-color of the badge.

  <span class="new badge red">4</span>
  <span class="new badge blue">4</span>