neon-auth-react
Installation
SKILL.md
Neon Auth for React
Help developers set up @neondatabase/auth (authentication only, no database) in React applications with Vite, Create React App, or similar bundlers.
When to Use
Use this skill when:
- Setting up auth-only in React (no database needed)
- User already has a database solution
- User mentions "@neondatabase/auth" without "neon-js"
- User is NOT using Next.js (use
neon-auth-nextjsskill for Next.js)
Critical Rules
- Adapter Factory Pattern: Always call adapters with
()- they are factory functions - React Adapter Import: Use subpath
@neondatabase/auth/react/adapters - createAuthClient takes URL as first arg:
createAuthClient(url, config) - CSS Import: Choose ONE - either
/ui/cssOR/ui/tailwind, never both
Related skills
More from neondatabase/neon-js
neon-auth-nextjs
Sets up Neon Auth in Next.js App Router applications. Configures API routes, middleware, server components, and UI. Use when adding auth-only to Next.js apps (no database needed).
37neon-js-react
Sets up the full Neon SDK with authentication AND database queries in React apps (Vite, CRA). Creates typed client, generates database types, and configures auth UI. Use for auth + database integration.
22