Skip to main content

React

Design to code

If your application’s Figma design is ready, convert the existing structure to code by following the below steps.

Select web application

Choose the technology as React under Select web application to convert your designs and build application code in React.

Export

Choose All Frames to generate code for all the pages of your web application’s design file OR Selected Frames to generate code for only specific pages of your choice.

Storybook Setup

Choose a code format for your application to generate the code from With Storybook OR Without Storybook.

Framework Config

Choose a code framework for your application from the provided framework options, which are CRA CRACO Webpack Vite

Figma file URL

Paste the Figma file URL for which you want to generate the code and click the Generate code button.

Example banner

This will start to build your application. As the process is done, click View code to view your generated code with its relative files.

Example banner

You can further download your application. If you want to add actions to your application, go to DhiWise and select your application generated using the plugin, add changes and then build your application.

Design Assets

If your application is not yet ready, needs to be designed from scratch or wants to design using readymade screens, you can explore this option and prepare your design within a few minutes using the below assets.

Readymade Templates

Choose one from the readymade templates based on several categories, and you can build your application in a few minutes.

Inside the selected Template’s description, you can see the number of pages for the template, features or actions which will be auto setup in your application, as you create your application using the plugin, and the screens as shown below.

Example banner

Once you select the Template design of your choice, click Use Template. Within a few seconds all the Template screens will be fetched on your Figma file canvas, as shown below.

Now, you can customise the design or generate the code for it using Design to code option directly using the plugin.

Example banner

Screen Library

Ready-to-use screens to add to your existing apps based on a wide range of categories. Pick the screens you wish to add to your application and start building your screen code. Once the code is generated you can add it to your existing application, or proceed with a new application using it.

Example banner

As you select the screen it is fetched on the Figma file canvas, as shown below.

Now, you can customise the screens or generate the code for them using Design to code option directly using the plugin.

Example banner



Got a question? Ask here.