You are viewing version 3 of the library, the latest version is
<span class="badge badge-danger">Danger</span>

Labels

Based on the version from MDB:
https://mdbootstrap.com/components/badges/#labels

Using

No additional actions, aside from the markup, are needed to use this component.