Introduction
Production-ready authentication snippets for modern web applications
Browse Snippets
Authentication patterns for Next.js, Cloudflare Workers, and more
Components
Pre-built UI components for authentication
What is this?
A collection of production-ready authentication snippets that you can install with a single command. Each snippet includes:
- Complete implementation files
- Type safety with TypeScript
- Best practices built-in
- Easy customization
Quick Start
# Install a snippet
npx shadcn@latest add [snippet-url]
# Example: Subdomain cookies
npx shadcn@latest add https://snippets.thedevdavid.com/r/next-supabase-subdomain-cookies.json
Contributing
All snippets are open source. Contribute on GitHub.
License
MIT - see LICENSE
How is this guide?
Last updated: 6/2/2025
Last updated on