Dualite Documentation
  • Overview
  • Getting Started
    • Quickstart
  • Basics
    • Basics of Dualite Figma plugin
    • Advanced Settings
    • Tagging
  • DASHBOARD
    • Overview
  • Designer's Guide to Dualite
    • Overview
    • Native Figma Features supported by Dualite
    • Figma best practices
      • 3. Responsivity and Auto Layout
      • Additional tips
  • DEV'S GUIDE TO DUALITE
    • Overview
    • How Dualite translates Figma design settings into Code
    • Deploying on Vercel
    • In-depth guide to Component Mode
  • Popular Use-cases
  • Billing and Payment
    • Subscription Invoices
    • Cancelling your Pro plan
  • FAQs
    • What can I do with Dualite?
    • Feature Requests
    • Flex is not working
    • Errors and Bugs
    • Why my fonts aren't showing?
    • Dev Mode compatibility
    • Safari browser incompatibility
Powered by GitBook
On this page
  1. DEV'S GUIDE TO DUALITE

In-depth guide to Component Mode

PreviousDeploying on VercelNextPopular Use-cases

Last updated 8 months ago

Component mode is made with keeping a focus on developers involved in UI development. The entire intent is to modularise a design and break it down in components and use components separately as building blocks

We've designed it with foundations rooting from , and the idea of building blocks.

Example

The above example shows how the main eCommerce design (Frame 7184) can be converted into high-end frontend code by selecting(NOT removing from the design) the right frames and sections.

That is why the selection should first start with Announcement Bar section selection and conversion to code, then Nav bar, Category Filter.

One important thing to note here is that post that, we've not selected the entire grid but the individual card since the core idea is to get as many reusable code components as possible. Since the card can be reused at multiple places with just dynamic properties changing like Title, Price etc.

Next after converting just any one Card, we can reuse and build a by stacking these generated components and building layout around them

Beyond the card, since there's no reusability of Footer or Pagination Menu in this example, we've directly selected sections

Atomic Design