AddressForm

Domain

Full address form with full name, phone, address lines, city, state/district, postal code, and country. Pre-fillable via the initial prop.

Empty

Preview

New Address

Code
<AddressForm onSubmit={handleSave} />

Pre-filled

Preview

Edit Address

Code
<AddressForm initial={existingAddress} submitLabel="Update" onCancel={handleCancel} onSubmit={handleUpdate} />
Sourcemodules/domains/common/address/AddressForm.tsx