Island Kennitala Input
an input for entering Iceland's Kennitala
This is a new component. See the canonical documentation for full details.
an input for entering Iceland's Kennitala
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="island-kennitala-input" id="demo-input" aria-label="an input for entering Iceland's Kennitala" /><Field label="Personal Identity Code" required>
<IslandKennitalaInput label="Personal Identity Code" value={value} required />
<Hint>10 digits where the first 6 are the date of birth (DDMMYY)</Hint>
<ErrorMessage>Please enter a valid Personal Identity Code</ErrorMessage>
</Field>
// In your Svelte component:
import IslandKennitalaInput from "lily-design-system-svelte-headless/components/IslandKennitalaInput/IslandKennitalaInput.svelte";
<IslandKennitalaInput 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