--- 
title: Icons
description: SVG icon system
category: components
a1Full: true
group: Data Display

module: NxIconModule
components:
  - name: NxIconComponent
    selector: nx-icon
    inputs:
      - name: type
        default: input<NxIconType>('auto')
        type: "InputSignal<'auto' | 'primary' | 'secondary' | 'accent-attention' | 'accent-subtle'>"
      - name: outline
        desc: "Whether the icon has an outline."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: contained
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: emphasis
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: accentColor
        default: input<IconAccentColor>('blue')
        type: "InputSignal<'yellow' | 'orange' | 'red' | 'purple' | 'aqua' | 'blue' | 'teal' | 'green' | 'gray'>"
      - name: fill
        desc: "Whether the icon is filled."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: inverseInput
        desc: "Whether the icon uses the inverse color. When not set, it follows the surface the icon is placed on (see `nxSurface`)."
        default: input<boolean | undefined, unknown>(undefined, {
      alias: 'inverse',
      transform: nxOptionalBooleanAttribute,
    })
        type: "InputSignalWithTransform<boolean | undefined, unknown>"
      - name: size
        desc: "Specifies the size of the icon. Use 's' and 'm' for functional Icons and 'l', 'xl' and '2xl' for illustrative icons."
        default: input<IconSize>('auto')
        type: "InputSignal<'auto' | 's' | 'm' | 'l' | 'xl' | '2xl'>"
      - name: font
        desc: "Sets the font name that should be used."
        default: input('')
        type: "InputSignal<string>"
      - name: name
        desc: "Sets the name for specifying the icon."
        type: "string"
  - name: NxStatusIconComponent
    selector: nx-status-icon
    inputs:
      - name: type
        desc: "Sets status type"
        default: input.required<NxStatusIconType>()
        type: "InputSignal<'critical' | 'positive' | 'warning' | 'info' | 'error' | 'success'>"
      - name: size
        desc: "Specifies the size of the icon."
        default: input<NxStatusIconSize>('auto')
        type: "InputSignal<'auto' | 's' | 'm' | 'l' | 'xl' | '2xl'>"
      - name: contained
        desc: "Whether the status icon is rendered inside a filled, circular surface."
        default: input(false, { transform: booleanAttribute })
        type: "InputSignalWithTransform<boolean, unknown>"
      - name: inverseInput
        desc: "Whether the status icon uses the inverse color scheme (for placement on dark/inverse surfaces). When not set, it follows the surface the icon is placed on (see `nxSurface`)."
        default: input<boolean | undefined, unknown>(undefined, {
      transform: nxOptionalBooleanAttribute,
      alias: 'inverse',
    })
        type: "InputSignalWithTransform<boolean | undefined, unknown>"

---
# Overview
<div class="docs-private">
