Skip to content

getFrontend/next-figma-clone

Repository files navigation

About

FigMan is a minimalist clone of Figma, designed to help you create beautiful user interfaces without the clutter. It has some usefull features like live collaboration with cursor chat, comments, reactions, and drawing designs (shapes, image upload) on the canvas using fabric.js.

This project is realized thanks to the JavaScript Mastery 🚀 tutorial and masterclass from Adrian Hajdin.

In the course of the project it was possible to consolidate the skills of real practical tasks, work with code documentation.

Tech Stack

⚙️ Next.js 14

⚙️ TypeScript

⚙️ Liveblocks (Live Presence, Live Comments, Live Reactions)

⚙️ Fabric.js

⚙️ Tailwind CSS

⚙️ Shadcn UI

Features

Multi Cursors, Cursor Chat, and Reactions: Allows multiple users to collaborate simultaneously by showing individual cursors, enabling real-time chat, and reactions for interactive communication.

Active Users: Displays a list of currently active users in the collaborative environment, providing visibility into who is currently engaged.

Comment Bubbles: Enables users to attach comments to specific elements on the canvas, fostering communication and feedback on design components.

Creating Different Shapes: Provides tools for users to generate a variety of shapes on the canvas, allowing for diverse design elements

Uploading Images: Import images onto the canvas, expanding the range of visual content in the design

Customization: Allows users to adjust the properties of design elements, offering flexibility in customizing and fine-tuning visual components

Freeform Drawing: Enables users to draw freely on the canvas, promoting artistic expression and creative design.

Undo/Redo: Provides the ability to reverse (undo) or restore (redo) previous actions, offering flexibility in design decision-making

Keyboard Actions: Allows users to utilize keyboard shortcuts for various actions, including copying, pasting, deleting, and triggering shortcuts for features like opening cursor chat, reactions, and more, enhancing efficiency and accessibility.

History: Review the chronological history of actions and changes made on the canvas, aiding in project management and version control.

Deleting, Scaling, Moving, Clearing, Exporting Canvas: Offers a range of functions for managing design elements, including deletion, scaling, moving, clearing the canvas, and exporting the final design for external use.

and many more, including code architecture, advanced react hooks, and reusability.