Commmerce Docs

What it is

A standalone address form used by checkout, account, and any other surface that needs to capture an address. Validates country-specific postcode formats.

When to use

  • Account address book
  • Checkout shipping and billing
  • B2B account creation

Attributes

AttributeTypeDefaultDescription
data-country-defaultstringautoPre-selected country (auto-detected when omitted).
idstringUnique element identifier.
classstringCustom CSS class list.
hiddenbooleanfalseHide the element without removing it from the DOM.

Examples

Default

Country-aware address form.

<mmm-address></mmm-address>