Skip to content

crypticsaiyan/CanvasX

 
 

Repository files navigation

CanvasX

License: MIT TypeScript React

A modern visual website builder with AI-powered design assistance. Build production-ready websites using natural language and intuitive drag-and-drop.

CanvasX Landing

✨ Features

  • 🎨 Infinite CanvasX - Unlimited workspace with precision snap-to-grid
  • 🤖 AI Agent - Natural language commands for design modifications
  • Live Preview - Real-time rendering of your designs
  • 🧩 Component Library - Pre-built UI components
  • 📦 Export Code - Generate clean React/HTML/Tailwind code
  • 🎭 Theme System - Multiple color palettes with instant switching

🚀 Tech Stack

  • React 18 + TypeScript
  • Vite 7
  • Tailwind CSS
  • shadcn/ui + Radix UI
  • Framer Motion
  • Tambo AI
  • @dnd-kit

⚙️ Installation

# Clone repository
git clone https://github.com/yourusername/canvasx.git
cd canvasx

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Add your VITE_TAMBO_API_KEY to .env

# Start development server
npm run dev

📖 Usage

  1. Add Components: Drag components from the left sidebar onto the canvas
  2. Customize: Use the right sidebar to adjust properties
  3. AI Assistance: Press Cmd/Ctrl + K for AI commands
  4. Export: Click "Export" to generate code

📜 Scripts

npm run dev       # Start development server
npm run build     # Build for production
npm run preview   # Preview production build
npm test          # Run tests

📁 Project Structure

canvasx/
├── src/
│   ├── components/
│   │   ├── builder/          # Canvas builder components
│   │   ├── landing/          # Landing page
│   │   └── ui/               # UI components (shadcn/ui)
│   ├── contexts/             # React contexts
│   ├── lib/                  # Utilities
│   └── pages/                # Page components
└── public/                   # Static assets

📝 License

MIT License - see LICENSE file for details.


Made with ❤️ by the CanvasX Team

About

Drag and drop website builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 98.2%
  • CSS 1.5%
  • Other 0.3%