Vue Material -

Badge


by Creative Tim
Docs
Components
Premium themes

Small status descriptors for UI elements.

Some components like button, avatar needs to be wrapped with md-badge component.

Example with buttons
1
1
2
Avatar
12
12
Example with lists
  • move_to_inbox Inbox
    6
  • send Sent Mail
  • delete Trash
    6
  • error Spam
    New
Dense
1
12

API - md-badge

The following option can be applied to any badge:

NameDescriptionDefault
md-content String, Number A content for badge
md-position String Position of badge top or bottom top
md-dense Boolean Enables the dense layout false