Quick Start
Get up and running with FlowCraft in just 5 minutes! This guide will walk you through creating your first AI-generated component.
Step 1: Create Your First Project
Web Application
Log into FlowCraft
Click "New Project"
Name your project (e.g., "My First Component")
Select your preferred framework (React recommended)
Click "Create Project"
CLI
# Create a new project
flowcraft create my-first-component
# Navigate to project directory
cd my-first-component
# Initialize with React and Tailwind
flowcraft init --framework react --styling tailwindStep 2: Prepare Your Design
FlowCraft works with various design inputs:
Option A: Use a Sample Design
We've included sample designs to get you started:
In your project, click "Use Sample Design"
Select "Landing Page Hero Section"
Click "Import Sample"
Option B: Upload Your Own Design
Click "Upload Design"
Drag and drop your design file (PNG, JPG, SVG, or Figma URL)
Wait for the upload to complete
Option C: Design from Scratch
Click "Sketch Mode"
Use our built-in drawing tools
Create a simple wireframe or mockup
Step 3: Generate Your Component
Using the Web Interface
With your design uploaded, click "Analyze Design"
Review the AI's component detection
Adjust component boundaries if needed
Click "Generate Code"
Wait 30-60 seconds for generation to complete
Using CLI
Step 4: Review and Customize
Code Review
Examine the generated React component
Check the component structure and styling
Review responsive design breakpoints
Verify accessibility features
Customization Options
Step 5: Test and Deploy
Local Testing
Quick Deployment
Example: Creating a Button Component
Let's create a simple button component to demonstrate the workflow:
1. Create the Design
2. Generate the Component
3. Review Generated Code
4. Use Your Component
What's Next?
Congratulations! You've created your first FlowCraft component. Here's what to explore next:
Immediate Next Steps
Create your first project - Build something more complex
Learn basic concepts - Understand FlowCraft fundamentals
Explore features - Discover all of FlowCraft's capabilities
Advanced Topics
Design-to-Code Workflow - Master the complete process
Advanced Techniques - Pro tips and tricks
API Integration - Integrate FlowCraft into your existing tools
Community Resources
Join our Discord - Get help and share your creations
Follow tutorials - Step-by-step project guides
Check the showcase - See what others are building
Tips for Success
Start Simple: Begin with basic layouts before attempting complex designs
Iterate Quickly: Use FlowCraft's regeneration features to refine your components
Learn from Examples: Study the generated code to understand best practices
Join the Community: Share your work and learn from other FlowCraft users
Happy coding! 🚀
Last updated