--- 
title: Info Icon
description: Icon button that reveals contextual information via a popover
category: components
a1Full: true
group: Data Display

module: NxInfoIconModule
components:
  - name: NxInfoIconComponent
    selector: nx-info-icon
    desc: |
      Info Icon component that combines a button with a popover.
      Displays an info icon button that triggers a popover with additional information.
    inputs:
      - name: buttonAriaLabel
        desc: "Aria label for the info icon button."
        default: input<string>('Information')
        type: "InputSignal<string>"
      - name: popoverDirection
        desc: "Direction where the popover should appear relative to the button."
        default: input<PopoverDirection>('top')
        type: "InputSignal<PopoverDirection>"
      - name: popoverWidth
        desc: "Width of the popover."
        default: input<string | undefined>(undefined)
        type: "InputSignal<string | undefined>"
      - name: popoverMaxWidth
        desc: "Maximum width of the popover."
        default: input<string | undefined>(undefined)
        type: "InputSignal<string | undefined>"
      - name: popoverModal
        desc: "Whether the popover should be modal (with backdrop and focus trap)."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: popoverCloseable
        desc: "Whether the popover should show a close button."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: disabled
        desc: "Whether the info icon button is disabled."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: inverse
        desc: "Whether the icon should use the inverse color (for use on dark/colored backgrounds). When not set, it follows the surface the icon is placed on (see `nxSurface`)."
        default: input<boolean | undefined, unknown>(undefined, {
      transform: nxOptionalBooleanAttribute,
    })
        type: "InputSignalWithTransform<boolean | undefined, unknown>"

---
# Overview
The Info Icon component is a simplified wrapper around the [Popover component](./documentation/popover/overview), designed to display contextual information via an icon button. It requires Angular CDK (incl. CSS). Learn [how to enable Angular CDK styles](./documentation/overlay/overview#angular-cdk).

> **Inside a formfield or label?** To add an info icon to a form field or a [label](./documentation/base/overview), project `<nx-info-icon>` and mark it with the `nxLabelInfo` directive rather than placing a raw popover button in the `nxFormfieldAppendix` slot. The component then handles placement for you — next to the label under Allianz One, and in the appendix under NDBX. See the [formfield documentation](./documentation/formfield/overview) for details.
