BadgeComponent

Represents the Kendo UI Badge component for Angular. Used to display additional information or status that is related to an element.

Selector

kendo-badge

Inputs

cutoutBorder

boolean

Specifies whether or not to render additional cutout border around the Badge.

The possible values are:

  • true
  • false (Default)

fill

BadgeFill

Specifies the appearance fill style of the Badge.

The possible values are:

  • solid (Default)
  • outline

position

BadgePosition

Specifies the position of the Badge relative to the edge of the parent container element.

The possible values are:

  • edge (Default)The center of the Badge is positioned on the edge of the parent container element.
  • insideThe Badge is entirely positioned inside the edge of the parent container element.
  • outsideThe Badge is entirely positioned outside the edge of the parent container element.

shape

BadgeShape

Specifies the shape of the Badge.

The possible values are:

  • circle (Default)Applies circular shape on the Badge.
  • rectangleApplies rectangular shape on the Badge.
  • roundedApplies rounded shape on the Badge.
  • dotApplies dot shape on the Badge.
  • pillApplies border radius equal to half of the height of the Badge.

size

BadgeSize

Specifies the size of the Badge.

The possible values are:

  • small
  • medium (Default)
  • large

themeColor

BadgeThemeColor

Specifies the theme color of the Badge. The theme color will be applied as background and border color, while also amending the text color accordingly.

The possible values are:

  • primary (Default)Applies coloring based on primary theme color.
  • secondaryApplies coloring based on secondary theme color.
  • tertiary Applies coloring based on tertiary theme color.
  • inherit Applies inherited coloring value.
  • infoApplies coloring based on info theme color.
  • success Applies coloring based on success theme color.
  • warning Applies coloring based on warning theme color.
  • error Applies coloring based on error theme color.
  • dark Applies coloring based on dark theme color.
  • light Applies coloring based on light theme color.
  • inverse Applies coloring based on inverted theme color.

align

BadgeAlign

Specifies the alignment of the Badge.

The possible values are:

  • { vertical: 'top', horizontal: 'end' } (Default)
  • { vertical: 'top', horizontal: 'start' }
  • { vertical: 'bottom', horizontal: 'start' }
  • { vertical: 'bottom', horizontal: 'end' }

In this article

Not finding the help you need?