Text Prompting
Use text prompting to create initial UIs and answer technical questions with natural language.
You can describe what you want to build in natural language, and v0 will generate a working web app based on your input.
Basic Examples
Start with simple, descriptive prompts. For example:
- "A dashboard with a login page and user profile view"
- "A landing page for a mobile app with a hero section, features grid, and pricing table"
- "An internal tool to manage customer support tickets"
- "A product feedback form that writes to a database"
AI prompt enhancement
After writing a simple prompt, v0 may offer to enhance it with more details. Select the enhancement option to get a comprehensive specification that improves your results. This feature is particularly useful when you're not sure about all the technical details.
For example:
- Original: "Make a todo app."
- Enhanced: "Create a modern todo application with add/edit/delete tasks, completion tracking, filtering, localStorage persistence, and responsive design."
Development Workflow
Simple Projects (Direct Implementation)
For straightforward applications with clear requirements, start directly with implementation. This approach works well for single-purpose tools, landing pages, or simple CRUD applications.
Complex projects (planning first)
For multi-feature applications, enterprise tools, or systems with multiple user roles, start with planning. This helps ensure you don't miss critical requirements and creates a roadmap for development.
1. Requirements gathering
Define what you're building and who will use it:
2. Implementation
Build the core functionality based on your requirements:
"Build the MVP based on the PRD, starting with core features."
3. Iteration
Add features and refinements based on your initial implementation:
"Add search functionality and pagination to the task list."
"Implement real-time updates using WebSockets."
Best Practices
Be Specific
The more specific your prompt, the better the results. Include details about functionality, design preferences, and technical requirements.
Instead of: "Make a website"
Try:
Break down complex tasks
Large, complex applications are better built incrementally. This approach reduces errors, allows for testing at each stage, and makes debugging easier.
Too Complex:
Better Approach:
Then follow up:
Include technical details
Specify your preferred technologies, frameworks, and integrations. This helps v0 generate code that matches your existing stack or preferences.
Specify UI/UX preferences
Include design preferences to get results that match your vision. Consider factors like color schemes, layout preferences, and user experience requirements.
Include error handling
Robust applications need proper error handling. Specify how you want to handle common failure scenarios to ensure a good user experience.
Advanced techniques
Ask v0 to plan
When you're unsure how to approach a complex project, let v0 help you break it down. This is especially useful for projects with multiple stakeholders or complex business logic.
Component-first development
Build your application piece by piece, starting with individual components. This approach gives you more control over each part and makes debugging easier.
Then: "Add a hero section below the header"
Progressive enhancement
Start with core functionality and gradually add features. This approach ensures your application works at every stage and helps you prioritize features based on user feedback.
- Core Features:
"Create a basic todo list with add/delete"
- Data Persistence:
"Add localStorage to save todos"
- User Experience:
"Add completion checkboxes and filtering"
Prompt templates
Use these templates as starting points for common development patterns. Customize them based on your specific requirements.
CRUD operations
Authentication
Dashboards
Complete example workflow
Here's how to build a customer support ticket system from start to finish. This example shows the progression from planning to a fully functional application:
1. Planning
2. Core implementation
3. Agent features
4. Enhancements
Technical questions
v0 is trained on the latest Vercel ecosystem documentation and can answer questions about:
- Next.js - React framework for production
- Svelte - Cybernetically enhanced web apps
- Turborepo - High-performance build system
- AI SDK - AI-powered applications
- Vercel - Cloud platform for frontend developers
Example queries
Use v0 to get specific answers about implementation details, best practices, and troubleshooting:
- "How do I implement server-side rendering in Next.js 14?"
- "What's the best way to handle authentication in SvelteKit?"
- "How can I optimize my Turborepo build performance?"
Next steps
Once you've generated your initial application:
- Design Mode - Refine the visual design and layout
- Code Editing - Make direct code changes
- Deployment - Deploy your application to Vercel