X Enterprises
nuxt-x-auth-better

MagicLink

Magic link request form that collects an email and sends a Better Auth passwordless sign-in link.

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-better"
use-when: Magic link sign-in page — collects email and sends a Better Auth passwordless link
Copyright © 2026