Lietuva Asmens Kodas Input
an input for entering Lithuania's Asmens kodas
This is a new component. See the canonical documentation for full details.
an input for entering Lithuania's Asmens kodas
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="lietuva-asmens-kodas-input" id="demo-input" aria-label="an input for entering Lithuania's Asmens kodas" /><Field label="Personal Code" required>
<LietuvaAsmensKodasInput label="Personal Code" value={value} required />
<Hint>11 digits in the format GYYMMDDNNNC: G encodes sex and century (4 or 6 women, 3 or 5 men), YYMMDD is the date of birth, NNN is a serial, C is the check digit</Hint>
<ErrorMessage>Please enter a valid Personal Code</ErrorMessage>
</Field>
// In your Svelte component:
import LietuvaAsmensKodasInput from "lily-design-system-svelte-headless/components/LietuvaAsmensKodasInput/LietuvaAsmensKodasInput.svelte";
<LietuvaAsmensKodasInput 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