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