How to create a badge with Combo ?

Undraw Add Content Re Vgqa

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"




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Default Component Stylesheet File Explorer
Component Stylesheet

This functionality gives the possibility for Web Designers to customize the style of Combostrap components. If a stylesheet with the name of a component is found in the components/css directory of a...



Task Runner