X Enterprises
nuxt-x-auth-stack

MagicLink

Magic link request form that sends a Stack Auth passwordless sign-in email.

MagicLink

The XAuthMagicLink component renders a single email field that calls sendMagicLink. After a successful send it switches to a confirmation message. 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-stack"
use-when: Magic link sign-in page backed by Stack Auth
Copyright © 2026