United Kingdom National Insurance Number Input
an input for entering United Kingdom's National Insurance Number (NINO)
This is a new component. See the canonical documentation for full details.
an input for entering United Kingdom's National Insurance Number (NINO)
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="united-kingdom-national-insurance-number-input" id="demo-input" aria-label="an input for entering United Kingdom's National Insurance Number (NINO)" /><Field label="National Insurance Number" required>
<UnitedKingdomNationalInsuranceNumberInput label="National Insurance Number" value={value} required />
<Hint>two prefix letters, six digits, and a suffix letter (A, B, C, or D) — e.g. AB123456A</Hint>
<ErrorMessage>Please enter a valid National Insurance Number</ErrorMessage>
</Field>
// In your Svelte component:
import UnitedKingdomNationalInsuranceNumberInput from "lily-design-system-svelte-headless/components/UnitedKingdomNationalInsuranceNumberInput/UnitedKingdomNationalInsuranceNumberInput.svelte";
<UnitedKingdomNationalInsuranceNumberInput 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