nuxt-x-auth
MagicLink
Magic link request form that collects the user's email and sends a sign-in link.
MagicLink
The XAuthMagicLink component renders an email input form that calls sendMagicLink. After a successful send it switches to a confirmation state. Visible when xAuth.features.magicLink is true.
Components
<XAuthMagicLink />
Use on the /auth/magic-link page.
<XAuthMagicLink />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
loading | boolean | false | Show a loading state on the submit button |
error | string | null | null | Display an error message above the form |
AI Context
component: XAuthMagicLink
package: "@xenterprises/nuxt-x-auth"
use-when: Magic link sign-in page — collects email and sends a passwordless link
