X Enterprises
nuxt-x-neon-auth

OAuthButton

Single OAuth provider sign-in button with inline SVG icons for Neon Auth.

OAuthButton

The XAuthOAuthButton component renders a single sign-in button for one OAuth provider, with inline SVG icons for supported providers (Google, GitHub, Apple, etc.). It calls loginWithProvider with the provider id when clicked.

Components

<XAuthOAuthButton />

Pass a provider id to render a styled button for that provider.

<XAuthOAuthButton provider="google" />

Props

PropTypeDefaultDescription
providerstringrequiredOAuth provider id (e.g. 'google', 'github', 'apple')
loadingbooleanfalseShow a loading spinner on the button

AI Context

component: XAuthOAuthButton
package: "@xenterprises/nuxt-x-neon-auth"
use-when: Render a single OAuth provider sign-in button with Neon Auth
Copyright © 2026