LogoLogo
Quest HomeSign Up
  • 😀Welcome to Quest
  • Getting Started
    • Quest Overview
    • Helpful Resources
    • Quick Start - Build your first component from Figma
    • Quick Start - Build your first component from a Wireframe
    • AI Prompt
  • Fundamentals
    • Customizing & Using the UI Kit
    • Designing Custom Components in Figma
    • Easily Sync Designs without Losing Work
    • Setting Up Props & Bindings
    • Exporting Code
    • Push to your Repository
    • Creating Responsive Components
    • Nesting Components
    • Workspaces & Apps
    • Code & Preview Mode
    • Prototypes/Wireframes
    • Animations - build with React Spring
    • Quest plugin for Figma Dev Mode
    • Publish on Quest to a URL
  • Features
    • Working with Variants & States
    • Naming Conventions
    • Previewing with Custom Fonts
    • Light & Dark Mode
    • Creating a custom Tooltip
    • Creating a Floating Popover
    • Creating a Dialog pop-up
    • Radio Group
    • Using the MUI Data Grid & Table
    • Data & List Bindings
    • Dynamic Bindings
    • Grid
    • File Upload
    • Design System Tab and Theme Import
    • How-to use a Theme in your Application
    • Accessibility Support
    • Design Tips and Tricks
    • Video
    • Lazy Loading
    • Sticky Position
    • Link
    • Custom Breakpoints
    • Min / Max Width
    • Supported Quest UI Kit Components & How-to Make Edits in Figma
    • Supported Chakra Components & How-to Make Edits in Figma
  • Advanced Tutorials
    • Setting up Bindings and Features on the MUI Button
    • Display Repeating Components based on a Dynamic List
    • How-to Pass Values from Parent to Nested Components
    • How-to Invoke a modal Dialog Box from a Button Click
    • How to Setup a popover
  • 🔍Help
    • Product Updates
    • FAQs
    • Plugin Warnings / Alerts
  • 💡Support
    • Why does my design look different in Quest than Figma?
    • Can I keep making changes in Figma without affecting code?
    • What are some best practices?
    • Does Quest support more than Figma and React?
    • How do I manage users?
    • What is the refund process?
    • How do I get in touch with Quest?
    • Do I have to use MUI if I'm using Quest?
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Quick Start - Build your first component from a Wireframe

Step by step instructions on building your first component in Quest coming from a sketch or prototype wireframe.

PreviousQuick Start - Build your first component from FigmaNextAI Prompt

Last updated 1 year ago

Was this helpful?

Follow these steps to get started with Quest and build your first component. In this example, we will create a component from a screenshot that started in FigJam. Once you get the hang of it, you can try your own screenshots.

Learn more in detail about Prototypes/Wireframes at this .

Some good prototyping tools that work well for this experience are , and . You can also use hand drawn sketches or try screenshots from any similar tools.

Quick Start Guide

  1. Create your Quest account from the . If you are joining a team account, please request your admin to send you an invitation to Quest.

  2. Open Quest "New Component" page. Take notice of the "Import Wireframe" area.

  3. Now let's build a React component for a simple form. We'll use this screenshot from FigJam below as the image to upload into Quest. In the "Start from Screenshot" section, click on the "Click to upload" link and once you save it locally.

  4. Processing will begin and it will take you to the Quest Editor to see how our AI models have interpreted the screenshot. The models will look at text, responsive layout, image placheholders and map any potential components to library components. With the image above, you will see something similar to screenshot here. This is a working React component automatically generated by Quest from the design.

  5. This completes the presentation part of the UI. The next steps are about setting up props & bindings so you can connect to any back-end of CMS systems. The next steps are typically done by a developer, but for this exercise they are easy enough for anyone to attempt.

  6. Now let's setup props. With "Component" selected in the left panel, add a new prop on the right panel by clicking the "+". Enter prop name as "myForm".

  7. Next, let's setup the bindings for various elements that are dynamically updated from the backend. For example, select the first text field for name called "Text Field/Outlined"on the left panel by navigating through the layer groups. Then, on the right panel, create a binding by selecting the "placeholder" item from the "+" options. Enter binding name as "props.myForm.placeholder" as shown in the screenshot below.

  8. Next, let's setup a function for the button. Select the "Button/Contained" layer on the left panel. On the right panel, add an "OnClick" binding and enter "fns.submitForm" as shown in the screenshot below. This creates a hook to add your custom function code.

  9. Now, select the "Image" element on the left panel, and add a "backgroundImage" binding of "props.myForm.image" as shown in the screenshot below.

  10. With the props & bindings setup, you can now view the code in the Code & Preview Mode or export the code components. For this example, we'll choose to export. To do that, click the download icon at the top. You will download a zip file with assets folder and two .js files - TestWireframe.js and useTestWireframe.js. TestWireframet.js is the presentation aspect of the module representing the visual design. You do not need to edit this file. If an updated design is synced, this code is update automatically. So your designer can iterate with little or no developer intervention. useTestWireframe.js is the hook. It has the stub for your custom code. You can call your backend APIs or add any business logic. After you add your custom code, you can now add the component to your react app in the appropriate location and run it. Refer to the doc for detailed instructions on how to export and run your React/NextJS app.

doc here
FigJam
Miro
Excalidraw
sign-up page
choose this image
Exporting Code