nuxt-x-auth-stack
Form
Base form wrapper that provides the shared card and layout shell for Stack Auth page components.
Form
The XAuthForm component is the base form wrapper used internally by all Stack Auth page components. It renders the card, applies the configured layout, shows branding, and provides a consistent visual shell. Use it when building a custom auth page.
Components
<XAuthForm />
Wrap custom form content inside XAuthForm to inherit the shared auth layout.
<XAuthForm title="Verify Email" subtitle="Check your inbox">
<!-- custom form content -->
</XAuthForm>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | '' | Heading displayed inside the card |
subtitle | string | '' | Subheading below the title |
showLogo | boolean | xAuth.ui.showLogo | Override logo visibility |
Slots
| Slot | Description |
|---|---|
default | Form content rendered inside the card |
AI Context
component: XAuthForm
package: "@xenterprises/nuxt-x-auth-stack"
use-when: Building a custom auth page for Stack Auth that needs the shared card/layout shell
