A modern Figma clone built with TypeScript, Next.js, and tldraw API featuring a bottom-aligned toolbar.
- Canvas Drawing: Full-featured drawing canvas powered by tldraw
- Bottom Toolbar: Clean, modern toolbar with essential tools
- Drawing Tools: Select, Draw, Rectangle, Ellipse, Arrow, Text, and Image tools
- Actions: Undo, Redo, Copy, and Delete functionality
- Color Palette: Quick color selection with preset colors
- Responsive Design: Modern UI with TailwindCSS
- TypeScript: Fully typed for better development experience
- Select Tool: Select and manipulate objects
- Draw Tool: Freehand drawing
- Rectangle Tool: Create rectangular shapes
- Ellipse Tool: Create circular/oval shapes
- Arrow Tool: Create directional arrows
- Text Tool: Add text elements
- Image Tool: Insert images
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser
- Next.js 15 - React framework
- TypeScript - Type safety
- TailwindCSS - Styling
- tldraw - Drawing canvas API
- Lucide React - Icons
src/
├── app/
│ ├── globals.css
│ └── page.tsx
└── components/
├── Canvas.tsx
└── Toolbar.tsx
The project uses:
- Next.js App Router
- TypeScript for type safety
- TailwindCSS for styling
- tldraw for the drawing functionality
- Lucide React for icons
MIT