Class IgcBadgeComponent

The badge is a component indicating a status on a related item or an area where some active indication is required.

element

igc-badge

slot
  • Default slot for the badge.
csspart

base - The base wrapper of the badge.

Hierarchy

  • LitElement
    • IgcBadgeComponent

Index

Constructors

  • Returns IgcBadgeComponent

Properties

outlined: boolean = false

Sets whether to draw an outlined version of the badge.

shape: "square" | "rounded" = 'rounded'

The shape of the badge.

variant: "success" | "primary" | "info" | "warning" | "danger" = 'primary'

The type of badge.

styles: CSSResult = styles
tagName: "igc-badge" = 'igc-badge'