Adding Components
Click “Add Component” to see import options:1. From Screenshot
Convert UI screenshots into JSX components using AI. How it works:- Click “From Screenshot”
- Upload an image (PNG, JPG, JPEG, WebP)
- The AI analyzes the visual design
- Review and edit the generated JSX code
- Add component name, description, and props
- Save to your design system
- Use high-quality, clear screenshots
- Crop to show only the component (not full pages)
- Ensure good contrast and visibility
- Include both light and dark mode if applicable
2. From Figma
Import components directly from Figma designs using VibeFigma integration. Requirements:- Figma integration must be configured in Settings
- Access to the Figma file
- Valid Figma node URL
- Click “From Figma”
- Paste the Figma node URL
- VibeFigma converts the design to React code
- Review and customize the component
- Save to your library
3. Vibe Designer
Generate components from natural language prompts using AI. How it works:- Click “Vibe Designer”
- Describe the component you want (e.g., “A pricing card with three tiers and a popular badge”)
- The AI generates JSX code based on your design guidelines
- Review and refine the output
- Save to your design system
- Be specific about layout, colors, and interactions
- Reference your design guidelines for consistency
- Iterate by regenerating with more details
4. Manual Input
Paste or write JSX code directly. When to use:- You have existing component code
- Migrating from another system
- Custom, hand-crafted components
- Click “Manual Input”
- Paste your JSX code
- Add component metadata (name, description, props)
- Optionally add prop definitions for documentation
- Save to your library

