Suomi Henkilotunnus Input
an input for entering Finland's Henkilötunnus (HETU)
This is a new component. See the canonical documentation for full details.
an input for entering Finland's Henkilötunnus (HETU)
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="suomi-henkilotunnus-input" id="demo-input" aria-label="an input for entering Finland's Henkilötunnus (HETU)" /><Field label="Personal Identity Code" required>
<SuomiHenkilotunnusInput label="Personal Identity Code" value={value} required />
<Hint>11 characters in the format DDMMYYCZZZQ: DDMMYY is the date of birth, C is the century sign (+, -, or A), ZZZ is an individual number (odd male, even female), Q is the checksum</Hint>
<ErrorMessage>Please enter a valid Personal Identity Code</ErrorMessage>
</Field>
// In your Svelte component:
import SuomiHenkilotunnusInput from "lily-design-system-svelte-headless/components/SuomiHenkilotunnusInput/SuomiHenkilotunnusInput.svelte";
<SuomiHenkilotunnusInput label="Label" />
Generated from this component's canonical metadata — the machine-checked source the implementations are held to.
aria-label provides accessible name from label proprequired and disabled states conveyed to assistive technologyaria-label provided from the label proplabel: string (required) — accessible label via aria-labelvalue: string (default: "") — bindable input valuerequired: boolean (default: false) — form validationdisabled: boolean (default: false) — disabled state...restProps: any additional HTML attributes spread onto the root