Example

SlovenskoPasView
Show demo markup
<span class="slovensko-pas-view">SlovenskoPasView</span>
Usage example
<SummaryList>
  <SummaryListItem term="Slovak Passport">
    <SlovenskoPasView value="{value}" />
  </SummaryListItem>
</SummaryList>
Show Svelte source
// In your Svelte component:
import SlovenskoPasView from "lily-design-system-svelte-headless/components/SlovenskoPasView/SlovenskoPasView.svelte";

<SlovenskoPasView 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: slovensko-pas-view
  • PascalCase: SlovenskoPasView
  • Description: a read-only display of Slovakia's Pas
  • Purpose: Shows Slovakia's Pas as read-only text, so it is displayed one way wherever it appears. Use the input to collect it.
  • 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: .slovensko-pas-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: slovensko-pas-view.md