X Enterprises
nuxt-x-auth

Form

Low-level auth form container that provides the shared card, layout, and branding shell used by all auth page components.

Form

The XAuthForm component is the low-level container used internally by all auth page components. It renders the card, applies the configured layout (centered or split), shows the logo and brand name, and provides a consistent visual shell. Use it when building a custom auth page that doesn't fit the pre-built components.

Components

<XAuthForm />

Wrap custom form content inside XAuthForm to inherit the shared auth layout.

<XAuthForm title="Verify Email" subtitle="Enter the code we sent you">
  <!-- custom form content -->
</XAuthForm>

Props

PropTypeDefaultDescription
titlestring''Heading displayed inside the card
subtitlestring''Subheading below the title
showLogobooleanxAuth.ui.showLogoOverride logo visibility

Slots

SlotDescription
defaultForm content rendered inside the card

AI Context

component: XAuthForm
package: "@xenterprises/nuxt-x-auth"
use-when: Building a custom auth page that needs the shared card/layout/branding shell
Copyright © 2026