Badge
Last updated
Last updated
Parameter | Description | Default |
---|---|---|
style
Defines the Bootstrap style. Supported values:
danger
dark
info
light
primary
secondary
success
warning
primary
type
Allowed values:
badge
pill
badge
displayas
The badge can be combined with a button or heading. Supported values:
button
h1
h2
h3
h4
h5
h6
no value
prefix
If combined with a button or heading, this will be the text of it.
This parameter only works in combination with a displayas value.
no value
buttonstyle
If combined with a button, this defines the button style. Supported values:
danger
dark
info
light
primary
secondary
success
warning
This parameter only works in combination with a displayas value.
primary
buttonlink
If combined with a button, the button can link to a URL. Define it here.
no value
target
If combined with a linked button, this defines the target of the link.
_self
customtextcolor
If you want to change the text color of the badge style you can do it here by providing the hex color code in CSS format, e.g. #99000.
no value
custombgcolor
If you want to change the background color of the badge style you can do it here by proividng the hex color code in CSS format, e.g. #000099.
no value