Skip to content

@checkout-kit/ui / AddressFieldsProps

Interface: AddressFieldsProps ​

Properties ​

PropertyTypeDescription
autoCompleteSection?"billing" | "shipping"shipping switches the autofill section, so the two addresses fill separately.
className?string-
countriesreadonly SelectOption[]From you: the kit ships no country list, and yours is shorter than the world's.
disabled?boolean-
errors?Partial<Record<keyof AddressValue, ReactNode>>-
fields?readonly keyof AddressValue[]Drop the ones your provider does not ask for.
labels?Partial<AddressLabels>-
onChange(value) => void-
valueAddressValue-

Apache-2.0 · Headless engine, provider adapters and runnable examples.