What is v0?
v0 is an AI-powered generative UI tool by Vercel that lets you:- Generate UI with prompts - Describe what you want and v0 creates the code
- Edit visually - Modify components in a live preview environment
- Iterate quickly - Refine designs with natural language
- Export clean code - Get production-ready React components
Using v0 with shadcn/ui
Browse components
Visit ui.shadcn.com/docs/components and find a component you want to customize.
Open in v0
Click the “Open in v0” button on any component page to launch the editor with that component pre-loaded.
Getting started with v0
To use v0, you’ll need a free Vercel account:Sign up for Vercel
Create a free account to access v0 and Vercel’s deployment platform
- Free hosting for your projects
- Automatic deployments from Git
- Preview deployments for pull requests
- Edge functions and serverless APIs
Example workflows
Customizing a button
Building a form
Creating a dashboard
Benefits
Faster iteration
Test design changes instantly without manual coding
AI assistance
Get suggestions and improvements from AI
Learn patterns
See how different UI patterns are implemented
Production ready
Export clean, type-safe React code
Best practices
Start with shadcn/ui components
Start with shadcn/ui components
Use existing shadcn/ui components as a foundation. They’re already accessible, well-tested, and follow best practices.
Be specific in prompts
Be specific in prompts
Detailed prompts get better results. Instead of “make it better,” try “increase padding by 4px and add a subtle shadow.”
Iterate gradually
Iterate gradually
Make changes incrementally. It’s easier to refine than to completely rewrite.
Review generated code
Review generated code
Always review the generated code before adding it to your project. Ensure it meets your standards and requirements.
Learn more
v0 Documentation
Learn more about v0’s features and capabilities
Vercel Documentation
Get started with Vercel’s platform
Component Library
Browse all available shadcn/ui components
Examples
See pre-built blocks and templates