# `EzAuth.UI.SignIn`
[🔗](https://github.com/thiagomajesk/ez_auth/blob/v0.1.0/lib/ez_auth/ui/sign_in.ex#L1)

Sign-in form as a LiveComponent.

Renders a single polymorphic identity input that detects email or
phone shape as the user types. When the typed value is an email
and a credential strategy is enabled, the password input reveals
itself. When any passwordless strategy is also enabled, a
"Continue without a password" button appears below the submit
button so the user can skip credential entry.

Strategy order is significant. `EzAuth.Config.strategies/0` controls the
order of rendered buttons, and the first strategy matching the
detected identity is used for form submission. The "Continue without
a password" button applies the same rule after filtering to
passwordless strategies.

Verification (post-link, post-code) is the responsibility of
`EzAuth.UI.TaskVerifyAccount`.

Validation delegates to `EzAuth.Accounts.User`.

## Usage

    <.live_component module={EzAuth.UI.SignIn} id="sign-in" />

---

*Consult [api-reference.md](api-reference.md) for complete listing*
