Skip to main content

BadgeVariant

Visual variants of a Badge.

Inherits: enum.Enum

Properties

  • DESTRUCTIVE - Solid badge for errors and other destructive states.
  • OUTLINE - Transparent badge with a border.
  • PRIMARY - Solid badge using the primary color.
  • SECONDARY - Solid badge using the secondary color.

Properties​

DESTRUCTIVEclass-attributeinstance-attribute​

Solid badge for errors and other destructive states.

OUTLINEclass-attributeinstance-attribute​

Transparent badge with a border.

PRIMARYclass-attributeinstance-attribute​

Solid badge using the primary color. This is the default.

SECONDARYclass-attributeinstance-attribute​

Solid badge using the secondary color.