---json { "page_id": "kk4jppbr858gkbpeqxo1p", "title": "How to create a badge with Combo ?" } --- ====== How to create a badge ? ====== ===== About ===== ''badge'' is a [[docs:component|ComboStrap UI component]] that shows a small status descriptors such as: * a count * or a label ===== Syntax ===== ''badge'' follows the [[docs:marki|superset HTML syntax]] and can then be [[docs:styling:styling|customized]] * Full Qualified Syntax Text * Short Syntax Text where: * ''type'' defines the color * ''rounded'' will give a look more rounded (Default: true) ===== Type ===== A badge may have the following type: Functional: * success * danger * warning * info (Default) * tip Visual: * primary * secondary * light * dark ===== Configuration ===== ==== defaultBadgeAttributes ==== ''defaultBadgeAttributes'' is a [[docs:app:configuration|configuration]] that defines the default badge attributes Default value: type="info" rounded="true"