Docs
  • Introduction
  • 🚀Get started
    • 1️⃣Install the plugin
    • 2️⃣Load Clapy in your file
    • 3️⃣Sign in/up to Clapy
    • 4️⃣Get code in 1 click
    • Online code preview/editor, Github, and more
  • 🖌️Figma Basics
    • Components
    • Your first Figma component
    • Add auto-layout in Frames
    • Groups vs Frames
  • ⚙️The generated code
    • The project structure
    • Components
    • Instances
    • Figma Tokens integration
    • Responsive code
  • ℹ️Extras
    • Changelog
      • 01/08/2022
      • 25/07/2022
      • 15/07/2022
    • Github
Powered by GitBook
On this page
  • Github integration
  • Export history and Zip folder

Was this helpful?

  1. Get started

Online code preview/editor, Github, and more

Learn how to preview or get your code from Codesandbox

PreviousGet code in 1 clickNextComponents

Last updated 2 years ago

Was this helpful?

Once the code is generated, you will see 3 options:

Live preview

Clicking on "Live preview" will open a browser tab where you will be able to see the result of your component in full width.

There, you can test the responsiveness of your element within the browser.

Edit code

Clicking on "Edit code" will open a browser tab where you will be able to see the whole code structure of your React project, including:

  • The app itself

  • The components

  • The assets

Generate more code

By clicking on this button, you will come back to the previous step (select a frame and generate code).

Github integration

You will be able to get your code in a target repo via Github in the coming weeks.

Here's a quick demo to show you the flow we are working on:

Export history and Zip folder

We will soon release a log of all the code generated with Clapy, within the plugin.

This Export History will include:

  • The time when the code was generated

  • The type of export (Codesandbox or Zip download)

  • A link to Codesandbox of the generated code, if this option was selected

Important: Clapy does not store the Zip folders generated with the plugin. They won't be available for download in the Export History.

If the design is not responsive in Figma, it will unfortunately not be responsive in the code generated by Clapy. For better result, try using Figma's on your designs.

Stay tuned on this update our Discord server:

🚀
auto-layout feature
https://discord.gg/qunGReFFqW
Live preview
Edit code
Generate more code
User flow of our Github integration (in progress)
Click to generate the code of the Hero section