X Enterprises
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

Use on the /auth/magic-link page.

<XAuthMagicLink />

Props

PropTypeDefaultDescription
loadingbooleanfalseShow a loading state on the submit button
errorstring | nullnullDisplay 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
Copyright © 2026