Claude Opus 5.5 Figma Clone Demonstration
Claude Opus 5.5 builds a Figma clone in under three hours
Using Claude Opus 5.5 and the Mana platform, a functional Figma clone was developed in 2 hours and 53 minutes using only eight prompts. The resulting application includes core design tool capabilities such as auto layout, vector editing, and live multiplayer collaboration, supporting files with approximately 20,000 layers.
Development Timeline and Prompt Sequence
The build process spanned a total session of 4 hours and 19 minutes on October 9, with active coding time totaling under three hours. The development followed this sequence:
- Initial Editor (1 prompt, 54 min): The base editor was created from a single request for a fully featured, collaborative Figma clone.
- Feature Refinement (5 prompts, 17 min): Five follow-up prompts added full view, corner-radius handles, boolean operations, the K scale tool, and other feature gaps.
- Rendering Optimization (1 prompt, 89 min): After a brief planning phase, a tile-based renderer was built to replace the original SVG renderer.
- Final Fixes (1 prompt, 10 min): A fix was implemented to ensure cached files displayed immediately without waiting for synchronization.
Core Feature Set
The generated editor implements a wide array of professional design tool features:
- Layout and Framing: Support for frames, auto layout, groups, constraints, "hug" and "fill" settings, clip content, and layout grids.
- Vector Tools: A pen tool, pencil tool, point editing, boolean operations (union, subtract, intersect, exclude), and masks.
- Components: Implementation of main components, instances, and overrides.
- Styling: Integration of Google Fonts, gradients, image fills, strokes, shadows, and blur effects.
- Prototyping: Interaction triggers (click, hover, delay) with transitions and a dedicated present mode.
- Multiplayer: Live cursors, selection tracking, cursor chat, follow mode, and comment threads.
- Export: Ability to export selections as PNG, JPG, SVG, or CSS code.
High-Performance Rendering Engine
To solve performance degradation occurring in the original SVG renderer after a few thousand layers, Claude replaced it with a tile-based Canvas 2D engine. This engine utilizes five key technical strategies:
- Incremental Scene Updates: Only the layout affected by an edit is recomputed.
- 512px Tiling: The engine reuses cached tiles during panning and only repaints tiles affected by edits.
- Frame Bitmaps: Large frames are cached as bitmaps at various zoom levels.
- Spatial Indexing: A spatial index is used to locate layers under the cursor without scanning the entire file.
- Unified Text Measurement: The same measurements are used for both layout and drawing to ensure consistency.
Renderer Performance Benchmarks
| Layers | Action | SVG Renderer | Tile Engine | Speedup |
|---|---|---|---|---|
| 10,200 | Pan | 133 ms | 18 ms | 7× |
| 10,200 | Zoom | 515 ms | 29 ms | 18× |
| 10,200 | Drag Frame | 292 ms | 23 ms | 13× |
| 51,000 | Pan | 875 ms | 21 ms | 42× |
| 51,000 | Zoom | 2,959 ms | 61 ms | 40× |
| 51,000 | Drag Frame | 2,685 ms | 67 ms | 40× |
Infrastructure and AI Integration
Claude wrote approximately 8,200 lines of React for the core editor logic, including hit testing and undo functionality. The project relied on the Mana infrastructure for the following:
- Backend Services: Sign-in, storage, hosting, file sharing, and offline support.
- AI Assistant: An integrated assistant capable of reading open files and selected layers to create or revise designs based on natural language descriptions.
Limitations and Community Critique
The clone currently lacks advanced power-user features, including variants, component properties, styles, variables, and mixed formatting within single text boxes. It also lacks "Smart Animate" and scrolling frames in prototypes.
Industry professionals have raised concerns regarding the "vibe-coding" nature of these AI-generated clones. An ex-Figma employee noted that while AI can achieve visual parity for casual users, it often misses the complex edge cases and conditional logic required for professional-grade tools:
I led the variables workstream at Figma, and it still is the most complex thing I've worked on in my 20 years of tech. The amount of edge cases / conditionals / exceptions in it are staggering, just to get it to a point where it seems like "simple" (for a power users' definition of simple).
Other critics questioned the validity of the 8,200-line count for a full clone and suggested that the implementation might be a high-fidelity demo rather than a production-ready tool.
Sources
Related
- Dispatch
- Dispatch
- Dispatch
- Dispatch
- Dispatch