One command installs complete features with React components and Convex backend functions. Build faster, ship sooner.
What is Convex UI?
Convex UI is a collection of copy-paste components built on shadcn/ui design patterns that integrate seamlessly with Convex. Each component includes:- React frontend components styled with Tailwind CSS
- Convex backend functions with queries, mutations, and schema
- Full TypeScript support for end-to-end type safety
- Framework flexibility for Next.js, React, TanStack Start, and React Router v7
Authentication
Complete password-based and social OAuth flows using Convex Auth. Includes login, signup, password reset, and protected routes.
File Storage
Drag-and-drop file uploads powered by Convex Storage. Built-in progress tracking and file validation.
Realtime Chat
Instant messaging with automatic sync. Messages update across all clients in real-time with zero configuration.
Realtime Cursors
Collaborative presence indicators. Show where other users are pointing for multiplayer experiences.
Why Convex UI?
Realtime by default
Convex provides reactive queries out of the box. When data changes anywhere, your UI updates automatically—no polling, no WebSocket configuration, no cache invalidation.Full-stack in one command
Each component includes both frontend and backend code. No separate API layer to build or maintain.- React components in
src/components/ - Convex functions in
convex/ - Database schema definitions
- All required dependencies
Your code, your control. Unlike npm packages, these components copy directly into your project. Customize styles, logic, and backend functions however you need.
Framework support
Works with your preferred React framework:| Framework | Status | Auth | Storage | Realtime |
|---|---|---|---|---|
| Next.js | ✅ Full | ✅ | ✅ | ✅ |
| React (Vite) | ✅ Full | ✅ | ✅ | ✅ |
| TanStack Start | ✅ Full | ✅ | ✅ | ✅ |
| React Router | ✅ Full | ✅ | ✅ | ✅ |
Component architecture
Every Convex UI component follows this structure:Available components
Authentication
Password Auth
Email/password login with signup, password reset, and email verification flows.
Social Auth
OAuth with GitHub and Google. Extensible for additional providers.
Realtime features
Chat
Real-time messaging with message history and typing indicators.
Cursors
Show live cursor positions for collaborative experiences.
Avatar Stack
Display online users with presence tracking.
Storage
Dropzone
Drag-and-drop file uploads with progress tracking and validation.
How it works
Convex UI uses the shadcn/ui registry system to deliver components:Files are copied to your project
- React components →
src/components/ - Convex functions →
convex/ - Dependencies installed automatically
Attribution
Convex UI is based on the Supabase UI Library (Apache 2.0). The original work has been adapted to use Convex as the backend platform.Next steps
Quick Start
Set up your first Convex UI component in under 5 minutes
FAQ
Common questions about installation, frameworks, and troubleshooting