You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0 is Vercel's AI-powered UI generation tool that converts natural language prompts into production-ready React components using shadcn/ui and Tailwind CSS. The IA is structured as a prompt-to-component workshop — the interface is a chat where each AI response is a live-rendered, editable UI component. Unlike general-purpose AI tools, v0 is laser-focused on frontend generation: every output is a functional React component that can be copied, iterated upon, or deployed directly to Vercel. The product emphasizes an iterative design loop: prompt → preview → refine → ship. It integrates tightly with the Next.js/Vercel ecosystem and supports image-to-code workflows where users can upload design screenshots for conversion.
natural language text, attached images (for image-to-code), framework preference
belongs to Message (user role)
User
id, email, display_name, avatar, plan (free/premium/team), usage_count, created_at
has many Conversations
Team
name, members[], billing, shared_conversations
has many Users
User Flows
Generating a UI Component
Home (/) → Type prompt (e.g., "a pricing page with 3 tiers, dark theme") → v0 generates React code → Live preview renders → Toggle Preview / Code → Copy code or continue iterating
Iterative Refinement
Initial generation → Type follow-up ("make the popular tier highlighted, add comparison table") → v0 updates component → New version saved → Reference previous versions → Converge on final design
Image-to-Code
Home → Upload screenshot/mockup image → v0 analyzes design → Generates matching React component → Refine with text prompts → Copy final code
Using Generated Code
Code view → Click "Copy Code" → Paste into Next.js project → Run `npx shadcn@latest add` for dependencies → Component works out of the box → Or click "Deploy" to deploy directly to Vercel
Community Browsing and Remixing
Community → Browse trending/featured → Click generation → View live preview + prompt → "Remix" → Opens in new chat → Customize with follow-up prompts → Save as own version
URL / Route Structure
v0.dev/ # Home — prompt input
v0.dev/chat/{uuid} # Chat conversation
v0.dev/chat/{uuid}/share # Share conversation
v0.dev/community # Community gallery
v0.dev/community/trending # Trending generations
v0.dev/community/featured # Featured / staff picks
v0.dev/community/{category} # Category filter (dashboard, landing, form, etc.)
v0.dev/t/{short_id} # Shared generation (public)
v0.dev/t/{short_id}/code # Shared generation code view
v0.dev/t/{short_id}/remix # Fork/remix a generation
v0.dev/docs # Documentation home
v0.dev/docs/getting-started # Getting started guide
v0.dev/docs/prompting # Prompting best practices
v0.dev/docs/components # Supported shadcn/ui components
v0.dev/docs/integration # Next.js integration guide
v0.dev/docs/cli # CLI reference
v0.dev/docs/api # API reference
v0.dev/pricing # Pricing page
v0.dev/settings # Settings home
v0.dev/settings/account # Account settings
v0.dev/settings/subscription # Subscription management
v0.dev/settings/api-keys # API key management
v0.dev/settings/preferences # Default preferences
v0.dev/auth/signin # Sign in
v0.dev/auth/signup # Sign up
Search & Filter
Community search: Search shared generations by keyword, description, or component type