Cesko Rodne Cislo View

a read-only display of Czech Republic's Rodné číslo (RČ)

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

Example

CeskoRodneCisloView
Show demo markup
<span class="cesko-rodne-cislo-view">CeskoRodneCisloView</span>
Usage example
<SummaryList>
  <SummaryListItem term="Czech Personal Number">
    <CeskoRodneCisloView value="{value}" />
  </SummaryListItem>
</SummaryList>
Show Svelte source
// In your Svelte component:
import CeskoRodneCisloView from "lily-design-system-svelte-headless/components/CeskoRodneCisloView/CeskoRodneCisloView.svelte";

<CeskoRodneCisloView 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: cesko-rodne-cislo-view
  • PascalCase: CeskoRodneCisloView
  • Description: a read-only display of Czech Republic's Rodné číslo (RČ)
  • Purpose: Shows Czech Republic's Rodné číslo (RČ) 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: .cesko-rodne-cislo-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: cesko-rodne-cislo-view.md