You are viewing version 6.0.0 of the library, the latest version is
<span class="badge badge-warning">Warning</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.