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
  • What does it mean?
  • In more details
  • What else is included in the release?
  • What's next?

Was this helpful?

  1. Extras
  2. Changelog

15/07/2022

Previous25/07/2022

Last updated 2 years ago

Was this helpful?

After 2 months of hard work, we are proud to announce that Clapy now turns Figma components and instances into clean code with all overrides Figma supports!

We are the first Figma to code tool to generate components and instances with properties from arbitrary designs. It is a milestone to position Clapy as a dev tool generating production-ready code for large web apps.

What does it mean?

Previously, each time a given component was used in the selected frame (with an instance), a separate component was created for each usage. It generated duplicate code that was not ideal to maintain large project.

Now, a component is generated only once, and all usages on Figma, also called instances, will generate instances in the React code. Including all customizations applied to instances making them differ from the original component.

In more details

Figma allows 4 types of customization on instances: styles, text, swap instances and show/hide. All of them are provided to the coded instance as properties.

What else is included in the release?

  • The progress of the code generation is now displayed. It is especially useful on large pages with plenty of components, or with large assets.

  • Generating SCSS instead of CSS is now allowed as a beta feature.

  • The generated code can be downloaded as a zip file instead of sending to CodeSandbox.

What's next?

We have plenty of ideas to make development easier than ever. Among them, adding a github integration and supporting variants.

This is described in more details in our fresh documentation: .

Any feature you would love to find in Clapy? !

ℹ️
Instances
Happy to discuss it
Quick demo on a sample