--- 
title: Indicator
description: Status indicator dots
category: components
alias: badge
a1Full: true
group: Data Display

module: NxIndicatorModule
components:
  - name: NxIndicatorComponent
    selector: nx-indicator
    inputs:
      - name: overlap
        desc: "Whether the indicator moves inwards to overlap its container. Only affects the 'top-start', 'top-end', 'bottom-start' and 'bottom-end' positions."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: sizeInput
        desc: "Sets the indicator size. Optimized for A1.  Ignored when the indicator sits in a component that provides an `NxIndicatorContext`: there the host owns the size."
        default: input<NxIndicatorSize>('m', { alias: 'size' })
        type: "InputSignal<'s' | 'm' | '800' | '1000' | '1200' | '1400' | '1600' | '1800' | '2000'>"
      - name: type
        desc: "Sets the indicator color type. Optimized for A1."
        default: input<NxIndicatorType>('critical')
        type: "InputSignal<'critical' | 'warning' | 'positive' | 'info'>"
      - name: position
        desc: "Sets the indicator positioning preset. Accepts a space-separated list of `NxIndicatorPosition` values. Unrecognized values are ignored  The legacy positions `over-text`, `over-icon`, `after-text` and `with-overlap` are ignored when combined with any other position."
        type: "| 'top-start'  | 'top-end'  | 'bottom-start'  | 'bottom-end'  | 'over-text'  | 'over-icon'  | 'after-text'  | 'with-overlap' | (string  {})"

---
# Overview
The indicator is a small badge that can be used to mark an element or page as unread for the user.
