Table of Contents

About

badge is a ComboStrap UI component that shows a small status descriptors such as:

  • a count
  • or a label

Syntax

badge follows the superset HTML syntax and can then be customized

  • Full Qualified Syntax
<badge type="type" rounded>Text</badge>
  • Short Syntax
<badge type rounded>Text</badge>

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 configuration that defines the default badge attributes

Default value:

type="info" rounded="true"