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
  • Important notice
  • Options

Was this helpful?

Introduction

NextInstall the plugin

Last updated 5 months ago

Was this helpful?

Important notice

Clapy has stopped operating. We are thankful for your support. After years of generating projects code from design, it's time to move forward.


Clapy is a allowing you to generate React components from your Figma designs.

Watch our demo or follow our guide to with Clapy!

Our goal is to accelerate the development of React-based web applications, especially front-end integrations.

We created Clapy because, as developers, we know how time consuming pixel-perfecting a UI is, while there is so much more to code in a web app. What's worse than slowly translating a Figma file to code with 3 screens? Figma for reference, the IDE to code and the browser to preview? 🙄

With its developer-centric features, Clapy can be used for following use cases:

  1. Kickstart a web app from Figma

  2. Automate the integration of your wireframe and updates

  3. Automate your Design System management

Options

Before generating the code, you have a couple of options.

Full width/height

If enabled, the selected element will be stretched to use all width and height available, even if "Fill container" is not configured. Useful for top-level frames. If generating a page, this is likely the expected behavior.

Download as zip

If enabled, the code is downloaded as zip file instead of being sent to CodeSandbox for preview.

The project uses ViteJS for crazy fast development builds.

SCSS instead of CSS (beta)

If enabled, styles will be written in .scss files instead of .css.

Indent classes with BEM convention

If enabled, the generated SCSS is a tree of classes following the BEM convention instead of top-level classes only. For now, only components can follow this convention. Instance overrides are still at the root.

CSS modules make most of BEM obsolete, but it is useful for legacy projects.

Figma plugin
Get started
Quick demo of Clapy, the Figma-to-code generator