Portugal Numero De Identificacao Fiscal View

a read-only display of Portugal's Número de Identificação Fiscal (NIF)

This is a new component. See the canonical documentation for full details.

Example

PortugalNumeroDeIdentificacaoFiscalView
Show demo markup
<span class="portugal-numero-de-identificacao-fiscal-view" aria-label="a read-only display of Portugal's Número de Identificação Fiscal (NIF)">PortugalNumeroDeIdentificacaoFiscalView</span>
Usage example
<SummaryList>
  <SummaryListItem term="Tax Identification Number">
    <PortugalNumeroDeIdentificacaoFiscalView value={value} />
  </SummaryListItem>
</SummaryList>
Show Svelte source
// In your Svelte component:
import PortugalNumeroDeIdentificacaoFiscalView from "lily-design-system-svelte-headless/components/PortugalNumeroDeIdentificacaoFiscalView/PortugalNumeroDeIdentificacaoFiscalView.svelte";

<PortugalNumeroDeIdentificacaoFiscalView label="Label" value="Sample value" />

Canonical contract

Generated from this component's canonical metadata — the machine-checked source the implementations are held to.

Metadata

  • Component: portugal-numero-de-identificacao-fiscal-view
  • PascalCase: PortugalNumeroDeIdentificacaoFiscalView
  • Description: a read-only display of Portugal's Número de Identificação Fiscal (NIF)
  • Status: beta — implemented and unit-tested in all seven frameworks with an axe-clean demo page; not yet exercised in composed flows
  • HTML tag: <span>
  • CSS class: .portugal-numero-de-identificacao-fiscal-view
  • Interactive: no

ARIA

  • aria-label provides accessible name from label prop
  • role="text" so the identifier announces as a single unit

Keyboard

  • Not interactive

Props

  • value: string (required) — the identifier to display
  • label: string (optional) — accessible name override via aria-label
  • ...restProps: any additional HTML attributes spread onto the root