Commmerce Docs

What it is

Standalone sign-in form. Works inside a dialog or as a standalone page. Supports password, social OAuth, and magic link.

When to use

  • /login page
  • Login modal triggered from the header
  • Inline login on checkout

Attributes

AttributeTypeDefaultDescription
data-methodstringallComma-separated allowed methods — password,google,apple.
idstringUnique element identifier.
classstringCustom CSS class list.
hiddenbooleanfalseHide the element without removing it from the DOM.

Examples

Default

All configured methods.

<mmm-login></mmm-login>