Skip to main content
The fullName element renders either one combined name input or two side-by-side first/last inputs. The submitted value shape is identical across both renderings.

Factory

Example

Single-input (default):
Split first/last, side by side:
Split first/last, stacked:

Options

All three field keys are always exposed. Keys that do not match the current mode are ignored at render time, so you can flip modes without rewriting fields.

splitMode: 'horizontal'

Renders first and last inputs side by side. Collapses to vertical when the host container is narrower than roughly 440 pixels.

splitMode: 'vertical'

Stacks the inputs at every width.

Per-half disabled

In split mode, per-half fields.firstName.disabled and fields.lastName.disabled override the element-level disabled cascade.

Value

Identical across both renderings:
null until either half is non-empty. complete flips true only when both halves pass their format check.

FieldError.field

  • Single mode: 'fullName'.
  • Split mode: 'firstName' or 'lastName' per half.

Inside Checkout

Also opts in as a slot on address elements. See Billing address.

See also

Last modified on July 17, 2026