--- 
title: Headline
description: Heading typography (h1-h6)
category: components
a1Full: true
alias: heading, title
a1Light: true
a1Densities: true
group: Data Display

module: NxHeadlineModule
components:
  - name: NxHeadlineComponent
    selector: [nxHeadline]
    inputs:
      - name: size
        desc: "The size of the headline. A wrapping component providing `NX_HEADLINE_CONTEXT` overrides this input."
        default: input<NxHeadlineSize>()
        type: "InputSignal<'s' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | undefined>"
      - name: inverseInput
        desc: "Whether the headline should use inverse (light-on-dark) colors. Replaces the deprecated `negative` input. When not set, it follows the surface the headline is placed on (see `nxSurface`)."
        default: input<boolean | undefined, unknown>(undefined, {
      transform: nxOptionalBooleanAttribute,
      alias: 'inverse',
    })
        type: "InputSignalWithTransform<boolean | undefined, unknown>"
      - name: type
        default: input<NxHeadlineType>('primary')
        type: "InputSignal<'primary' | 'secondary'>"
      - name: colorScheme
        desc: "The color scheme of the headline. Only relevant for the A1 Design."
        default: input<NxHeadlineColorScheme>(DEFAULT_COLOR_SCHEME)
        type: "InputSignal<'default' | 'on-accent-attention'>"
      - name: nxHeadline
        desc: "Changes the type of the headline which affects the visual appearance.  You can combine a HeadlineType and 'inverse'."
        type: "string"
      - name: negative
        type: "BooleanInput"

---
# Overview
Headlines are decoupled from the actual markup. You can pick any tag from h1 - h6 to fulfill the expected semantics and adjust the appearance with the following attributes.
