IBAN View

a read-only display of an International Bank Account Number (IBAN)

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

Example

GB82 WEST 1234 5698 7654 32
Show demo markup
<span class="iban-view">GB82 WEST 1234 5698 7654 32</span>
Usage example
<SummaryList>
  <SummaryListItem term="IBAN">
    <IbanView value="{value}" />
  </SummaryListItem>
</SummaryList>
Show Svelte source
// In your Svelte component:
import IbanView from "lily-design-system-svelte-headless/components/IbanView/IbanView.svelte";

<IbanView 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: iban-view
  • PascalCase: IbanView
  • Description: a read-only display of an International Bank Account Number (IBAN)
  • Status: experimental — new, implemented and unit-tested in every headless library; not yet exercised in composed flows
  • HTML tag: <span>
  • CSS class: .iban-view
  • Interactive: no

ARIA

  • No ARIA. A plain <span> cannot be named: aria-label is prohibited on it, and most screen readers drop it. A visible caption names the value, or the optional label renders as hidden text

Keyboard

  • Not interactive

Props

  • value: string (required) — the identifier to display
  • label: string (optional) — hidden text naming the value, in a .screen-reader-span. Leave it out when a visible caption names the value
  • ...restProps: any additional HTML attributes spread onto the root

Markdown

This page as Markdown, for people and AI tools: iban-view.md