Skip to content

NaveenMathramkott/figma-clone-nextjs

Repository files navigation

Figma Clone Next JS

Replication of Figma editor with real time colabration features using tech stack - Next JS, TypeScript, Shadcn, TailwindCSS, LiveBlocks and Fabric JS.

nextjs typescript tailwindcss

Features

Real time Multi Users, Cursor chat for group communtication, Active users indication, Creating different shapes & texts, Image uploading, Element customization, Freeform drawing, Undo/Redo functions, Keyboard actions, History, Exporting as PDF.

Hotkeys

  • Mouse right key : for shortcut suggestion
  • / : Open live cursor chat
  • esc : Close live cursor chat
  • ctrl+z : Undo
  • ctrl+y : Redo
  • ctrl+c : Copy
  • ctrl+v : Paste

Project Structure

  • app/: Contains Next.js pages.
  • components/: Reusable React components.
  • public/: Static assets.
  • lib/: Library files and integrations.
  • types/ : declaration of types.

Quick start

  1. Clone the repository to your local machine:

    git clone https://github.com/NaveenMathramkott/figma-clone-nextjs.git
  2. Navigate to the project directory:

    cd figma-clone-nextjs
  3. Install dependencies using npm:

    npm install
  4. Set up environment variables:

    NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY=get-your-liveblocks-public-key
  5. Run the development server:

    npm run dev

ScreenShot

Credits

A heartfelt thank you to Adrian Hajdin for inspiring and guiding.

About

Next JS, Shadcn UI, Liveblock collab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors