7.3 KiB
v0 UX/UI Architect User Guide
Overview
The v0 UX/UI Architect is a specialized persona in the BMAD Method designed to bring rapid visual design generation and component implementation capabilities to your development workflow. This persona embodies the power of modern AI-driven design tools like v0, enabling you to transform simple prompts into stunning, functional frontend implementations.
Available Personas
Veronica (Web-based)
- Environment: Web-based AI platforms (ChatGPT, Gemini, Claude)
- Strengths: Design planning, specification creation, visual concept generation
- Best for: Initial design exploration, creating comprehensive specifications, generating design documentation
Victor (IDE-based)
- Environment: IDE environments (Cursor AI, Cline, Claude Code, Roocode)
- Strengths: Direct code implementation, real-time development, file system integration
- Best for: Component implementation, rapid prototyping, iterative development
When to Use the v0 UX/UI Architect
Perfect Use Cases:
- Rapid Prototyping: Need to quickly visualize a concept or feature
- Component Creation: Building reusable UI components for your design system
- Design System Development: Creating consistent, scalable component libraries
- Frontend Implementation: Converting designs into production-ready code
- Visual Exploration: Exploring different design directions for a feature
Integration Points in BMAD Workflow:
- After Analyst Phase: Transform project briefs into visual concepts
- During PM Phase: Create UI mockups to support PRD development
- Parallel to Architecture: Ensure design feasibility with technical constraints
- Before Development: Provide ready-to-implement component specifications
Web Environment Usage (Veronica)
Activation Commands:
- "I need Veronica to help with UI design"
- "Activate the v0 UX/UI Architect"
- "I want to create some frontend components"
Sample Prompts:
"Veronica, I need you to create a modern dashboard component for a SaaS application.
It should include a sidebar navigation, main content area, and header with user profile."
"Can you help me design a product card component for an e-commerce site?
It needs to show product image, title, price, and add to cart button."
"I need a complete design system for a fintech application.
Can you create the core components with consistent styling?"
Expected Outputs:
- Detailed component specifications
- Visual design descriptions
- Implementation guidelines
- Accessibility considerations
- Integration instructions
IDE Environment Usage (Victor)
Setup Requirements:
- Copy the
bmad-agentfolder to your project root - Ensure your IDE can access the persona file:
bmad-agent/personas/v0-ux-ui-architect.ide.md - Have your preferred frontend framework and styling system ready
Activation in IDEs:
Cursor AI:
- Open the persona file in Cursor
- Use Cursor's chat feature: "Activate Victor, the v0 UX/UI Architect"
- Provide your component requirements
Cline (Claude Dev):
- Reference the persona file in your chat
- Ask Cline to embody the v0 UX/UI Architect persona
- Specify your implementation needs
Claude Code:
- Load the persona file as context
- Request the v0 UX/UI Architect capabilities
- Provide detailed component specifications
Roocode:
- Import the persona configuration
- Activate the v0 UX/UI Architect mode
- Begin rapid prototyping workflow
Sample IDE Prompts:
"Victor, I need you to implement a responsive navigation component using React and Tailwind CSS.
It should work on mobile and desktop with a hamburger menu for mobile."
"Can you create a data table component with sorting, filtering, and pagination?
Use TypeScript and make it reusable across the application."
"I need a complete login form with validation, error handling, and accessibility features.
Implement it using our existing design system tokens."
Expected Outputs:
- Complete component files (JSX/TSX, CSS, tests)
- Updated imports and exports
- Integration with existing codebase
- Documentation and usage examples
Best Practices
Effective Prompting:
- Be Specific: Include details about functionality, styling, and technical requirements
- Provide Context: Mention your tech stack, design system, and any constraints
- Include Examples: Reference existing designs or components you like
- Specify Scope: Clarify if you want just the design, just the code, or both
Quality Assurance:
- Always run the v0 Component Quality Checklist after component creation
- Test components in multiple browsers and devices
- Validate accessibility with screen readers and keyboard navigation
- Ensure components integrate properly with your existing design system
Workflow Integration:
- Start with Requirements: Use output from Analyst or PM phases
- Create Specifications: Generate detailed component specs with Veronica
- Implement Components: Use Victor for direct code implementation
- Quality Check: Run through the component quality checklist
- Document: Create usage examples and integration guides
Troubleshooting
Common Issues:
"The persona doesn't understand my tech stack"
- Solution: Provide more specific technical context in your prompts
- Include package.json dependencies or framework versions
"Generated components don't match our design system"
- Solution: Provide design system documentation or existing component examples
- Reference your design tokens, color palette, and typography scale
"Code doesn't work in my environment"
- Solution: Specify your exact setup (React version, CSS framework, build tools)
- Ask for environment-specific implementation
"Components aren't accessible"
- Solution: Explicitly request accessibility features in your prompts
- Run the accessibility checklist and ask for improvements
Getting Help:
- Reference the component quality checklist for systematic troubleshooting
- Use the BMAD Method's other personas (Architect, PM) for additional context
- Check the example projects for reference implementations
Advanced Usage
Design System Creation:
- Start with core tokens (colors, typography, spacing)
- Create atomic components (buttons, inputs, labels)
- Build molecular components (forms, cards, navigation)
- Develop organism-level components (headers, sidebars, layouts)
- Document everything with usage examples
Cross-Environment Workflow:
- Planning Phase: Use Veronica in web environment for initial design exploration
- Specification Phase: Create detailed component specs and documentation
- Implementation Phase: Switch to Victor in IDE for direct code implementation
- Iteration Phase: Use IDE environment for rapid refinement and testing
Integration with Other BMAD Personas:
- With Analyst: Transform project briefs into visual concepts
- With PM: Create UI mockups to support feature requirements
- With Architect: Ensure technical feasibility of design decisions
- With PO: Validate component specifications against user stories
This comprehensive approach ensures that the v0 UX/UI Architect becomes a powerful tool in your development workflow, capable of handling everything from initial design exploration to final implementation across multiple environments.