England National Health Service Number Input
an input for entering England's National Health Service Number (NHS)
This is a new component. See the canonical documentation for full details.
an input for entering England's National Health Service Number (NHS)
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="england-national-health-service-number-input" id="demo-input" aria-label="an input for entering England's National Health Service Number (NHS)" /><Field label="National Health Service Number" required>
<EnglandNationalHealthServiceNumberInput label="National Health Service Number" value={value} required />
<Hint>10 digits in 3-3-4 format with a Modulus-11 check digit, allocated through the Personal Demographics Service</Hint>
<ErrorMessage>Please enter a valid National Health Service Number</ErrorMessage>
</Field>
// In your Svelte component:
import EnglandNationalHealthServiceNumberInput from "lily-design-system-svelte-headless/components/EnglandNationalHealthServiceNumberInput/EnglandNationalHealthServiceNumberInput.svelte";
<EnglandNationalHealthServiceNumberInput 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