--- 
title: Badge
description: Status badges and labels
category: components
alias: chip
a1Full: true
group: Data Display

module: NxBadgeModule
components:
  - name: NxBadgeComponent
    selector: nx-badge
    inputs:
      - name: accentColor
        default: input<NxBadgeAccentColor>()
        type: "InputSignal<'brand' | 'yellow' | 'orange' | 'red' | 'purple' | 'aqua' | 'blue' | 'teal' | 'green' | 'gray' | undefined>"
      - name: prominence
        default: input<NxBadgeProminence>('subtle')
        type: "InputSignal<'subtle' | 'attention'>"
      - name: inverseInput
        desc: "Whether to use the inverse colors. When not set, it follows the surface the badge is placed on (see `nxSurface`)."
        default: input<boolean | undefined, unknown>(undefined, {
      transform: nxOptionalBooleanAttribute,
      alias: 'inverse',
    })
        type: "InputSignalWithTransform<boolean | undefined, unknown>"
      - name: disabled
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: type
        desc: "Sets the type of the badge. `accent` is the A1 default; an empty value is the NDBX default (gray). With the A1 theme, a signal type takes precedence over `accentColor`."
        type: "'accent' | 'info' | 'warning' | 'positive' | 'critical' | 'active' | 'negative' | '' | string | null | undefined"
      - name: vibrant
        desc: "Change badge style to vibrant."
        type: "boolean"

---
# Overview
<div class="docs-hide-ndbx">
